/* What's Nearby pages (/around/), on top of tools11.css. Rename this file (around13.css) whenever it changes: Cloudflare keeps static files. */

/* Index: one photo card per area */
.around-list { margin-bottom: 28px !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.around-list a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.around-list a:hover { border-color: var(--ink); box-shadow: 0 4px 14px rgba(15, 42, 67, .12); }
.around-list a:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.around-list img, .around-nophoto { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--wash); }
.around-nophoto { display: grid; place-items: center; color: var(--soft); }
.around-nophoto svg { width: 28px; height: 28px; }
.around-card-text { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; }
.around-card-text b { font-size: 1rem; }
.around-card-text small { display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--soft); font-size: .8rem; font-weight: 600; }
.around-count { color: var(--accent); }
.around-station select { flex: 1; min-width: 0; min-height: 44px; border: 0; background: transparent; font: inherit; color: var(--ink); }

/* Area page, full width (docs/toa-payoh-around-mock.html): the area card (words left, photo right at a fixed shape), then Right now
   full width, then sections; phones: one column. Nothing in the area card depends on Right now, so the page does not jump when it loads. */
.around-box { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.around-hero { display: grid; overflow: hidden; }
@media (min-width: 900px) { .around-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } .around-hero.is-text { grid-template-columns: 1fr; } }
.around-title-copy { display: flex; flex-direction: column; justify-content: center; padding: 20px; }
@media (min-width: 900px) { .around-title-copy { padding: 26px 28px; } }
.around-hero .crumbs { margin-bottom: 10px; }
.around-hero .bus-title { margin: 2px 0 6px; }
.around-hero .bus-sub { margin: 0; }
.around-eyebrow { margin: 0; color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.around-photos { display: flex; flex-direction: column; margin: 0; }
.around-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; width: 100%; max-height: 220px; background: var(--wash); }
@media (min-width: 900px) { .around-frame { flex: 1; aspect-ratio: auto; min-height: 220px; max-height: 300px; } }  /* as tall as the words, at most 300px */
.around-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.around-photos figcaption { padding: 6px 20px 10px; font-size: .74rem; color: var(--soft); }
.around-photos figcaption a { color: var(--soft); }
.around-live { min-height: 180px; }  /* room kept for the cards, so the sections below move less when they arrive */
.around-live .bus-label:first-child { margin-top: 0; }
@media (min-width: 720px) {
  .around-live .around-now { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (min-width: 1100px) { .around-live .around-now { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Cards in a row share its height; their buttons and source line sit at the bottom */
.around-card .around-body { height: 100%; }
.around-card .around-acts { margin-top: auto !important; padding-top: 8px; }
.around-card.is-down { grid-column: 1 / -1; }
.around-more-n { color: var(--soft); }
.around-facts { margin: 16px 0 0; max-width: 60ch; padding: 14px 16px; border-radius: 12px; background: #fff4d6; color: #3d2a00; }
.around-facts h2 { margin: 0 0 6px; font-size: .78rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #7a4d00; }
.around-facts p { margin: 0; font-size: 1.02rem; line-height: 1.5; }
.around-intro { margin-top: 16px; font-size: 1.02rem; line-height: 1.65; }
.around-intro p { margin: 0; }
.around-section { margin-top: 32px; }
.around-head { margin-bottom: 12px; }
.around-head h2 { margin: 0; font-size: 1.3rem; line-height: 1.25; text-wrap: balance; }
.around-head p { margin: 3px 0 0; color: var(--soft); font-size: .92rem; }
/* Offers: local first, then island-wide; two columns on wide screens */
.around-offers { display: grid; gap: 12px; }
@media (min-width: 720px) { .around-offers { grid-template-columns: 1fr 1fr; } }
.around-offer { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px; color: var(--ink); text-decoration: none; transition: border-color .15s; }
.around-offer:hover { border-color: var(--ink); }
.around-offer img, .around-offer-none { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; background: var(--wash); }
.around-offer-none { display: grid; place-items: center; color: var(--accent); }
.around-offer-none svg { width: 24px; height: 24px; fill: currentColor; }
.around-offer > span { display: grid; gap: 3px; }
.around-offer .bus-promo { justify-self: start; }
.around-offer b { line-height: 1.3; font-size: .95rem; }
@media (min-width: 720px) { .around-offer b { font-size: 1rem; } }
.around-offer small { color: #9a5b00; font-weight: 700; font-size: .8rem; }
/* Guides: three cards */
.around-guides { display: grid; gap: 12px; }
@media (min-width: 720px) { .around-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .around-guides { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.around-offers > [hidden], .around-guides > [hidden] { display: none; }
.around-more { display: inline-flex; align-items: center; min-height: 40px; margin-top: 12px; padding: 0 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--link); font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; }
.around-more:hover { background: var(--wash); }
.around-head .around-n { font-size: .8rem; vertical-align: middle; }
.around-guide { display: flex; flex-direction: column; overflow: hidden; color: var(--ink); text-decoration: none; transition: border-color .15s; }
.around-guide:hover { border-color: var(--ink); }
.around-guide img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--wash); }
.around-guide span { display: grid; gap: 6px; padding: 12px 14px 14px; }
.around-guide b { line-height: 1.35; }
.around-guide small { color: var(--soft); font-size: .82rem; }
.around-ad { display: flex; justify-content: center; }
/* Right now: one card per feed, the site's dark icon tiles */
.around-now { display: grid; gap: 10px; }
.around-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.around-card .tool-icon svg { width: 20px; height: 20px; fill: currentColor; }
.around-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.around-body h3 { display: flex; align-items: center; gap: 6px; margin: 0 0 2px; font-size: 1rem; }
.around-body p { margin: 0; font-size: .92rem; line-height: 1.4; }
.around-body > .wx-pill { align-self: flex-start; margin: 2px 0 4px; }
.around-n { padding: 0 7px; border-radius: 999px; background: var(--wash); color: var(--soft); font-size: .76rem; font-weight: 800; }
.around-shut { color: #b42318; }
.around-why { margin: 0 0 4px; padding-left: 1.1em; font-size: .88rem; }
.around-read { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 10px; margin: 2px 0 0; font-size: .88rem; }
.around-read div { display: contents; }
.around-read dt { color: var(--soft); }
.around-read dd { margin: 0; font-weight: 600; }
.around-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px !important; }
.around-acts a, .around-acts button { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--link); font: inherit; font-size: .85rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.around-acts button { border-color: var(--night); background: var(--night); color: #fff; }
.around-acts a:hover { background: var(--wash); }
.around-acts button:hover { background: #163a5c; }
.around-acts button[hidden] { display: none; }
.around-card small { margin-top: 4px; color: var(--soft); font-size: .76rem; }
.around-card.is-alert { border-color: var(--accent); background: #fff5f5; }
.around-card.is-alert .tool-icon { background: var(--accent); }
.around-at { color: var(--soft); font-size: .78rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.around-wait { margin: 0; padding: 14px; border: 1px dashed var(--line); border-radius: 12px; color: var(--soft); font-size: .9rem; }

.around-stations { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.around-stations a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; color: var(--ink); text-decoration: none; }
.around-stations li:hover { background: #e3e8ee; }
.around-stations li { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; background: var(--wash); font-size: .86rem; font-weight: 700; }
.around-stations svg { width: 14px; height: 14px; }
.around-stations small { color: var(--soft); font-weight: 600; }

/* Explore: category chips, the map, and the matching places beside it (below it on phones) */
.around-explore { overflow: hidden; }
.around-filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; border-bottom: 1px solid var(--line); }
.around-filters button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; }
.around-filters button:hover { border-color: var(--ink); }
.around-filters button[aria-pressed="true"] { border-color: var(--night); background: var(--night); color: #fff; }
.around-filters button[aria-pressed="true"] .around-n { background: rgba(255, 255, 255, .18); color: #fff; }
.around-filters i { width: 10px; height: 10px; border-radius: 50%; }
.around-split { display: grid; }
.around-map { height: 360px; }
.around-places { border-top: 1px solid var(--line); }  /* phones: part of the page, no scroll box of its own (around11.js shows 20 at a time) */
.around-more-bar { padding: 4px 16px 16px; }
.around-more-bar .around-more { margin-top: 0; }
.around-places li[hidden] { display: none; }
.around-split .map-touch { margin: 0; padding: 8px 14px; border-top: 1px solid var(--line); }
@media (min-width: 1024px) {
  .around-split { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .around-map { height: 540px; }
  .around-places { max-height: 540px; overflow: auto; border-top: 0; border-left: 1px solid var(--line); }
}
.around-places .around-wait { margin: 14px; }
.around-places ul { margin: 0; padding: 0; list-style: none; }
.around-places li { display: grid; gap: 3px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.around-places li:last-child { border-bottom: 0; }
.around-places .around-tag { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--link); }
.around-places b { line-height: 1.3; }
.around-places b a { color: inherit; text-underline-offset: 3px; }
.around-places small { color: var(--soft); font-size: .84rem; }
.around-places .around-acts { margin-top: 4px !important; }
.around-places .around-acts svg { width: 14px; height: 14px; margin-right: 6px; fill: currentColor; }
.around-hint { margin: 8px 0 0; color: var(--soft); font-size: .82rem; }

/* A dot's popup: what it is, then what to do */
.around-pop b { display: block; font-size: .95rem; line-height: 1.3; }
.around-pop small { display: block; margin-top: 2px; color: var(--soft); font-size: .82rem; }
.around-pop-go { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.around-pop-go a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 8px; font-size: .85rem; font-weight: 700; text-decoration: none; }
.around-pop-go a:first-child { background: var(--night); color: #fff; }
.around-pop-go a:first-child:hover { background: #163a5c; }
.around-pop-go a + a { border: 1px solid var(--line); color: var(--link); }
.around-pop-go a + a:hover { background: var(--wash); }
.around-pop-go svg { width: 14px; height: 14px; fill: currentColor; }
.leaflet-popup-content { margin: 12px 14px; min-width: 200px; }
.around-card.is-down { grid-template-columns: 1fr; color: var(--soft); }
/* Neighbourhoods (URA subzones): tap to fit the map; places from data.gov.sg folded by kind */
.around-hoods { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 4px; }
.around-hoods button { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; cursor: pointer; }
.around-hoods button:hover { border-color: var(--ink); }
.around-hoods-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.around-hoods-row b { margin-right: 4px; font-size: .9rem; }
/* Right now while it loads: placeholder cards the size of the real ones (measured: weather ~340px, the rest ~150px) */
.around-skel { min-height: 148px; align-content: start; }
.around-skel:first-child { min-height: 340px; }
@media (max-width: 1099px) { .around-skel:nth-child(3) { min-height: 212px; } }
.skel-tile { width: 40px; height: 40px; border-radius: 10px; }
.skel-lines { display: grid; gap: 10px; padding-top: 4px; }
.skel-lines i { display: block; height: 12px; border-radius: 6px; }
.skel-lines i:first-child { width: 45%; height: 16px; }
.skel-lines i:nth-child(2) { width: 85%; }
.skel-lines i:nth-child(3) { width: 65%; }
.skel-lines i:nth-child(n+4) { width: 75%; }
.skel-tile, .skel-lines i { background: linear-gradient(90deg, #e9edf2 0%, #f5f7fa 40%, #e9edf2 80%); background-size: 300% 100%; animation: around-shimmer 1.4s ease-in-out infinite; }
.around-fetching { display: inline-flex; align-items: center; gap: 6px; }
.around-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: around-pulse 1.2s ease-in-out infinite; }
@keyframes around-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes around-pulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .skel-tile, .skel-lines i, .around-dot { animation: none; } }

/* What's Nearby landing (docs/insingapura-around-mock.html) in the site's colours: hero with finder, stats strip, stories, popular areas, map, needs, ending soon, all areas */
.nb { --nb-r: 18px; }
.nb-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--accent); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.nb-eyebrow::before { content: ""; width: 20px; height: 3px; border-radius: 3px; background: var(--accent); }
.nb-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 40px; align-items: center; overflow: hidden; padding: 44px 40px; border-radius: 24px; background: linear-gradient(135deg, #f1f5f9 0%, #fbf8ef 65%, #fff 100%); }
.nb-hero h1 { margin: 0; font-size: clamp(2.1rem, 4.4vw, 3.3rem); line-height: 1.03; letter-spacing: -.03em; text-wrap: balance; }
.nb-hero h1 em { color: var(--accent); font-style: normal; }
.nb-lead { max-width: 36rem; margin: 14px 0 22px; color: var(--soft); font-size: 1.05rem; }
.nb-finder { display: flex; gap: 8px; max-width: 40rem; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 14px 34px rgba(15, 42, 67, .10); }
.nb-finder input, .nb-finder select, .nb-finder button { min-height: 50px; border-radius: 11px; font: inherit; }
.nb-or { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; color: var(--soft); font-size: .92rem; }
.nb-locate { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.nb-locate:hover { border-color: var(--ink); color: var(--ink); }
.nb-locate svg { width: 16px; height: 16px; fill: currentColor; }
.nb-finder input { flex: 1; min-width: 0; padding: 0 14px; border: 0; color: var(--ink); }
.nb-finder input:focus-visible, .nb-finder select:focus-visible { outline: 2px solid var(--link); outline-offset: 0; }
.nb-finder select { flex: 1; min-width: 0; max-width: 16rem; padding: 0 12px; border: 0; background: var(--wash); color: var(--ink); font-weight: 700; }
.nb-finder button { min-width: 56px; padding: 0 14px; border: 0; background: #ffd769; color: var(--ink); font-weight: 900; cursor: pointer; }
.nb-finder button:hover { background: #ffcd45; }
.nb-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.nb-quick a { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .8); color: var(--ink); font-size: .9rem; font-weight: 700; text-decoration: none; }
.nb-quick a:hover { border-color: var(--ink); }
.nb-quick svg { width: 15px; height: 15px; fill: var(--accent); }
.nb-city { position: relative; min-height: 300px; border: 1px solid rgba(255, 255, 255, .9); border-radius: 28px; background: rgba(255, 255, 255, .6); box-shadow: 0 14px 34px rgba(15, 42, 67, .10); overflow: hidden; }
.nb-city svg { position: absolute; inset: 26px; width: calc(100% - 52px); height: calc(100% - 52px); }
.nb-pulse { position: absolute; width: 20px; height: 20px; border: 4px solid #fff; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 8px rgba(213, 40, 55, .16); }
.nb-p1 { left: 52%; top: 36%; } .nb-p2 { left: 68%; top: 58%; background: var(--night); box-shadow: 0 0 0 8px rgba(15, 42, 67, .14); } .nb-p3 { left: 33%; top: 64%; background: #e0a800; box-shadow: 0 0 0 8px rgba(224, 168, 0, .18); }
.nb-float { position: absolute; padding: 11px 15px; border-radius: 14px; background: #fff; box-shadow: 0 10px 24px rgba(15, 42, 67, .14); color: var(--soft); font-size: .82rem; }
.nb-float b { display: block; color: var(--ink); font-size: .95rem; }
.nb-f1 { top: 22px; right: 20px; } .nb-f2 { bottom: 22px; left: 20px; }
.nb-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 18px 0 0; padding: 0; list-style: none; border-radius: 18px; background: var(--night); color: #fff; }
.nb-stats li { padding: 20px 22px; border-right: 1px solid rgba(255, 255, 255, .12); }
.nb-stats li:last-child { border-right: 0; }
.nb-stats b { display: block; font-size: 1.35rem; }
.nb-stats span { color: #b9c7d4; font-size: .88rem; }
.nb-section { margin-top: 26px; padding: 40px 0 8px; }
.nb-soft { padding: 40px 32px 36px; border-radius: 24px; background: var(--wash); }
.nb-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 22px; }
.nb-heading h2 { margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.08; letter-spacing: -.02em; }
.nb-heading p:not(.nb-eyebrow) { max-width: 36rem; margin: 8px 0 0; color: var(--soft); }
.nb-textlink { display: inline-flex; align-items: center; min-height: 44px; color: var(--link); font-weight: 800; text-decoration: none; white-space: nowrap; }
.nb-stories { display: grid; grid-template-columns: 1.35fr .85fr .85fr; grid-auto-rows: 210px; gap: 14px; }
.nb-story { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; overflow: hidden; border-radius: 22px; background: var(--night); color: #fff; text-decoration: none; }
.nb-story.is-big { grid-row: span 2; }
.nb-story img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nb-story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 42, 67, .05) 20%, rgba(15, 42, 67, .88) 100%); }
.nb-story > span { position: relative; z-index: 1; }
.nb-story:hover { color: #fff; }
.nb-story:hover b { text-decoration: underline; }
.nb-story:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }
.nb-tag { align-self: flex-start; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.nb-story-text b { display: block; font-size: 1.15rem; line-height: 1.2; text-wrap: balance; }
.nb-story.is-big .nb-story-text b { font-size: 1.7rem; }
.nb-story-text small { display: block; margin-top: 6px; color: rgba(255, 255, 255, .85); font-size: .85rem; }
.nb-areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nb-area { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.nb-area:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15, 42, 67, .12); color: var(--ink); }
.nb-area img, .nb-area-art { display: block; width: 100%; height: 150px; object-fit: cover; background: linear-gradient(135deg, #e4ecf4, #f7e8bf); }
.nb-area-body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.nb-area-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.nb-area-title b { font-size: 1.2rem; }
.nb-badge { padding: 4px 8px; border-radius: 8px; background: var(--wash); color: var(--soft); font-size: .74rem; font-weight: 800; white-space: nowrap; }
.nb-area-lead { margin: 6px 0 12px; color: var(--soft); font-size: .9rem; }
.nb-area-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: .82rem; font-weight: 700; }
.nb-map-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
.nb-map { height: 460px; border-radius: 22px; background: var(--wash); z-index: 0; }
.nb-pick { display: flex; flex-direction: column; gap: 10px; }
.nb-pick h3 { margin: 0; font-size: 1.5rem; }
.nb-pick > p { margin: 0 0 4px; color: var(--soft); }
.nb-row { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.nb-row svg { width: 46px; height: 46px; padding: 13px; border-radius: 12px; background: var(--wash); fill: var(--night); }
.nb-row b { display: block; }
.nb-row small { color: var(--soft); font-size: .86rem; }
.nb-open { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; margin-top: 4px; border-radius: 12px; background: var(--night); color: #fff; font-weight: 800; text-decoration: none; }
.nb-open:hover { background: #163a5c; color: #fff; }
.nb-open svg { width: 14px; height: 14px; fill: currentColor; }
.nb-intents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nb-intent { padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.nb-intent-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: #ffe7a3; }
.nb-intent:nth-child(2) .nb-intent-icon { background: #dde7f2; }
.nb-intent:nth-child(3) .nb-intent-icon { background: #fde3e3; }
.nb-intent-icon svg { width: 22px; height: 22px; fill: var(--ink); }
.nb-intent h3 { margin: 14px 0 4px; font-size: 1.15rem; }
.nb-intent p { margin: 0 0 12px; color: var(--soft); }
.nb-intent a { display: flex; align-items: center; min-height: 44px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 700; text-decoration: none; }
.nb-intent a:hover { color: var(--link); }
.nb-deals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.nb-deal { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); text-decoration: none; }
.nb-deal:hover { border-color: var(--ink); color: var(--ink); }
.nb-deadline { align-self: flex-start; padding: 4px 8px; border-radius: 7px; background: #fdecea; color: #a61b29; font-size: .74rem; font-weight: 900; }
.nb-deal b { font-size: 1rem; line-height: 1.3; }
.nb-deal small { color: var(--soft); font-size: .85rem; }
.nb-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.nb-tabs[hidden] { display: none; }
.nb-tabs button { min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-weight: 800; cursor: pointer; }
.nb-tabs button[aria-pressed="true"] { border-color: var(--night); background: var(--night); color: #fff; }
.nb-dir { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.nb-dir li[hidden] { display: none; }
.nb-dir a { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 52px; height: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-weight: 700; text-decoration: none; }
.nb-dir a:hover { border-color: var(--ink); }
.nb-dir small { color: var(--soft); font-size: .76rem; font-weight: 600; text-align: right; }
@media (max-width: 920px) {
  .nb-hero { grid-template-columns: minmax(0, 1fr); padding: 36px 24px; }
  .nb-city { display: none; }
  .nb-stats { grid-template-columns: 1fr 1fr; }
  .nb-stats li:nth-child(2) { border-right: 0; }
  .nb-stats li:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .nb-stories { grid-template-columns: 1fr 1fr; }
  .nb-story.is-big { grid-column: span 2; grid-row: span 1; }
  .nb-areas, .nb-dir, .nb-deals { grid-template-columns: 1fr 1fr; }
  .nb-map-layout { grid-template-columns: 1fr; }
  .nb-map { height: 380px; }
}
@media (max-width: 620px) {
  .nb-hero { margin: 0 -16px; padding: 30px 16px; border-radius: 0; }
  .nb-finder { display: grid; grid-template-columns: minmax(0, 1fr) 56px; }
  .nb-finder select { grid-column: 1 / -1; grid-row: 2; width: 100%; max-width: none; }
  .nb-quick { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; }
  .nb-quick a { white-space: nowrap; }
  .nb-stats li { padding: 14px 12px; }
  .nb-stats b { font-size: 1.1rem; }
  .nb-stories { display: flex; flex-direction: column; }
  .nb-story { min-height: 200px; }
  .nb-story.is-big .nb-story-text b { font-size: 1.35rem; }
  .nb-areas, .nb-intents, .nb-dir, .nb-deals { grid-template-columns: 1fr; }
  .nb-heading { display: block; }
  .nb-soft { margin-left: -16px; margin-right: -16px; padding: 32px 16px 28px; border-radius: 0; }
  .nb-map { height: 320px; }
}
@media (prefers-reduced-motion: reduce) { .nb-area { transition: none; } .nb-area:hover { transform: none; } }
