/* Fourth approved revision. Earlier desktop photo geometry and editorial breaks are preserved. */
#contact .footer-line dt a{display:inline-flex;align-items:center;min-height:36px;color:inherit;text-decoration:none}
#contact .footer-line dt a:hover{text-decoration:underline;text-underline-offset:4px}
#contact .footer-line .footer-icon{color:#06c755}
#contact .line-add-friend{display:inline-flex;align-items:center;min-height:44px;padding-block:4px;vertical-align:top}
#contact .line-add-friend img{display:block;width:116px;height:36px;max-width:100%;object-fit:contain}
#contact .footer-line a:focus-visible{outline:2px solid #27333b;outline-offset:4px;border-radius:2px}
@media screen and (min-width:901px){
 #contact .contact-list{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"phone line" "fax hours" "email ." "address .";gap:24px 30px;align-items:start}
 #contact .contact-list>div:nth-child(n){order:0;grid-column:auto}
 #contact .contact-list>div.footer-phone{grid-area:phone}
 #contact .contact-list>div.footer-fax{grid-area:fax}
 #contact .contact-list>div.footer-email{grid-area:email}
 #contact .contact-list>div.footer-hours{grid-area:hours}
 #contact .contact-list>div.footer-line{grid-area:line}
 #contact .contact-list>div.footer-address{grid-area:address}
}
@media screen and (max-width:900px){
 /* The mobile reading order remains phone, fax, email, hours, LINE, address. */
 #contact .contact-list{grid-template-columns:minmax(0,1fr);grid-template-areas:none}
 #contact .contact-list>div:nth-child(n){order:0;grid-area:auto;grid-column:auto}
}
body[data-page="careers"]{--career-heading-size:clamp(1.25rem,2.2vw,2rem)}
body[data-page="careers"] .career-brandline>h2,
body[data-page="careers"] .career-invitation-title>h2{font-family:var(--serif);font-size:var(--career-heading-size);font-weight:600;line-height:1.7;letter-spacing:.025em}
@media screen and (max-width:700px), screen and (max-width:1100px) and (hover:none) and (pointer:coarse){
 body[data-page="careers"]{--career-heading-size:clamp(1.25rem,5.6vw,1.75rem)}
 body[data-page="careers"] .career-invitation{grid-template-columns:minmax(0,1fr);gap:24px}
 /* Content photographs use their natural ratios, with no cover crop. */
 #featured article.department{display:grid;grid-template-columns:minmax(0,1fr);gap:0;align-items:start}
 #featured .department-photo,#featured .property-photo,#about .about-photo{display:block;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:auto;overflow:visible}
 #featured .department-photo img.source-photo,#featured .property-photo img.source-photo,#about .about-photo img.source-photo{display:block;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center;transform:none}
 #featured article.department .department-copy{border-top:0;padding-block:22px 24px}
 #featured .department:hover img,#featured .property:hover img{transform:none}
 main .story-photo,main .offering-photo,main .english-photo,
 main img.listing-photo,main .related-card>img,main .carousel-slide img{display:block;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center}
 #listing-grid .listing-details,.related-grid .related-card>div{margin-top:0}
 /* Full banner photographs above their existing titles and copy on small screens. */
 main .hero{display:block;min-height:0;background:var(--navy-deep)}
 main .hero>.hero-image,main .about-banner>.banner-background{position:static;inset:auto;z-index:auto;display:block;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center}
 main .hero .hero-shade{display:none}
 main .hero .hero-inner{min-height:0;height:auto;padding-block:32px 38px}
 main .about-banner{display:block;min-height:0;max-height:none;background:var(--navy-deep)}
 main .about-banner::after{display:none}
 main .about-banner .banner-content{padding-block:28px 32px}
}
#property-filters{scroll-margin-top:140px}
#property-filters:focus{outline:none}
.listing-top{position:fixed;right:max(22px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));z-index:80;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:56px;min-height:62px;border:1px solid var(--approved-orange);border-radius:6px;background:var(--approved-button);color:#25303b;box-shadow:0 4px 16px #25303b26;text-decoration:none;font:600 12px/1.2 var(--sans);letter-spacing:.06em;cursor:pointer}
.listing-top svg{width:22px;height:22px;flex:none}
.listing-top:hover{background:#ffab4b;color:#25303b}
.listing-top:focus-visible{outline:3px solid #25303b;outline-offset:4px}
.listing-top[hidden]{display:none!important}
@media(max-width:700px){.listing-top{right:max(16px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));width:52px;min-height:58px}}
@media print{.listing-top{display:none!important}}
