/* Match the catalogue's service identity without changing homepage layout. */
.much-homepage .home-service-card h3{display:flex;align-items:flex-start;gap:10px}
.much-homepage .home-service-card h3 a{min-width:0}
.much-homepage .home-service-card,.much-homepage .home-service-card:hover{background:#fff;border-color:#e8e4dc}
.much-homepage .home-service-actions .home-service-button.secondary{background:#007fc4;color:#fff;border-color:#007fc4}
.much-homepage .home-service-actions .home-service-button.secondary:hover{background:#006ba6;color:#fff;border-color:#006ba6}
.much-homepage .home-service-actions .home-service-button:not(.secondary){background:var(--accent-soft);color:#145c91;border-color:#dce7ef}
.much-homepage .home-service-actions .home-service-button:not(.secondary):is(:hover,:focus-visible){background:var(--accent-hover);color:#124f81;border-color:#c8d7e3;box-shadow:0 4px 12px #007fc418}
.much-homepage .home-service-actions .home-service-button:not(.secondary):active{background:var(--accent-pressed);border-color:#bccedb;box-shadow:inset 0 2px 4px #145c9118}
.much-homepage .home-service-button{transition:background-color .18s,border-color .18s,box-shadow .18s,transform .18s}
.much-homepage .home-service-button:focus-visible{outline:3px solid #00679f;outline-offset:3px}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.much-homepage .home-service-button:hover{transform:translateY(-1px)}}
@media(prefers-reduced-motion:no-preference){.much-homepage .home-service-button:active{transform:scale(.98)}}
@media(max-width:760px){.much-homepage .service-accent-icon{width:20px;height:20px;margin-top:2px}}
@media(prefers-reduced-motion:reduce){.much-homepage .home-service-button{transition:none;transform:none}}

.much-homepage .homepage-residence{max-width:1260px;padding:24px 48px 32px}
.much-homepage .homepage-residence .senior-setting-card{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:stretch;gap:0;padding:0;overflow:hidden;border:1px solid #e8e4dc;border-radius:22px;background:#fff;box-shadow:0 5px 18px #23448008}
.much-homepage .senior-setting-card>.residence-room-photo{height:320px;min-height:0;max-height:none;border-radius:0;object-position:center 63%}
.much-homepage .senior-setting-card>div{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:28px}
.much-homepage #residence-overview-title{display:flex;align-items:center;gap:12px;margin:10px 0 14px;font-size:clamp(1.6rem,2.5vw,2rem);line-height:1.2;color:#2b4c9a}
.much-homepage #residence-overview-title .service-accent-icon{width:28px;height:28px;margin:0}
.much-homepage .senior-setting-card p:not(.section-label){margin:0 0 18px;font-size:.95rem;line-height:1.65}
.much-homepage .residence-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0;margin:0}
.much-homepage .residence-actions .home-service-button{min-height:48px;padding:11px 14px;border-radius:12px;font-size:.84rem}
.much-homepage .residence-actions .home-service-button.secondary{order:0}
.much-homepage .residence-actions .home-service-button:not(.secondary){order:1}
@media(max-width:760px){
  .much-homepage .homepage-residence{padding:12px 18px 24px}
  .much-homepage .homepage-residence .senior-setting-card{grid-template-columns:1fr;border-radius:18px}
  .much-homepage .senior-setting-card>.residence-room-photo{height:185px;min-height:0;object-position:center 62%}
  .much-homepage .senior-setting-card>div{padding:20px}
  .much-homepage #residence-overview-title{font-size:1.55rem;gap:9px;margin:8px 0 12px}
  .much-homepage #residence-overview-title .service-accent-icon{width:23px;height:23px}
  .much-homepage .senior-setting-card p:not(.section-label){font-size:.9rem;line-height:1.55;margin-bottom:16px}
  .much-homepage .residence-actions{grid-template-columns:1fr 1fr!important}
  .much-homepage .residence-actions .home-service-button{min-height:48px;font-size:.79rem;padding:10px}
}
@media(max-width:360px){.much-homepage .senior-setting-card>div{padding:16px}.much-homepage .residence-actions{gap:8px}.much-homepage .residence-actions .home-service-button{font-size:.74rem;padding:9px 7px}}
