.legacy-home, .legacy-footer { width: min(calc(100% - 30px), 1140px); margin-inline: auto; color: #333; font-size: 14px; }
.legacy-pma { display: block; margin-block: 8px 6px; }
.legacy-pma-wide { display: block; width: 100%; height: auto; }
.legacy-pma-compact { display: none; }
@media (max-width: 35rem) {
    .legacy-pma { margin-block: 4px; }
    .legacy-pma-wide { display: none; }
    .legacy-pma-compact { display: block; width: 100%; height: auto; }
}
.legacy-news { container-type: inline-size; direction: ltr; overflow: hidden; padding: .42rem .75rem; background: #61b4cf; color: #102d3d; text-align: center; }
.legacy-news-track { width: max-content; direction: rtl; white-space: nowrap; animation: legacy-ticker 33s linear infinite; }
.legacy-news:hover .legacy-news-track, .legacy-news:focus-within .legacy-news-track { width: auto; white-space: normal; animation: none; }
.legacy-news-track span { margin-inline: .6rem; }
@keyframes legacy-ticker {
    from { transform: translateX(calc(-100% - .75rem - 1px)); }
    to { transform: translateX(calc(100cqw + .75rem + 1px)); }
}
@media (prefers-reduced-motion: reduce) {
    .legacy-news-track { width: auto; white-space: normal; animation: none; }
}
.legacy-smart-search form { display: grid; gap: .5rem; padding: .75rem; margin-top: .65rem; background: #fff; border: 1px solid var(--line); border-radius: .8rem; }
.legacy-smart-search form p { margin: 0; }
.legacy-smart-search form input, .legacy-smart-search form button { min-width: 0; min-height: 2.75rem; font: inherit; border: 1px solid var(--line); border-radius: .45rem; }
.legacy-smart-search form input { padding: .4rem .65rem; }
.legacy-smart-search form button { cursor: pointer; color: #fff; background: var(--navy); }
.legacy-news a { text-decoration: none; }
.legacy-news a:hover { text-decoration: underline; }
.legacy-slider { position: relative; margin-top: 10px; }
.legacy-slides { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; margin: 0; padding: 0; list-style: none; scroll-snap-type: x mandatory; scrollbar-width: none; }
.legacy-slides li { min-width: 0; scroll-snap-align: start; }
.legacy-slides a { position: relative; display: block; min-height: 12rem; color: #000; text-decoration: none; }
.legacy-slides img { display: block; width: 100%; height: auto; aspect-ratio: 1140 / 550; min-height: 12rem; object-fit: cover; }
.legacy-slides span { position: absolute; inset-inline: 0; inset-block-end: 2rem; padding: .45rem 8%; background: #fff9; color: #000; text-align: center; font-size: clamp(1rem, 3.3vw, 2.35rem); font-weight: bold; line-height: 1.25; }
.legacy-slide-controls[hidden] { display: none; }
.legacy-slide-prev, .legacy-slide-next, .legacy-slide-pause { position: absolute; border: 0; cursor: pointer; background: #132c3a72; color: #fff; font: inherit; }
.legacy-slide-prev, .legacy-slide-next { inset-block-start: 46%; width: 2rem; height: 3rem; padding: 0; font-size: 1.8rem; }
.legacy-slide-prev { inset-inline-start: .6rem; }
.legacy-slide-next { inset-inline-end: .6rem; }
.legacy-slide-pause { inset-inline-end: .55rem; inset-block-end: .38rem; padding: .18rem .55rem; border-radius: .2rem; }
.legacy-pager { position: absolute; inset-inline: 3rem; inset-block-end: .5rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .2rem; }
.legacy-pager button { width: clamp(.7rem, 2.2vw, 1.28rem); height: 1.25rem; border: 0; padding: 0; background: transparent; cursor: pointer; }
.legacy-pager button::before { content: ""; display: block; width: .58rem; height: .58rem; margin: auto; border-radius: 50%; background: #222a; box-shadow: 0 0 0 1px #fff5; }
.legacy-pager button[aria-current]::before { background: #fff; }
.legacy-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin: 10px 18px 19px; }
.legacy-actions a { position: relative; display: grid; place-items: center; min-height: 93px; padding: .55rem 1.2rem; color: #fff; text-decoration: none; text-align: center; font-weight: bold; }
.legacy-actions a:nth-child(1) { background: #3aaacf; }
.legacy-actions a:nth-child(2) { background: #ffb400; }
.legacy-actions a:nth-child(3) { background: #ff8300; }
.legacy-actions img { position: absolute; top: 50%; left: .55rem; transform: translateY(-50%); }
.legacy-actions a:hover { text-decoration: underline; }
.legacy-notice { margin: 0 0 .4rem; font-size: .85rem; color: #425d70; }
.legacy-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 2.55%; }
.legacy-section-title { margin: 0 0 .7rem; padding: 5px 10px; background: #e2e2e2; color: #333; font-size: 14px; font-weight: normal; }
.legacy-filter { display: grid; grid-template-columns: minmax(4rem, auto) minmax(0, 1fr); gap: .55rem .65rem; align-items: center; min-height: 120px; margin-bottom: .75rem; padding: 0 7px 4px; }
.legacy-filter label { font-weight: bold; }
.legacy-filter select, .legacy-filter input, .legacy-filter button { min-width: 0; padding: .3rem .55rem; color: #333; background: #fff; border: 1px solid #ccc; border-radius: 4px; font: inherit; min-height: 34px; }
.legacy-filter button { grid-column: 2; justify-self: start; cursor: pointer; }
.legacy-property-filter { grid-template-columns: auto minmax(0,1fr) auto minmax(0,1fr); }
.legacy-property-filter button { grid-column: 4; }
.legacy-cards { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.legacy-cards a { position: relative; display: block; overflow: hidden; background: #1a737f; color: #fff; text-decoration: none; }
.legacy-cards img { display: block; width: 100%; height: auto; aspect-ratio: 350 / 180; object-fit: cover; }
.legacy-offer { position: absolute; z-index: 1; inset: 0 .2rem auto auto; padding: 0 .25rem; background: #00aeff; color: #000; font-size: .82rem; }
.legacy-card-title { position: relative; display: block; min-height: 45px; padding: .35rem .55rem; text-align: center; font-weight: bold; }
.legacy-cards img + .legacy-card-title { margin-top: -2.3rem; padding-bottom: 2.1rem; background: #006678e6; min-height: 4.25rem; }
.legacy-cards a:hover .legacy-card-title { text-decoration: underline; }
.legacy-cards a:not(:has(img)) .legacy-card-title { padding-top: 1.5rem; }
.legacy-side { display: grid; align-content: start; gap: .75rem; }
.legacy-side a { text-decoration: none; }
.legacy-side a:hover strong, .legacy-side .resource-banner:hover > span { text-decoration: underline; }
.resource-banner { display: block; overflow: hidden; border: 1px solid #b5d6e3; border-radius: .65rem; background: #f7fbfd; }
.resource-banner > img { display: block; width: 100%; height: auto; }
.resource-banner > span { display: flex; justify-content: space-between; align-items: center; gap: .45rem; min-height: 44px; padding: .45rem .65rem; font-weight: bold; }
.resource-map > span { background: #e1f0f5; color: #113d56; }
.resource-group > span { background: #36548b; color: #fff; }
.resource-page { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .65rem; padding: .7rem; background: #fff; color: #173b58; border: 1px solid #b5d6e3; border-radius: .65rem; }
.resource-page img { width: 48px; height: auto; }
.resource-page strong, .resource-page span span { display: block; }
.resource-page span span { color: #405b71; font-size: .8rem; }
.legacy-more { display: inline-block; margin-top: .65rem; }
.legacy-share { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin-block: 1rem; }
.legacy-social { position: fixed; z-index: 2; bottom: max(.6rem, env(safe-area-inset-bottom)); left: .7rem; display: flex; direction: ltr; gap: .55rem; }
.legacy-social img { display: block; width: auto; height: clamp(2rem, 4.8vw, 4.15rem); object-fit: contain; }
.legacy-footer { display: flex; align-items: center; gap: 1.2rem; margin-top: 1rem; padding: 1rem 1rem 3.3rem; background: linear-gradient(#fff,#a4d2e9); color: #434343; }
.legacy-footer img { width: min(26%, 170px); height: auto; }
.legacy-footer address { font-style: normal; }
@media (max-width: 57rem) {
    .legacy-columns { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
    .legacy-side { grid-column: 1 / -1; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; }
    .legacy-side .resource-page { grid-column: 1 / -1; }
    .legacy-property-filter { grid-template-columns: auto minmax(0,1fr); }
    .legacy-property-filter button { grid-column: 2; }
}
@media (max-width: 35rem) {
    .legacy-actions { margin-inline: 0; }
    .legacy-actions a { min-height: 68px; font-size: .8rem; padding-inline: .35rem; }
    .legacy-actions img { display: none; }
    .legacy-columns, .legacy-side { grid-template-columns: minmax(0,1fr); }
    .legacy-filter { min-height: auto; }
    .legacy-footer { align-items: flex-start; }
}

.legacy-gallery-source { margin: 0 0 .3rem; color: #425d70; font-size: .82rem; }
.legacy-slides a:has(img[hidden]) { aspect-ratio: 1140 / 550; background: #e4f2f9; }
.legacy-slides img[hidden] { display: none; }
