.places-page {
  --p-ink: #17201e;
  --p-muted: #65706b;
  --p-paper: #f4f2ed;
  --p-surface: #fff;
  --p-line: #d8ddd8;
  --p-accent: #bd392d;
  --p-accent-dark: #91291f;
  color: var(--p-ink);
  background: var(--p-paper);
  padding: 18px 0 clamp(72px, 9vw, 132px);
}
.places-page * { box-sizing: border-box; }
.places-page h1, .places-page h2, .places-page h3 { font-family: "Inter", sans-serif; text-wrap: balance; }
.places-page p { text-wrap: pretty; }
.places-page :where(a, button, input):focus-visible { outline: 3px solid rgba(189,57,45,.42); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.places-hero {
  position: relative !important;
  display: block !important;
  width: min(calc(100% - 36px), 1320px) !important;
  min-height: 570px !important;
  margin: 0 auto !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: #27322f !important;
  color: #fff !important;
  box-shadow: 0 20px 56px rgba(25,35,31,.12);
}
.places-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 18px; }
.places-hero__shade { position: absolute; inset: 0; border-radius: 18px; background: linear-gradient(90deg,rgba(10,17,15,.88) 0%,rgba(10,17,15,.66) 46%,rgba(10,17,15,.12) 78%),linear-gradient(180deg,rgba(10,17,15,.18),rgba(10,17,15,.6)); }
.places-hero__content { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 570px; padding: clamp(36px,5vw,72px) clamp(28px,6vw,84px) 92px; }
.places-breadcrumbs { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.68); font-size: 13px; font-weight: 650; }
.places-breadcrumbs a { color: #fff; text-decoration: none; }
.places-breadcrumbs a:hover { text-decoration: underline; }
.places-breadcrumbs svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.places-hero__heading { margin-top: auto; max-width: 670px; }
.places-hero__heading > p,
.places-heading p,
.places-explore > div > p,
.places-about > div:first-child > p { margin: 0 0 12px; color: #ef8b7d; font-size: 12px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.places-hero h1 { max-width: 9ch; margin: 0; color: #fff !important; font-size: clamp(58px,7vw,96px) !important; font-weight: 770 !important; line-height: .92 !important; letter-spacing: -.07em !important; }
.places-hero__heading > span { display: block; max-width: 550px; margin-top: 22px; color: rgba(255,255,255,.76); font-size: 17px; line-height: 1.55; }
.places-hero__stats { position: absolute; right: clamp(24px,4vw,54px); bottom: 48px; display: flex; gap: 32px; }
.places-hero__stats span { display: flex; flex-direction: column; color: rgba(255,255,255,.65); font-size: 11px; letter-spacing: .02em; }
.places-hero__stats strong { color: #fff; font-size: 28px; line-height: 1; letter-spacing: -.04em; }

.places-search {
  position: absolute; z-index: 2; right: clamp(28px,5vw,72px); bottom: -32px; left: clamp(28px,5vw,72px);
  display: grid; grid-template-columns: 24px minmax(0,1fr) auto auto; align-items: center; gap: 14px;
  min-height: 66px; padding: 8px 8px 8px 20px;
  border: 1px solid #d1d7d2; border-radius: 12px; background: #fff;
  box-shadow: 0 16px 44px rgba(26,36,32,.16);
}
.places-search:focus-within { border-color: var(--p-accent); box-shadow: 0 16px 44px rgba(26,36,32,.13),0 0 0 4px rgba(189,57,45,.1); }
.places-search > svg { width: 22px; height: 22px; fill: none; stroke: #78817d; stroke-width: 1.8; }
.places-search input { min-width: 0; height: 46px; border: 0 !important; outline: 0 !important; background: transparent !important; color: var(--p-ink) !important; font: 500 15px/1.2 "Inter",sans-serif; }
.places-search input::placeholder { color: #89928e; }
.places-search__clear { color: var(--p-muted); font-size: 12px; font-weight: 700; text-decoration: none; }
.places-search__clear:hover { color: var(--p-accent); }
.places-search button { min-height: 48px; padding: 0 24px; border: 0; border-radius: 8px; background: var(--p-ink); color: #fff; font: 750 14px/1 "Inter",sans-serif; cursor: pointer; transition: background .2s ease,transform .2s ease; }
.places-search button:hover { background: var(--p-accent); }
.places-search button:active { transform: translateY(1px); }

.places-shell { width: min(calc(100% - 36px),1240px); margin: 0 auto; }
.places-topics { display: flex; gap: 8px; margin: 78px 0 0; padding: 0 0 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.places-topics::-webkit-scrollbar { display: none; }
.places-topics a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 15px; border: 1px solid var(--p-line); border-radius: 9px; background: rgba(255,255,255,.72); color: #414b47; font-size: 13px; font-weight: 700; text-decoration: none; scroll-snap-align: start; transition: border-color .2s ease,background .2s ease,color .2s ease; }
.places-topics a:hover { border-color: #aab3ae; background: #fff; }
.places-topics a span { color: #909894; font-size: 11px; }
.places-topics a.is-active { border-color: var(--p-ink) !important; background: var(--p-ink) !important; color: #fff !important; }
.places-topics a.is-active span { color: rgba(255,255,255,.66); }

.places-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: clamp(54px,7vw,88px) 0 28px; }
.places-heading p { margin-bottom: 9px; color: var(--p-accent); }
.places-heading h2,
.places-explore h2,
.places-about h2 { margin: 0; color: var(--p-ink); font-size: clamp(32px,4vw,54px); font-weight: 770; line-height: 1.02; letter-spacing: -.055em; }
.places-heading > span { padding-bottom: 5px; color: var(--p-muted); font-size: 13px; white-space: nowrap; }

.places-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px 18px; margin: 0; }
.place-tile { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--p-line); border-radius: 13px; background: #fff; transition: transform .25s ease,border-color .25s ease,box-shadow .25s ease; }
.place-tile:hover { transform: translateY(-4px); border-color: #b9c2bd; box-shadow: 0 16px 38px rgba(26,36,32,.1); }
.place-tile--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr .7fr; }
.place-tile__media { position: relative; display: block; overflow: hidden; aspect-ratio: 4/3; background: #dce1dd; text-decoration: none; }
.place-tile--featured .place-tile__media { min-height: 440px; aspect-ratio: auto; }
.place-tile__media > img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .65s cubic-bezier(.2,.65,.25,1); }
.place-tile:hover .place-tile__media > img { transform: scale(1.035); }
.place-tile__placeholder { display: grid; width: 100%; height: 100%; place-items: center; background: #e7eae7; color: #a0aaa5; font-size: 19px; font-weight: 850; letter-spacing: .16em; }
.place-tile__badges { position: absolute; top: 12px; right: 12px; left: 12px; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.place-tile__rating,.place-tile__recommend { display: inline-flex; align-items: center; gap: 5px; min-height: 29px; padding: 0 9px; border-radius: 6px; color: #fff; font-size: 11px; font-weight: 800; box-shadow: 0 5px 14px rgba(0,0,0,.15); }
.place-tile__rating { background: rgba(17,24,22,.82); }
.place-tile__rating svg { width: 13px; height: 13px; fill: #f1bd50; }
.place-tile__recommend { margin-left: auto; background: var(--p-accent); }
.place-tile__content { display: flex; flex: 1; flex-direction: column; padding: 18px 18px 20px; }
.place-tile--featured .place-tile__content { padding: 26px 28px 28px; }
.place-tile__category { margin: 0; color: var(--p-accent); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.place-tile h3 { margin: 10px 0 0; font-size: 20px; font-weight: 750; line-height: 1.14; letter-spacing: -.035em; }
.place-tile--featured h3 { max-width: 16ch; font-size: clamp(30px,3vw,44px); letter-spacing: -.05em; }
.place-tile h3 a { color: var(--p-ink); text-decoration: none; }
.place-tile h3 a:hover { color: var(--p-accent-dark); }
.place-tile__address { display: flex; align-items: flex-start; gap: 6px; margin: 10px 0 0; color: var(--p-muted); font-size: 12px; line-height: 1.45; }
.place-tile__address svg { flex: 0 0 auto; width: 14px; height: 14px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.place-tile__description { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 11px 0 0; color: var(--p-muted); font-size: 13px; line-height: 1.55; }
.place-tile--featured .place-tile__description { max-width: 60ch; font-size: 14px; -webkit-line-clamp: 3; }
.place-tile__footer { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; }
.place-tile__price { color: var(--p-muted); font-size: 12px; font-weight: 750; letter-spacing: .08em; }
.place-tile__footer > a { display: inline-flex; align-items: center; gap: 7px; color: var(--p-accent); font-size: 12px; font-weight: 800; text-decoration: none; }
.place-tile__footer svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .2s ease; }
.place-tile:hover .place-tile__footer svg { transform: translateX(4px); }

.places-empty { grid-column: 1/-1; padding: 64px 24px; border: 1px dashed #bbc4bf; border-radius: 13px; background: rgba(255,255,255,.6); text-align: center; }
.places-empty > span { color: var(--p-accent); font-size: 42px; }
.places-empty h2 { margin: 8px 0; font-size: 28px; }
.places-empty p { margin: 0 auto; color: var(--p-muted); }
.places-empty a { display: inline-flex; margin-top: 20px; color: var(--p-accent); font-weight: 800; }

.places-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; margin: 48px 0 0; }
.places-pagination a,.places-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; margin-left: -1px; padding: 0 13px; border: 1px solid var(--p-line) !important; border-radius: 0 !important; background: #fff !important; color: var(--p-ink) !important; font-size: 13px; font-weight: 700; text-decoration: none; }
.places-pagination a:hover { position: relative; border-color: var(--p-accent) !important; color: var(--p-accent) !important; }
.places-pagination .is-active { position: relative; border-color: var(--p-ink) !important; background: var(--p-ink) !important; color: #fff !important; }
.places-pagination .is-disabled { color: #9aa29e !important; }

.places-explore { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(38px,7vw,96px); margin-top: clamp(72px,9vw,124px); padding: clamp(38px,6vw,72px); border-radius: 18px; background: #e5e6d8; }
.places-explore > div > p { color: var(--p-accent); }
.places-explore > div > span { display: block; max-width: 46ch; margin-top: 18px; color: #5f6864; font-size: 15px; line-height: 1.6; }
.places-explore nav { display: grid; }
.places-explore nav a { display: grid; grid-template-columns: 32px minmax(0,1fr) 24px; align-items: center; gap: 14px; min-height: 88px; border-bottom: 1px solid rgba(23,32,30,.18); text-decoration: none; }
.places-explore nav a:first-child { border-top: 1px solid rgba(23,32,30,.18); }
.places-explore nav a > span { color: var(--p-accent); font-size: 11px; font-weight: 850; }
.places-explore nav strong { font-size: 17px; }
.places-explore nav small { color: var(--p-accent); font-size: 22px; transition: transform .2s ease; }
.places-explore nav a:hover small { transform: translate(3px,-3px); }

.places-about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px,8vw,120px); margin-top: clamp(72px,9vw,124px); padding-bottom: clamp(58px,8vw,96px); border-bottom: 1px solid var(--p-line); }
.places-about > div:first-child > p { color: var(--p-accent); }
.places-about h2 { max-width: 15ch; }
.places-about > div:last-child { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 28px; }
.places-about > div:last-child p { margin: 0; color: var(--p-muted); font-size: 14px; line-height: 1.75; }
.places-updated { margin: 40px 0 0; color: #88918d; font-size: 11px; text-align: right; }

@media (max-width: 1080px) {
  .places-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .place-tile--featured { grid-column: 1/-1; grid-template-columns: 1.08fr .92fr; }
  .place-tile--featured .place-tile__media { min-height: 390px; }
}
@media (max-width: 820px) {
  .places-page { padding-top: 10px; }
  .places-hero { width: calc(100% - 24px) !important; min-height: 610px !important; }
  .places-hero__shade { background: linear-gradient(180deg,rgba(10,17,15,.25),rgba(10,17,15,.84) 74%); }
  .places-hero__content { min-height: 610px; padding: 30px 26px 106px; }
  .places-hero__heading { max-width: 570px; }
  .places-hero h1 { font-size: clamp(52px,13vw,78px) !important; }
  .places-hero__stats { position: static; margin-top: 26px; }
  .places-search { right: 18px; left: 18px; }
  .places-shell { width: calc(100% - 24px); }
  .places-topics { margin-top: 72px; }
  .places-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .place-tile--featured { grid-column: 1/-1; display: grid; grid-template-columns: 1.08fr .92fr; }
  .place-tile--featured .place-tile__media { aspect-ratio: auto; min-height: 390px; }
  .places-explore,.places-about { grid-template-columns: 1fr; }
  .places-about > div:last-child { padding-top: 0; }
}
@media (max-width: 600px) {
  .places-hero { min-height: 650px !important; }
  .places-hero__content { min-height: 650px; padding: 26px 22px 150px; }
  .places-hero__heading > span { font-size: 15px; }
  .places-hero__stats { gap: 24px; }
  .places-search { grid-template-columns: 21px minmax(0,1fr); gap: 10px; bottom: -56px; padding: 10px 12px; }
  .places-search__clear { grid-column: 1/-1; justify-self: end; margin: -4px 4px 0 0; }
  .places-search button { grid-column: 1/-1; width: 100%; }
  .places-topics { margin-top: 92px; }
  .places-heading { margin-top: 54px; }
  .places-heading > span { display: none; }
  .places-grid { grid-template-columns: 1fr; gap: 16px; }
  .place-tile,.place-tile--featured { grid-column: 1; display: flex; }
  .place-tile__media,.place-tile--featured .place-tile__media { min-height: 0; aspect-ratio: 16/10; }
  .place-tile__content,.place-tile--featured .place-tile__content { padding: 20px; }
  .place-tile h3,.place-tile--featured h3 { font-size: 23px; }
  .place-tile__description,.place-tile--featured .place-tile__description { font-size: 13px; -webkit-line-clamp: 2; }
  .places-explore { padding: 34px 26px; }
  .places-about > div:last-child { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 390px) {
  .places-hero h1 { font-size: 48px !important; }
  .places-hero__stats strong { font-size: 24px; }
  .places-search input { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .places-page *,.places-page *::before,.places-page *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
