.apartments-page { --body-text-size: 15px; --body-text-leading: 23px; }
.apartments-page .header { position: sticky; height: 88px; background: #fff; color: var(--ink); box-shadow: none; border-bottom: 1px solid var(--line); }
.apartments-page .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.apartments-page-intro { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 64px; padding-block: 68px 64px; }
.apartments-page-intro .eyebrow { margin-bottom: 20px; }
.apartments-page-intro h1 { font-size: clamp(48px, 5vw, 72px); font-weight: 500; line-height: 1.04; letter-spacing: -.025em; }
.apartments-page-intro h1 em { color: var(--gold); }
.apartments-page-intro > p { max-width: 360px; justify-self: end; padding-bottom: 6px; font-size: 15px; line-height: 23px; }
.apartment-listing { padding-bottom: 88px; }
.listing-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-bottom: 28px; }
.listing-filters { display: flex; gap: 0; padding: 0; border: 1px solid #deded8; border-radius: 5px; background: #fff; box-shadow: 0 3px 12px #20211f06; }
.listing-filters[hidden], .listing-row[hidden] { display: none; }
.listing-filters button { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px; border: 0; border-radius: 0; background: transparent; color: var(--small-text); font-family: var(--sans); font-size: 14px; font-weight: 400; line-height: 23px; white-space: nowrap; transition: color .25s ease, background .25s ease; }
.listing-filters button + button { border-left: 1px solid #deded8; }
.listing-filters button:first-child { border-radius: 4px 0 0 4px; }
.listing-filters button:last-child { border-radius: 0 4px 4px 0; }
.listing-filters button[aria-pressed="true"], .listing-filters button:hover { color: var(--gold-dark); background: #f6f4ef; }
.listing-filters button:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; }
.listing-count { flex-shrink: 0; font-size: 13px; color: var(--small-text); font-variant-numeric: tabular-nums; }
.listing-columns, .listing-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 86px 164px; column-gap: 28px; }
.listing-columns { background: #f7f6f2; padding: 17px 24px; font-family: var(--sans); color: var(--gold); font-size: 11px; font-weight: 400; line-height: 20px; letter-spacing: .11em; text-transform: uppercase; }
.listing-columns > :nth-child(3) { text-align: center; white-space: nowrap; }
.listing-columns > :last-child { text-align: right; white-space: nowrap; }
.listing-row { align-items: center; min-height: 145px; padding: 28px 24px; border-bottom: 1px solid var(--line); transition: background .22s ease, box-shadow .22s ease; }
.listing-room { display: flex; align-items: baseline; gap: 24px; min-width: 0; }
.listing-number { flex: 0 0 26px; color: var(--gold); font-family: var(--serif); font-size: 23px; font-weight: 400; font-variant-numeric: lining-nums tabular-nums; }
.listing-room > div { min-width: 0; }
.listing-room h2 { font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.15; letter-spacing: normal; transition: color .22s ease; }
.listing-room h2 a { display: inline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.listing-room h2 a:hover, .listing-room h2 a:focus-visible { color: var(--gold); text-decoration-line: underline; }
.listing-action { justify-self: end; }
.listing-details { display: inline-flex; align-items: center; gap: 15px; min-height: 44px; color: var(--gold); font-family: var(--sans); font-size: 13px; font-weight: 400; line-height: 22px; white-space: nowrap; }
.listing-detail-arrow { display: inline-block; color: inherit; font-family: var(--sans); font-size: 21px; font-weight: 300; transition: transform .22s ease; }
.listing-details:hover .listing-details-label, .listing-details:focus-visible .listing-details-label { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.listing-details:hover .listing-detail-arrow { transform: translate(2px, -2px); }
.listing-details.is-unavailable { color: #aaa69d; font-weight: 300; }
.listing-details.is-unavailable:hover .listing-details-label { text-decoration: none; }
.listing-details.is-unavailable:hover .listing-detail-arrow { transform: none; }
.listing-row:focus-within { background: #faf8f3; box-shadow: inset 2px 0 #cbb88f; }
.listing-row:focus-within h2 { color: var(--gold); }
@media (hover: hover) and (pointer: fine) {
  .listing-row:hover { background: #faf8f3; box-shadow: inset 2px 0 #cbb88f; }
  .listing-row:hover h2 { color: var(--gold); }
}
.listing-specs { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 12px; margin-top: 12px; font-size: 13px; font-weight: 300; line-height: 20px; color: var(--small-text); }
.listing-specs > span { white-space: nowrap; }
.listing-specs span + span::before { content: '·'; margin-right: 12px; color: var(--gold); }
.listing-beds { display: grid; gap: 9px; list-style: none; padding: 0; margin: 0; font-family: var(--sans); font-size: 15px; font-weight: 300; line-height: 23px; }
.listing-beds li { display: flex; gap: 12px; align-items: center; }
.listing-beds svg, .listing-guests svg { flex: 0 0 21px; width: 21px; height: 21px; fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.listing-guests { justify-self: center; }
.listing-guests > div { display: flex; align-items: center; gap: 12px; justify-content: center; min-width: 67px; padding: 4px 0; font-family: var(--sans); font-size: 16px; font-weight: 400; line-height: 24px; font-variant-numeric: lining-nums tabular-nums; }
.listing-mobile-label { display: none; }
.apartments-help { background: #f7f7f4; padding-block: 52px; }
.apartments-help-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.apartments-help .eyebrow { margin-bottom: 14px; }
.apartments-help h2 { font-size: 38px; font-weight: 500; line-height: 1.12; letter-spacing: -.02em; }
.apartments-help h2 + p { margin-top: 16px; font-size: 15px; line-height: 23px; }
.apartments-help-links { display: grid; gap: 16px; justify-items: start; flex-shrink: 0; }
.apartments-help .text-link { min-height: 44px; gap: 40px; font-size: 15px; }
.help-phone { font-size: 15px; min-height: 32px; }
.help-phone:hover, .help-phone:focus-visible { color: var(--gold); }
@media (max-width: 980px) {
  .apartments-page-intro { gap: 40px; }
  .listing-columns, .listing-row { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 74px 146px; column-gap: 20px; padding-inline: 18px; }
  .listing-room { gap: 14px; }
  .listing-room h2 { font-size: 27px; }
  .listing-beds { font-size: 14px; }
  .listing-details { gap: 10px; font-size: 12px; }
  .listing-filters button { padding-inline: 12px; }
}
@media (max-width: 800px) {
  .apartments-page-intro { grid-template-columns: 1fr; gap: 24px; padding-block: 48px; }
  .apartments-page-intro > p { justify-self: start; max-width: 440px; padding: 0; }
  .listing-columns { display: none; }
  #apartment-list { border-top: 1px solid var(--line); }
  .listing-row { grid-template-columns: minmax(0, 1fr) 84px; align-items: end; gap: 24px; padding-block: 28px; }
  .listing-room { grid-column: 1 / -1; gap: 20px; }
  .listing-room h2 { font-size: 28px; }
  .listing-beds { padding-left: 46px; font-size: 15px; }
  .listing-guests { align-self: center; justify-self: end; border-left: 1px solid var(--line); padding-left: 16px; }
  .listing-guests > div { padding-top: 7px; }
  .listing-mobile-label { display: block; font-size: 12px; line-height: 20px; color: var(--small-text); text-align: center; white-space: nowrap; }
  .listing-action { grid-column: 1 / -1; margin-top: -6px; }
  .listing-details { font-size: 13px; gap: 16px; }
  .listing-toolbar { flex-wrap: wrap; gap: 18px; }
  .apartments-help-inner { align-items: start; }
  .apartments-help h2 { font-size: 34px; }
}
@media (max-width: 600px) {
  .apartments-page .header { height: 76px; }
  .apartments-page-intro { padding-block: 36px 38px; gap: 22px; }
  .apartments-page-intro .eyebrow { margin-bottom: 18px; font-size: 11px; }
  .apartments-page-intro h1 { font-size: clamp(40px, 11vw, 48px); }
  .apartment-listing { padding-bottom: 56px; }
  .listing-toolbar { flex-direction: column; align-items: stretch; gap: 20px; padding-bottom: 20px; }
  .listing-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .listing-filters button { padding: 10px 14px; font-size: 13px; }
  .listing-filters button:first-child { border-radius: 4px 0 0 0; }
  .listing-filters button:nth-child(2) { border-radius: 0 4px 0 0; }
  .listing-filters button:nth-child(3) { border-left: 0; border-radius: 0 0 0 4px; }
  .listing-filters button:nth-child(n+3) { border-top: 1px solid #deded8; }
  .listing-filters button:last-child { border-radius: 0 0 4px 0; }
  .listing-count { font-size: 12px; }
  .listing-row { margin-inline: -20px; padding: 30px 20px; gap: 24px 20px; grid-template-columns: minmax(0, max-content) 77px; justify-content: center; }
  #apartment-list { border-top: 0; }
  .listing-row:first-child, .listing-row.is-first-visible { border-top: 1px solid var(--line); }
  .listing-room { flex-direction: column; align-items: center; gap: 10px; text-align: center; }
  .listing-room > div { width: 100%; }
  .listing-number { display: flex; align-items: center; gap: 10px; flex: none; font-size: 18px; line-height: 22px; }
  .listing-number::before, .listing-number::after { content: ''; width: 18px; height: 1px; background: #d8c6a4; }
  .listing-room h2 { font-size: 28px; }
  .listing-detail-arrow { font-size: 19px; }
  .listing-specs { justify-content: center; margin-top: 12px; }
  .listing-beds { padding-left: 0; font-size: 13px; line-height: 21px; gap: 8px; }
  .listing-beds li { gap: 9px; }
  .listing-beds svg { flex-basis: 18px; width: 18px; height: 18px; }
  .listing-guests { padding-left: 12px; }
  .listing-guests > div { min-width: 61px; gap: 10px; }
  .listing-action { justify-self: center; margin-top: 0; }
  .apartments-help { padding-block: 36px; }
  .apartments-help-inner { flex-direction: column; gap: 24px; }
  .apartments-help .eyebrow { font-size: 11px; }
  .apartments-help h2 { font-size: 32px; }
  .apartments-help-links { gap: 12px; }
}
@media (max-width: 360px) {
  .listing-filters button { padding-inline: 10px; }
  .listing-row { column-gap: 12px; }
  .listing-room h2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .listing-row, .listing-room h2, .listing-filters button, .listing-detail-arrow { transition: none; }
  .listing-details:hover .listing-detail-arrow { transform: none; }
}
