/* A city guide with a clear starting point. Keep the established midnight palette. */
.trip-home24 { --trip-gold: #efd6a1; --trip-sky: #a7dcef; }
.trip-home24 .home-opening23 { margin-bottom: 18px; }
.trip-home24 .nyc-home-hero { min-height: 440px; display: flex; align-items: center; }
.trip-home24 .nyc-home-copy { width: min(850px, 100%); padding: 44px 48px; }
.trip-home24 .nyc-home-copy h1 { max-width: 12ch; font-size: clamp(2.9rem, 5.6vw, 4.75rem); line-height: 1.035; letter-spacing: -.065em; text-wrap: balance; }
.trip-home24 .nyc-home-copy > p:not(.eyebrow) { font-size: 1.06rem; max-width: 43ch; line-height: 1.65; margin-top: 20px; }
.trip-home24 .nyc-home-shade { background: linear-gradient(90deg, #05101ff5 0%, #071626ae 47%, #09182210 100%), linear-gradient(0deg, #091426c4, transparent 60%); }
.trip-home24 .home-orient21 { margin-top: 25px; max-width: 570px; }
.trip-home24 .home-orient21 > .btn { min-height: 51px; font-size: .94rem; gap: 10px; }
.trip-proof24 { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 18px; margin-top: 24px; color: #d3dfed; font-size: .75rem; }
.trip-proof24 > span + span { border-left: 1px solid #ffffff38; padding-left: 18px; }
.trip-proof24 button { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 5px 0; color: #e9d5aa; font-size: .75rem; background: none; }
.trip-proof24 .ui-icon { width: 16px; height: 16px; }
.trip-finder24 { position: relative; z-index: 4; margin-bottom: 38px; }
.trip-searchbox24 { display: flex; align-items: center; gap: 15px; min-height: 66px; border: 1px solid var(--line); border-radius: 20px; background: var(--glass); padding: 8px 12px 8px 22px; box-shadow: inset 0 1px 0 var(--shine); }
.trip-searchbox24 > .ui-icon { width: 23px; color: var(--accent); flex: none; }
.trip-searchbox24 input { flex: 1; min-width: 0; border: 0; outline-offset: 5px; background: transparent; font-size: 1rem; color: var(--ink); padding: 12px 0; }
.trip-searchbox24 input::placeholder { color: var(--muted); opacity: 1; }
.trip-searchbox24 .btn { border-left: 1px solid var(--line); border-radius: 0; padding-inline: 18px 10px; font-size: .875rem; color: var(--accent); white-space: nowrap; }
.trip-sr-only24 { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.trip-search-results24 { position: absolute; inset: calc(100% + 8px) 0 auto; background: var(--glass-strong); backdrop-filter: blur(24px); border: 1px solid var(--line); border-radius: 20px; padding: 10px; box-shadow: 0 25px 60px #0006; max-height: 390px; overflow-y: auto; }
.trip-search-results24 ul { list-style: none; margin: 0; padding: 0; }
.trip-search-item24 { display: flex; align-items: center; gap: 14px; padding: 14px 12px; width: 100%; min-height: 68px; text-align: left; border-radius: 12px; background: none; color: var(--ink); }
.trip-search-item24:hover, .trip-search-item24:focus-visible { background: var(--surface); }
.trip-search-item24 > span { display: grid; flex: 1; gap: 3px; }
.trip-search-item24 strong { font-size: .95rem; font-weight: 600; }
.trip-search-item24 small { color: var(--muted); font-size: .78rem; }
.trip-search-item24 > .ui-icon { width: 19px; flex: none; color: var(--accent); }
.trip-no-results24 { padding: 20px; color: var(--muted); }
.trip-home24 .journey-picker { margin-top: 0; }
.trip-home24 .journey-preview { box-shadow: none; min-height: 420px; }
.trip-home24 .journey-image { min-height: 370px; }
.trip-home24 .journey-plan { padding: 28px 30px; }
.trip-home24 .journey-image-title h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.14; }
.trip-editorial24 { margin-top: 55px; scroll-margin-top: 165px; }
.trip-section-heading24 { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 24px; }
.trip-section-heading24 h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); max-width: 22ch; line-height: 1.18; letter-spacing: -.045em; text-wrap: balance; }
.trip-section-heading24 > p { flex: 0 1 350px; font-size: .9rem; line-height: 1.7; color: var(--muted); }
.trip-cards24 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.trip-card24 { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 23px; background: var(--glass); min-width: 0; transition: border-color .2s; }
.trip-card24:hover { border-color: var(--trip-color); }
.trip-card-photo24 { position: relative; height: 195px; padding: 0; background: var(--surface); overflow: hidden; width: 100%; }
.trip-card-photo24 > img { height: 100%; object-fit: cover; transition: transform .4s ease; }
.trip-card-photo24:hover > img { transform: scale(1.045); }
.trip-card-photo24:after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, #08142022 60%, #081420b3); }
.trip-card-number24 { position: absolute; z-index: 1; left: 15px; top: 15px; display: grid; place-items: center; border: 1px solid #ffffff55; border-radius: 50%; width: 31px; height: 31px; color: #fff; background: #0715257d; backdrop-filter: blur(15px); font-size: .73rem; }
.trip-card-arrow24 { position: absolute; z-index: 1; right: 14px; bottom: 14px; display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; color: #101c2b; background: var(--trip-color); }
.trip-card-arrow24 .ui-icon { width: 17px; }
.trip-card-body24 { padding: 20px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.trip-card-meta24 { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: .7rem; }
.trip-card-meta24 > span { display: inline-flex; align-items: center; gap: 5px; }
.trip-card-meta24 .ui-icon { width: 14px; height: 14px; }
.trip-card-body24 h3 { line-height: 1.25; font-size: 1.2rem; letter-spacing: -.03em; }
.trip-card-body24 h3 button { padding: 0; color: var(--ink); text-align: left; font: inherit; background: none; }
.trip-card-body24 > p { color: var(--muted); font-size: .85rem; line-height: 1.65; }
.trip-card-link24 { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding: 12px 0 0; min-height: 44px; border-top: 1px solid var(--line); color: var(--trip-color); background: none; font-size: .86rem; font-weight: 600; gap: 12px; }
.trip-card-link24 .ui-icon { width: 17px; }
.trip-estimate-note24 { margin-top: 14px; font-size: .75rem; color: var(--muted); max-width: 85ch; }
.trip-home24 .borough-rail-section23 { margin-top: 50px; }
.trip-home24 .borough-tile23 { min-height: 225px; }
.trip-faq24 { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; padding: 36px 0 14px; border-top: 1px solid var(--line); margin-top: 35px; }
.trip-faq-heading24 > .ui-icon { width: 32px; height: 32px; margin-bottom: 16px; color: var(--accent); }
.trip-faq24 h2 { font-size: 1.8rem; max-width: 16ch; line-height: 1.2; }
.trip-faq-items24 details { border-bottom: 1px solid var(--line); padding: 0; }
.trip-faq-items24 summary { display: flex; align-items: center; justify-content: space-between; padding: 17px 0; min-height: 55px; gap: 18px; font-size: .94rem; cursor: pointer; list-style: none; font-weight: 500; }
.trip-faq-items24 summary::-webkit-details-marker { display: none; }
.trip-faq-items24 summary > .ui-icon { width: 17px; height: 17px; color: var(--accent); flex: none; transition: transform .18s; }
.trip-faq-items24 details[open] summary > .ui-icon { transform: rotate(180deg); }
.trip-faq-items24 details > p { font-size: .9rem; line-height: 1.75; color: var(--muted); padding-bottom: 18px; }
.trip-faq-items24 .btn { margin-bottom: 12px; font-size: .875rem; color: var(--accent); }
.trip-walk-actions24 { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.trip-walk-actions24 .btn { flex: 1; font-size: .85rem; gap: 8px; }
.trip-walk-actions24 .ui-icon { width: 18px; }
.trip-open24 { overflow: hidden; }
.trip-dialog24 { width: min(1010px, calc(100vw - 32px)); max-height: calc(100dvh - 36px); margin: auto; padding: 0; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 40px 120px #000a; overscroll-behavior: contain; }
.trip-dialog24::backdrop { background: #020915c9; backdrop-filter: blur(13px); }
.trip-dialog-top24 { display: flex; align-items: center; justify-content: space-between; gap: 20px; position: sticky; top: 0; z-index: 5; padding: 12px 22px; min-height: 66px; background: var(--glass-strong); border-bottom: 1px solid var(--line); backdrop-filter: blur(25px); }
.trip-dialog-top24 > span { color: var(--muted); font-size: .65rem; font-weight: 600; letter-spacing: .1em; }
.trip-dialog-top24 button { display: grid; place-items: center; width: 42px; height: 42px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; flex: none; }
.trip-dialog-top24 .ui-icon { width: 20px; }
.trip-dialog-grid24 { display: grid; grid-template-columns: .95fr 1.3fr; align-items: start; }
.trip-dialog-visual24 { padding: 24px 0 24px 24px; position: sticky; top: 67px; }
.trip-dialog-image24 { position: relative; overflow: hidden; border-radius: 19px; height: 420px; background: var(--surface); }
.trip-dialog-image24 > img { height: 100%; object-fit: cover; }
.trip-dialog-image24 > div { position: absolute; inset: auto 0 0; padding: 45px 22px 24px; background: linear-gradient(transparent,#061322ee); color: #fff; }
.trip-dialog-image24 p { font-size: .73rem; color: #dbe7f4; margin-bottom: 5px; }
.trip-dialog-image24 strong { font-size: 2rem; font-weight: 600; letter-spacing: -.04em; }
.trip-dialog-credit24 { padding: 12px 3px 0; color: var(--muted); font-size: .64rem; }
.trip-dialog-credit24 a { color: inherit; }
.trip-dialog-note24 { padding: 16px 3px; color: var(--muted); font-size: .76rem; line-height: 1.7; }
.trip-dialog-content24 { padding: 27px 30px 28px; min-width: 0; }
.trip-dialog-content24 > .eyebrow { color: var(--accent); font-size: .72rem; }
.trip-dialog-content24 h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.12; letter-spacing: -.05em; }
.trip-dialog-lead24 { margin: 15px 0 20px; color: var(--muted); font-size: .94rem; line-height: 1.7; }
.trip-start-point24 { display: flex; align-items: center; gap: 13px; text-decoration: none; padding: 15px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); color: var(--ink); }
.trip-start-point24 > span { flex: 1; display: grid; gap: 4px; }
.trip-start-point24 small { font-size: .68rem; color: var(--accent); }
.trip-start-point24 strong { font-size: .85rem; line-height: 1.3; font-weight: 500; }
.trip-start-point24 .ui-icon { width: 19px; flex: none; color: var(--accent); }
.trip-stop-list24 { list-style: none; padding: 0; margin: 20px 0; }
.trip-stop-list24 li { display: flex; align-items: center; gap: 13px; min-height: 66px; position: relative; }
.trip-stop-list24 li:before { content: ''; position: absolute; top: 41px; bottom: -25px; width: 1px; background: var(--line); left: 14px; }
.trip-stop-list24 li:last-child:before { display: none; }
.trip-stop-list24 li > span { flex: none; z-index: 1; border: 1px solid var(--line); background: var(--surface); width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; color: var(--accent); font-size: .75rem; }
.trip-stop-list24 button { display: grid; gap: 5px; flex: 1; min-width: 0; background: none; color: var(--ink); text-align: left; padding: 12px 0; }
.trip-stop-list24 strong { font-size: .88rem; line-height: 1.35; font-weight: 500; }
.trip-stop-list24 small { font-size: .71rem; line-height: 1.4; color: var(--muted); }
.trip-stop-list24 li > .ui-icon { width: 16px; color: var(--muted); flex: none; }
.trip-before24 { border-block: 1px solid var(--line); margin-bottom: 22px; }
.trip-before24 summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 50px; list-style: none; cursor: pointer; font-size: .85rem; }
.trip-before24 summary::-webkit-details-marker { display: none; }
.trip-before24 .ui-icon { width: 17px; color: var(--accent); }
.trip-before24 p { font-size: .86rem; line-height: 1.7; color: var(--muted); padding-bottom: 18px; }
.trip-dialog-actions24 { display: flex; gap: 10px; flex-wrap: wrap; }
.trip-dialog-actions24 .btn { flex: 1; font-size: .84rem; min-height: 48px; padding: 12px; }
.trip-dialog-actions24 .btn.primary { flex-grow: 1.3; }
.trip-dialog-actions24 .ui-icon { width: 18px; flex: none; }
.trip-share-privacy24 { font-size: .7rem; line-height: 1.6; margin-top: 15px; color: var(--muted); }
.trip-share-fallback24 { display: grid; gap: 7px; margin-top: 15px; font-size: .8rem; color: var(--muted); }
.trip-share-fallback24 input { width: 100%; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font-size: .85rem; }
html[data-theme=light] .trip-card-link24 { color: var(--accent); }
html[data-theme=light] .trip-home24 .trip-proof24 { color: #d3dfed; }
@media(min-width:1100px) { .trip-home24 .journey-time { width: 525px; } }
@media(max-width:1100px) { .trip-cards24 { grid-template-columns: repeat(2,minmax(0,1fr)); } .trip-card-photo24 { height: 220px; } .trip-card-body24 > p { min-height: 2.8em; } }
@media(max-width:760px) {
  .trip-home24 .nyc-home-hero { min-height: 420px; border-radius: 24px; align-items: flex-end; }
  .trip-home24 .nyc-home-copy { padding: 28px 26px; }
  .trip-home24 .nyc-home-copy h1 { font-size: clamp(2.65rem,9.5vw,3.8rem); max-width: 13ch; }
  .trip-home24 .nyc-home-copy > p:not(.eyebrow) { font-size: .98rem; line-height: 1.6; max-width: 34ch; margin-top: 16px; }
  .trip-home24 .nyc-home-shade { background: linear-gradient(90deg,#05101ee6,#0919297a),linear-gradient(0deg,#091426db,transparent); }
  .trip-home24 .home-orient21 { gap: 8px; margin-top: 20px; }
  .trip-home24 .home-orient21 > .btn { font-size: .82rem; min-height: 50px; padding: 11px; gap: 7px; }
  .trip-proof24 { margin-top: 15px; gap: 5px 13px; font-size: .7rem; }
  .trip-proof24 > span + span { padding-left: 13px; }
  .trip-proof24 button { font-size: .7rem; }
  .trip-finder24 { margin-bottom: 27px; }
  .trip-searchbox24 { gap: 11px; min-height: 62px; padding-left: 18px; border-radius: 17px; }
  .trip-searchbox24 input { font-size: .94rem; }
  .trip-searchbox24 .btn { display: none; }
  .trip-home24 .journey-preview { min-height: 0; }
  .trip-home24 .journey-image { min-height: 250px; }
  .trip-home24 .journey-plan { padding: 23px; }
  .trip-home24 .journey-image-title h2 { font-size: 1.85rem; }
  .trip-section-heading24 { display: block; margin-bottom: 20px; }
  .trip-section-heading24 h2 { font-size: 1.85rem; max-width: 22ch; }
  .trip-section-heading24 > p { margin-top: 12px; font-size: .88rem; max-width: 44ch; }
  .trip-editorial24 { margin-top: 36px; scroll-margin-top: 140px; }
  .trip-cards24 { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; padding: 2px 2px 15px; scrollbar-width: thin; }
  .trip-card24 { flex: 0 0 78%; max-width: 330px; scroll-snap-align: start; }
  .trip-card-photo24 { height: 205px; }
  .trip-card-body24 { padding: 20px; }
  .trip-card-body24 h3 { font-size: 1.35rem; }
  .trip-card-body24 > p { font-size: .91rem; }
  .trip-card-meta24 { font-size: .75rem; }
  .trip-home24 .borough-rail-section23 { margin-top: 35px; }
  .trip-faq24 { grid-template-columns: 1fr; gap: 18px; padding-top: 28px; margin-top: 27px; }
  .trip-faq-heading24 { display: flex; align-items: center; gap: 13px; }
  .trip-faq-heading24 > .ui-icon { margin: 0; width: 27px; height: 27px; flex: none; }
  .trip-faq24 h2 { max-width: none; font-size: 1.55rem; }
  .trip-dialog24 { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 22px; }
  .trip-dialog-top24 { min-height: 59px; padding: 9px 16px; }
  .trip-dialog-top24 > span { font-size: .6rem; letter-spacing: .05em; }
  .trip-dialog-grid24 { grid-template-columns: 1fr; }
  .trip-dialog-visual24 { position: static; padding: 16px 18px 0; }
  .trip-dialog-image24 { height: 220px; border-radius: 15px; }
  .trip-dialog-image24 > div { padding: 40px 20px 18px; }
  .trip-dialog-image24 strong { font-size: 1.65rem; }
  .trip-dialog-note24 { display: none; }
  .trip-dialog-credit24 { font-size: .6rem; padding-top: 9px; }
  .trip-dialog-content24 { padding: 21px 21px 24px; }
  .trip-dialog-content24 h2 { font-size: 2rem; }
  .trip-dialog-content24 > .eyebrow { font-size: .7rem; }
  .trip-dialog-lead24 { font-size: .92rem; margin-block: 12px 18px; }
  .trip-dialog-actions24 { display: grid; grid-template-columns: 1fr; }
  .trip-dialog-actions24 .btn { font-size: .93rem; min-height: 50px; }
  .trip-stop-list24 strong { font-size: .92rem; }
}
@media(max-width:380px) { .trip-home24 .nyc-home-copy { padding-inline: 21px; } .trip-home24 .home-orient21 { flex-direction: column; } .trip-home24 .home-orient21 .btn { width: 100%; } .trip-home24 .nyc-home-copy h1 { font-size: 2.6rem; } .trip-card24 { flex-basis: 87%; } }
@media(prefers-reduced-motion:reduce) { .trip-card24, .trip-card-photo24 > img, .trip-faq-items24 summary > .ui-icon { transition: none; } .trip-card-photo24:hover > img { transform: none; } }
@media print { .trip-finder24, .trip-walk-actions24, .trip-dialog24 { display: none; } }
