/* The City Edit — identidade do PDF do cliente: papel creme, didone no titulo,
   fios finos, taupe nos rotulos. Um arquivo so: menos requisicao, carga mais rapida. */

@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/fonts/playfair-latin.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2122, U+FEFF;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/fonts/playfair-latin-ext.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-024F, U+1E00-1EFF, U+2020, U+20A0-20AB;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/fonts/playfair-italic-latin.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap; /* o arquivo so tem o peso 400 */
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122, U+FEFF;
}
/* Bold Italic de verdade (23/11/2026) para o tipo do card em negrito; fonte: @fontsource/playfair-display 5.3.0, OFL */
@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/fonts/playfair-italic-700-latin.woff2') format('woff2');
  font-weight: 700; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122, U+FEFF;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/montserrat-latin.woff2') format('woff2');
  font-weight: 300 600; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122, U+FEFF;
}

:root {
  --ease-out: cubic-bezier(.23, 1, .32, 1); /* curva forte de saida (movimento, 23/11/2026) */
  --ink: #322D29;
  --ink-soft: #675E58; /* 23/11/2026: um tom mais escuro para manter 4,5:1 sobre o bege do fim do degrade */
  --taupe: #9D9086;
  --sand: #D1C6BE;
  --mist: #D9D9D9;
  --cream: #F0E8E1;
  --wine: #6B1D2F;      /* bordo do botao Get tickets (28/11/2026) */
  --wine-deep: #521523; /* hover do bordo */
  --paper: #F6F0EA;
  --paper-deep: #E8DACB;
  --taupe-text: #6E6259; /* 23/11/2026: bege para TEXTO com contraste 5,2:1 no papel e 4,9:1 no creme (o #9D9086 dava 2,7:1) */ /* bege mais escuro do fim do degrade das paginas de cards */

  --serif: 'Playfair Display', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: 'Montserrat', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;

  /* 23/11/2026: site mais largo (antes ate 3,5rem); no iPhone deitado o recuo nunca fica menor que o entalhe */
  --gutter: max(clamp(1rem, 2.6vw, 2.25rem), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --rule: 1px solid var(--sand);
  --shell: 2200px; /* 23/11/2026: antes 1560px; tela muito larga ganha mais colunas de cards */
  --tagline-size: clamp(.82rem, 1.7vw, 1.05rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper); padding: .75rem 1rem; z-index: 40;
}
.skip:focus { left: 0; }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- masthead ---------- */

.masthead {
  padding: 0 var(--gutter);
  max-width: var(--shell);
  margin: 0 auto;
  text-align: center;
}

/* skyline no topo, atras do titulo */
.masthead-art {
  position: relative;
  display: grid;
  place-items: end center;
  align-content: end;
  min-height: clamp(130px, 16vw, 230px);
  /* a frase embaixo do logo ocupa o respiro de baixo: o logo sobe so 2px em relacao a antes */
  --tag-gap: clamp(.2rem, .6vw, .5rem);
  padding-bottom: max(2px, calc(clamp(1.4rem, 3.2vw, 2.6rem) + 2px - var(--tag-gap) - 1.2 * var(--tagline-size)));
  isolation: isolate;
}
.masthead-art .skyline {
  position: absolute; inset: 0;
  z-index: -1;
  margin: 0;
}
.masthead-art .skyline img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 70%;
  mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 72%, transparent 100%);
}
/* halo de papel so atras das letras: o desenho continua visivel, o titulo continua legivel */
.masthead-art::after {
  content: '';
  position: absolute; left: 50%; bottom: 0;
  width: min(92%, 980px); height: 62%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--paper) 88%, transparent), transparent);
  z-index: -1;
  pointer-events: none;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: .12em;
  text-decoration: none;
  line-height: .95;
}

.logo-the {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.6vw, 2rem);
  transform: translateY(-.35em);
}

.logo-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 9vw, 6.4rem);
  letter-spacing: .015em;
  text-transform: uppercase;
}

/* "A curated guide to Chicago" embaixo do logo, com a letra do antigo titulo da capa */
.masthead .tagline { margin: var(--tag-gap) 0 0; line-height: 1.2; }
/* celular pequeno (320px): letras um pouco mais juntas para a frase caber numa linha */
@media (max-width: 360px) { .masthead .tagline { letter-spacing: .14em; } }

.nav {
  margin-top: 0;
  border-top: var(--rule);
  border-bottom: var(--rule);
  padding: .85rem .25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3.2rem);
}

.nav a {
  min-width: 5.5rem;
  font-size: clamp(.72rem, 1.4vw, .84rem);
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding: .35rem .1rem;
  position: relative;
  transition: color .25s ease;
}
.nav a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease-out);
}
.nav a[aria-current], .nav a:focus-visible { color: var(--ink); }
.nav a[aria-current]::after, .nav a:focus-visible::after { transform: scaleX(1); }
/* hover so com mouse: no toque o estado ficava preso depois do tap */
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--ink); }
  .nav a:hover::after { transform: scaleX(1); }
}
/* celular: What's On, News & Updates e Maps numa linha so */
@media (max-width: 520px) {
  .nav { flex-wrap: nowrap; gap: clamp(.6rem, 3.5vw, 1rem); }
  .nav a { min-width: 0; letter-spacing: .12em; white-space: nowrap; }
}

/* barra fina que aparece depois da capa: navegar sem voltar ao topo */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: .55rem var(--gutter);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: blur(8px); /* Safari ate a versao 17 so entende com o prefixo */
  backdrop-filter: blur(8px);
  border-bottom: var(--rule);
  transform: translateY(-100%);
  transition: transform .18s var(--ease-out); /* sai rapido */
}
.topbar.is-on { transform: none; transition-duration: .26s; }
.topbar-logo {
  font-family: var(--serif); font-size: 1.05rem; text-transform: uppercase;
  letter-spacing: .04em; text-decoration: none; white-space: nowrap;
}
.topbar-nav { display: flex; gap: clamp(.8rem, 2.4vw, 2rem); overflow-x: auto; }
.topbar-nav a {
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-soft); white-space: nowrap; padding: .4rem 0;
}
.topbar-nav a[aria-current] { color: var(--ink); }
@media (max-width: 720px) { .topbar-logo { display: none; } }

/* ---------- hero ---------- */

.hero { max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); text-align: center; }

h1.tagline, .tagline {
  margin: clamp(1.4rem, 3vw, 2.2rem) 0 0;
  font-size: var(--tagline-size);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 400;
}

.intro {
  margin: .9rem auto 0;
  max-width: 46ch;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.22rem);
  color: var(--ink-soft);
}

.hero { padding-bottom: clamp(1.2rem, 3vw, 2.2rem); }
/* capa: a frase subiu para o cabecalho e o texto de abertura fica onde ela estava */
.hero > .intro:first-child { margin-top: clamp(1.4rem, 3vw, 2.2rem); }

/* ---------- filtros ---------- */

.filterbar {
  max-width: var(--shell);
  margin: clamp(.9rem, 2vw, 1.3rem) auto 0;
  padding: 0 var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .8rem 1.5rem;
}
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .5rem; }
.filters--kinds { justify-content: flex-start; }
.filters--tools { justify-content: flex-end; margin-left: auto; gap: .6rem .9rem; flex-wrap: nowrap; }
.filterbar .chip { min-height: 40px; padding: .3rem .85rem; font-size: .68rem; letter-spacing: .14em; white-space: nowrap; }
.filters--when { display: flex; flex-wrap: wrap; gap: .5rem; }
.filters--when[hidden] { display: none; }
.chip--when { font-family: inherit; cursor: pointer; }
.chip--when[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.search { position: relative; margin: 0; }
.search input {
  width: clamp(10rem, 15vw, 15rem); min-height: 40px;
  padding: .45rem 1rem .45rem 2.4rem;
  border: var(--rule); border-radius: 999px;
  background: color-mix(in srgb, var(--cream) 55%, var(--paper));
  font: inherit; font-size: .9rem; color: var(--ink);
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s ease, background .2s ease;
}
.search input::placeholder { color: var(--taupe-text); letter-spacing: .08em; }
.search input:focus { outline: none; border-color: var(--ink); background: var(--paper); }
/* tela de toque: 16px evita o zoom automatico do iPhone/iPad ao tocar na busca (/news, /maps) */
@media (pointer: coarse) { .search input { font-size: 16px; } }
.search-icon {
  position: absolute; left: 1rem; top: 50%; width: 13px; height: 13px;
  transform: translateY(-60%);
  border: 1.5px solid var(--taupe); border-radius: 50%; pointer-events: none;
}
.search-icon::after {
  content: ''; position: absolute; right: -5px; bottom: -4px; width: 6px; height: 1.5px;
  background: var(--taupe); transform: rotate(45deg);
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.card[hidden] { display: none; }
.filter-empty { max-width: var(--shell); margin: 2rem auto; padding: 0 var(--gutter); text-align: center; color: var(--ink-soft); font-family: var(--serif); font-style: italic; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; cursor: pointer; }

@media (max-width: 1180px) {
  .filters--tools { margin-left: 0; width: 100%; justify-content: space-between; }
}
/* News & Updates: so a busca, sempre a direita */
.filterbar--search .filters--tools { justify-content: flex-end; }
/* desktop: sem o "Later" do celular e sem a lupa */
.filterbar .chip--mobile, .filterbar .search-toggle { display: none; }

@media (max-width: 760px) {
  /* linha 1: tipos (rolam de lado) + lupa | linha 2: All · On now · Later */
  .filterbar {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
    gap: .55rem .5rem;
  }
  .filters--tools { display: contents; }
  .filters--kinds {
    grid-column: 1; grid-row: 1; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin-left: calc(var(--gutter) * -1); padding-left: var(--gutter);
    mask-image: linear-gradient(to right, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(to right, #000 88%, transparent);
  }
  .filters--kinds::-webkit-scrollbar { display: none; }
  .filterbar .filters--kinds .chip { min-height: 36px; padding: .25rem .8rem; font-size: .64rem; }

  .search { grid-column: 2; grid-row: 1; width: auto; }
  .search input, .search > .search-icon { display: none; }
  .filterbar .search-toggle {
    display: grid; place-items: center; width: 40px; height: 36px; padding: 0;
    border: var(--rule); border-radius: 999px; background: transparent; cursor: pointer; position: relative;
  }
  .filterbar .search-toggle .search-icon { position: relative; left: -1px; top: -1px; transform: none; }
  .filterbar.is-searching .filters--kinds { visibility: hidden; }
  .filterbar.is-searching .search { grid-column: 1 / -1; }
  .filterbar.is-searching .search input { display: block; width: 100%; min-height: 36px; }
  .filterbar.is-searching .search > .search-icon { display: block; }
  .filterbar.is-searching .search .search-toggle { display: none; }

  /* seletor segmentado: tres partes iguais, largura toda */
  .filters--when {
    grid-column: 1 / -1; grid-row: 2;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
    border: var(--rule); border-radius: 999px; overflow: hidden;
  }
  .filters--when .chip {
    min-height: 36px; justify-content: center; border: 0; border-radius: 0;
    padding: .2rem .3rem; font-size: .64rem; letter-spacing: .12em;
  }
  .filters--when .chip + .chip { border-left: var(--rule); }
  .filters--when [data-when="next"], .filters--when [data-when="later"] { display: none; }
  .filterbar .filters--when .chip--mobile { display: inline-flex; }

  /* News & Updates: sem tipos para esconder, a busca fica aberta na largura toda */
  .filterbar--search .search { grid-column: 1 / -1; }
  .filterbar--search .search input { display: block; width: 100%; min-height: 36px; }
  .filterbar--search .search > .search-icon { display: block; }
  .filterbar--search .search .search-toggle { display: none; }
  /* "← What's On" em cima da busca, como no Maps */
  .filterbar--search .back-home { grid-column: 1 / -1; grid-row: 1; justify-self: start; }
  .filterbar--search .back-home ~ .filters--tools .search { grid-row: 2; }
}

.chip {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: .35rem 1.1rem;
  border: var(--rule);
  border-radius: 999px;
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-soft);
  background: transparent;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .chip:hover { background: var(--cream); color: var(--ink); } }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------- titulos de secao ---------- */

.section-title {
  max-width: var(--shell);
  margin: clamp(2.2rem, 5vw, 3.6rem) auto clamp(1.2rem, 2.5vw, 2rem);
  padding: 0 var(--gutter);
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(.8rem, 1.6vw, .95rem);
  letter-spacing: .3em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink);
}
.section-title::after {
  content: '';
  display: block;
  width: 44px; height: 1px;
  background: var(--taupe);
  margin: 1rem auto 0;
}

/* ---------- grade ---------- */

.grid {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(3rem, 7vw, 6rem);
  display: grid;
  grid-template-columns: 1fr;
  /* 23/11/2026: fotos quase encostadas (antes 1,5 a 3rem entre colunas) */
  gap: clamp(1.75rem, 3vw, 2.5rem) clamp(.5rem, 1vw, .875rem);
  align-items: start;
}
/* o texto ganha um respiro proprio, ja que as colunas ficaram coladas */
.grid .card-body { padding-right: clamp(.25rem, 1vw, .75rem); }

/* Colunas (23/11/2026, pedido do usuario): celular 2, tablet 3 (em pe e deitado), computador 4,
   tela larga 5 e 6. Os cards ficaram enxutos (tipo, titulo, local, datas), as fotos diminuem por coluna. */
.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) and (pointer: fine), (min-width: 1401px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1800px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 2300px) { .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
/* News & Updates: materia tem texto longo; 1 coluna no celular, 2 no tablet, 3 no computador */
.grid:has(> .card[data-kind="journal"]) { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .grid:has(> .card[data-kind="journal"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid:has(> .card[data-kind="journal"]) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* "More from" na pagina do card: 3 lado a lado a partir do tablet */
@media (min-width: 640px) { .related .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Texto e selo acompanham a largura do proprio card (cqi = 1% da largura do card) */
.card { container-type: inline-size; }
.home-page .grid .card-title { font-size: clamp(1rem, 7.2cqi, 1.75rem); line-height: 1.18; }
/* area de toque de 24px+ no titulo (cards estreitos no celular e no tablet) sem mudar o desenho do sublinhado */
.home-page .grid .card-title a { padding-block: .2em; background-origin: content-box; background-clip: content-box; }
.home-page .grid :is(.kicker, .venue) { font-size: clamp(.78rem, 4.2cqi, .88rem); } /* minimo ~12,5px: legivel no celular */
/* tipo do card (Exhibition, Theater, Restaurant & Bar...) em negrito de verdade (23/11/2026): o bege claro
   deixava o 700 com cara de fino; agora na cor do titulo, mantendo o italico da marca */
.home-page .grid .kicker { font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.home-page .grid .dates { font-size: clamp(.7rem, 3.9cqi, .8rem); }

.card { display: flex; flex-direction: column; gap: 1.15rem; min-width: 0; }
.card-body > * { min-width: 0; }

.card-media { display: block; text-decoration: none; }

.media {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}
.media--empty { aspect-ratio: 4 / 3; }

.media-el {
  width: 100%; height: auto;
  transition: transform .5s var(--ease-out);
}
/* a foto reage ao card inteiro: mouse na foto ou no titulo, teclado no titulo (o link da foto tem tabindex -1) */
@media (hover: hover) and (pointer: fine) {
  .card-media:hover .media-el,
  .card:has(.card-title a:hover) .media-el { transform: scale(1.03); }
}
.card:has(.card-title a:focus-visible) .media-el { transform: scale(1.03); }

/* carrossel: scroll nativo com snap, sem biblioteca */
.media--carousel .track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.media--carousel .track::-webkit-scrollbar { display: none; }
.media--carousel .slide { flex: 0 0 100%; scroll-snap-align: center; }

/* grade: toda foto na mesma moldura 3:2 (o padrao 1200 x 800), recortada pelo centro.
   A pagina do lugar continua mostrando a foto inteira, na proporcao original. */
.card-media .media { aspect-ratio: 3 / 2; }
.card-media .media picture { display: block; height: 100%; }
.card-media .media--carousel .track,
.card-media .media--carousel .slide { height: 100%; }
.card-media .media-el { height: 100%; object-fit: cover; object-position: center; }

/* Celular (23/11/2026): 2 cards por linha, moldura 4:3 (um pouco mais alta que a 3:2, corta ~11% das laterais) */
@media (max-width: 639px) {
  .card-media .media { aspect-ratio: 4 / 3; }
  .grid { row-gap: 1.6rem; }
}

.car-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  display: none; align-items: center; justify-content: center;
  border: none; border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer;
  opacity: 0; transition: opacity .25s ease, transform 160ms var(--ease-out);
}
.car-arrow:active { transform: translateY(-50%) scale(.94); }
.car-prev { left: .6rem; } .car-next { right: .6rem; }
.media--carousel:hover .car-arrow,
.car-arrow:focus-visible { opacity: 1; }
@media (hover: hover) and (min-width: 900px) { .car-arrow { display: flex; } }

.dots {
  position: absolute; left: 0; right: 0; bottom: .3rem;
  display: flex; justify-content: center; gap: 0;
}
/* bolinha com area de toque de 24px (23/11/2026); o desenho de 7px fica no ::before */
.dot {
  width: 24px; height: 24px; padding: 0; border: none; background: transparent;
  display: grid; place-items: center; cursor: pointer;
}
.dot::before {
  content: ''; width: 7px; height: 7px; border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 70%, var(--ink));
  opacity: .55; transition: opacity .2s ease, transform .2s ease;
}
.dot.is-on::before { opacity: 1; transform: scale(1.35); background: var(--paper); }

.card-body { display: flex; flex-direction: column; gap: .55rem; }

.kicker {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--taupe-text);
  letter-spacing: .01em;
}

.card-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.28rem, 2.1vw, 1.55rem);
  line-height: 1.18;
  letter-spacing: -.005em;
}
.card-title a { text-decoration: none; background-image: linear-gradient(var(--ink), var(--ink));
  background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .25s var(--ease-out); }
.card-title a:focus-visible { background-size: 100% 1px; }
@media (hover: hover) and (pointer: fine) { .card-title a:hover { background-size: 100% 1px; } }

.summary {
  margin: 0;
  font-size: .92rem;
  font-weight: 300;
  line-height: 1.62;
  color: var(--ink);
  text-wrap: pretty;
}

.venue { margin: .35rem 0 0; font-size: .88rem; color: var(--ink); }

.dates {
  margin: 0;
  font-size: .8rem;
  letter-spacing: .06em;
  color: var(--ink-soft);
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
}
.dates.is-past { color: var(--taupe-text); }
.past-tag {
  font-size: .62rem; letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid var(--taupe); border-radius: 999px; padding: .12rem .5rem;
}

.stars { display: inline-flex; gap: .12rem; color: var(--sand); font-size: .95rem; line-height: 1; }
.stars .is-on { color: var(--taupe-text); } /* estrela cheia e informacao: 3:1 no minimo */

/* ---------- endereco copiavel ---------- */

.addr-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; margin-top: .3rem; min-width: 0; }
.addr-row--block { flex-direction: column; align-items: flex-start; }

.addr {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 44px;
  max-width: 100%;
  padding: .4rem .9rem .4rem .7rem;
  border: var(--rule);
  border-radius: 2px;
  background: var(--cream);
  font: inherit; font-size: .82rem; color: var(--ink);
  text-align: left; cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .addr:hover { background: var(--sand); } }
.addr-icon { color: var(--taupe); font-size: .95rem; }
.addr-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.addr-hint {
  font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe-text);
  white-space: nowrap;
}
.addr.is-copied { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.addr.is-copied .addr-icon, .addr.is-copied .addr-hint { color: var(--paper); }

.addr-open, .official-link {
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-soft); text-underline-offset: 4px;
  min-height: 44px; display: inline-flex; align-items: center;
}
/* site oficial do evento, ao lado do "Open in Maps" (ou sozinho, sem endereco) */
.official { margin: .3rem 0 0; }
.official-link:focus-visible, .addr-open:focus-visible { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .official-link:hover, .addr-open:hover { color: var(--ink); } }

.tags { margin: .2rem 0 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.tag { font-size: .72rem; letter-spacing: .04em; color: var(--taupe-text); }

/* ---------- pagina do lugar ---------- */

.place { max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter) clamp(3rem, 7vw, 6rem); }

.crumbs {
  margin: clamp(1.6rem, 4vw, 2.6rem) 0 0;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft);
}
/* 23/11/2026: area de toque de 24px+ no celular (antes ~18px) */
.crumbs a { text-decoration: none; display: inline-block; padding: .35rem 0; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }

.place-head { text-align: center; margin: clamp(1.4rem, 3vw, 2.4rem) 0 clamp(1.6rem, 3vw, 2.4rem); }
.place-head h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.08; margin: .4rem 0 0;
  letter-spacing: -.01em;
}
.place-head .kicker { font-size: 1.15rem; }
.lede {
  margin: 1rem auto 0; max-width: 62ch;
  font-size: 1.02rem; font-weight: 300; color: var(--ink); text-wrap: pretty;
}
.place-head .stars { margin-top: 1rem; font-size: 1.1rem; }

.place-grid {
  display: grid; gap: clamp(1.8rem, 4vw, 3.2rem);
  margin-top: clamp(1.8rem, 4vw, 3rem);
}
/* comentario do card embaixo da foto (23/11/2026); o titulo continua em cima */
.lede--below { margin: clamp(1.2rem, 3vw, 2rem) auto 0; text-align: center; font-size: 1.08rem; }
@media (min-width: 900px) {
  .place-grid { grid-template-columns: minmax(0, 1.55fr) minmax(240px, .95fr); }
  .place-grid--slim { grid-template-columns: minmax(0, 1fr); max-width: 720px; margin-inline: auto; }
}
.place-grid--slim .place-facts { display: grid; gap: 1.6rem 3rem; align-items: start; }
@media (min-width: 640px) { .place-grid--slim .place-facts { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }

.place-body { font-size: 1.02rem; font-weight: 300; }
.place-body p { margin: 0 0 1.15em; }
.place-body h2 {
  font-family: var(--serif); font-weight: 700; font-size: 1.4rem; margin: 2rem 0 .6rem;
}
.place-body blockquote {
  margin: 1.6rem 0; padding-left: 1.2rem; border-left: 2px solid var(--taupe);
  font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink-soft);
}

.place-facts {
  border-top: 2px solid var(--ink);
  padding-top: 1.2rem;
  display: flex; flex-direction: column; gap: 1rem;
  font-size: .92rem;
}
.fact-block { display: flex; flex-direction: column; gap: .6rem; }
.fact { margin: 0; }
.fact-label {
  display: block;
  font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe-text);
  margin-bottom: .3rem;
}
.fact-note { margin: -.6rem 0 0; font-size: .78rem; color: var(--taupe-text); }
.fact-link { text-underline-offset: 4px; }

.related { margin-top: clamp(3rem, 7vw, 5rem); border-top: var(--rule); }
.related .grid { padding-inline: 0; }

/* ---------- nota para os editores (23/11/2026): botao + formulario na pagina do card ---------- */
.note { margin-top: clamp(2rem, 5vw, 3.2rem); }
.note-box { border-top: var(--rule); border-bottom: var(--rule); padding: clamp(1.2rem, 3vw, 1.8rem) 0; }
/* botao em destaque (pedido do usuario, 23/11/2026): pilula com borda escura, escurece no hover e aberto */
.note-toggle {
  list-style: none; cursor: pointer; width: fit-content; max-width: 100%; margin: 0 auto; min-height: 52px;
  padding: .8rem 1.6rem; border: 1px solid var(--ink); border-radius: 28px; background: var(--cream);
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .45em;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-align: center;
  box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 8%, transparent);
  transition: background .2s ease, color .2s ease, transform 160ms var(--ease-out);
}
.note-toggle::-webkit-details-marker { display: none; }
.note-toggle-icon { font-size: 1.05rem; letter-spacing: 0; }
.note-toggle-cta { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.note-box[open] .note-toggle { background: var(--ink); color: var(--paper); margin-bottom: 1.2rem; }
.note-toggle:active { transform: scale(.97); }
.note-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .note-toggle:hover { background: var(--ink); color: var(--paper); } }
@media (prefers-reduced-motion: reduce) { .note-toggle:active { transform: none; } }
.note-form { max-width: 640px; margin: 0 auto; padding: .4rem 0 2rem; display: grid; gap: 1.15rem; }
.note-title { font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 3vw, 1.9rem); line-height: 1.15; margin: .4rem 0 0; text-align: center; }
.note-sub { margin: -.45rem 0 0; text-align: center; color: var(--ink-soft); font-size: .95rem; text-wrap: pretty; }
.note-req { margin: 0; font-size: .72rem; color: var(--ink-soft); }
.note-label { display: block; margin-bottom: .45rem; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.note-opt { letter-spacing: .04em; text-transform: none; }
.note-reasons { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; min-width: 0; }
.note-reasons legend { float: left; width: 100%; padding: 0; }
.note-reason { position: relative; display: inline-flex; }
.note-reason input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.note-reason span {
  display: inline-flex; align-items: center; min-height: 44px; padding: .35rem 1.1rem;
  border: var(--rule); border-radius: 999px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform 160ms var(--ease-out);
}
.note-reason input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.note-reason input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.note-reason:active span { transform: scale(.97); }
.note-field input, .note-field textarea {
  display: block; width: 100%; padding: .75rem .9rem;
  font: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--sand); border-radius: 4px; -webkit-appearance: none; appearance: none;
  transition: border-color .2s ease;
}
.note-field textarea { min-height: 8.5rem; line-height: 1.5; resize: vertical; }
.note-field input:focus, .note-field textarea:focus { outline: none; border-color: var(--ink); }
.note-field input::placeholder, .note-field textarea::placeholder { color: var(--taupe-text); }
.note-field [aria-invalid="true"] { border-color: #AF2424; }
.note-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note-send { justify-self: start; gap: .5em; }
.note-send[disabled] { opacity: .6; cursor: progress; }
.note-status { margin: 0; min-height: 1.3em; font-size: .88rem; color: #AF2424; }
.note-done { max-width: 640px; margin: .4rem auto 1.6rem; text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.15rem; }
@media (prefers-reduced-motion: no-preference) {
  .note-box[open] :is(.note-form, .note-done) { animation: note-in .35s var(--ease-out); }
}
@keyframes note-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- mapa ---------- */

.maps { max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter) clamp(3rem, 6vw, 5rem); }
.maps-help { text-align: center; color: var(--ink-soft); font-size: .92rem; margin: -1rem 0 1.6rem; }

.maps-layout { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .maps-layout { grid-template-columns: minmax(240px, 320px) 1fr; align-items: start; } }

.map-picker {
  border: var(--rule); background: var(--cream);
  padding: 1rem; max-height: 70vh; overflow: auto;
}
.map-picker-actions { display: flex; gap: .5rem; margin-bottom: .8rem; }

.map-group { border: none; border-top: var(--rule); margin: 0 0 .8rem; padding: .8rem 0 0; }
.map-group:first-of-type { border-top: none; padding-top: 0; }
.map-group legend {
  padding: 0 .4rem 0 0;
  background: var(--cream);
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe-text);
}

.check {
  display: flex; align-items: flex-start; gap: .6rem;
  min-height: 44px; padding: .3rem 0; cursor: pointer; font-size: .9rem;
}
.check input { width: 18px; height: 18px; margin-top: .28rem; accent-color: var(--ink); flex: none; }
.check em { display: block; font-style: normal; font-size: .76rem; color: var(--ink-soft); }
.check--all span { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }

.map-holder { border: var(--rule); background: var(--cream); }
#map { height: min(70vh, 640px); width: 100%; }
.leaflet-container { background: var(--cream); font-family: var(--sans); }
/* o mapa em tom de papel: a cor da pagina fica nas fotos */
.leaflet-tile-pane { filter: grayscale(.72) sepia(.24) brightness(1.05) contrast(.9); }
.map-pop strong { font-family: var(--serif); font-size: 1.05rem; display: block; }
/* Paleta categórica do Maps: a legenda e os títulos usam as cores dos pinos. */
.map-kind--exhibition { --map-color: #237C86; }
.map-kind--theater { --map-color: #A3324A; }
.map-kind--restaurant, .map-kind--restaurant-bar { --map-color: #B45F19; }
.map-kind--cafe { --map-color: #322D29; } /* 24/11/2026: marrom escuro dos botoes (= --ink), pedido do usuario; antes verde #3F6F46 */
.map-kind--bar { --map-color: #7054A1; }
.map-kind--other { --map-color: #514A44; }
.city-pin span {
  display: grid; place-items: center; width: 24px; height: 24px;
  box-sizing: border-box; border-radius: 999px;
  background: var(--map-color, var(--ink)); border: 2px solid var(--paper);
  color: #fff; font-family: var(--sans); font-size: 11px; font-weight: 700; line-height: 1;
  box-shadow: 0 1px 6px rgba(50, 45, 41, .45);
  transition: transform .15s ease;
}
.city-pin:hover span, .city-pin:focus-visible span { transform: scale(1.15); }
.map-group .check--all .map-group-title { color: var(--map-color, var(--ink)); font-weight: 700; }
.map-legend {
  display: flex; flex-wrap: wrap; gap: .6rem 1.3rem;
  list-style: none; margin: 0 0 1.1rem; padding: 0;
  font-family: var(--sans); font-size: .78rem;
}
.map-legend li { display: flex; align-items: center; gap: .4rem; }
/* cada tipo da legenda e um botao: desligado fica vazado e riscado (maps.js) */
.map-legend-btn {
  display: flex; align-items: center; gap: .4rem;
  min-height: 32px; padding: .2rem .1rem; border: 0; background: none;
  font: inherit; color: inherit; cursor: pointer;
}
.map-legend-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.map-legend-btn .map-key { transition: background .15s ease, color .15s ease; }
.map-legend-btn[aria-pressed="false"] { color: var(--ink-soft); }
.map-legend-btn[aria-pressed="false"] .map-legend-label { text-decoration: line-through; }
.map-legend-btn[aria-pressed="false"] .map-key {
  background: transparent; color: var(--map-color, var(--ink));
  box-shadow: inset 0 0 0 1.5px var(--map-color, var(--ink));
}
.map-legend-btn:disabled { cursor: default; opacity: .4; }
.map-key {
  display: inline-grid; place-items: center; width: 20px; height: 20px;
  border-radius: 50%; background: var(--map-color, var(--ink));
  color: #fff; font-size: 10px; font-weight: 700; line-height: 1;
}
.map-pop .addr { margin-top: .4rem; }

/* ---------- botoes, vazio, rodape ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: .5rem 1.4rem;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  font: inherit; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .2s ease, color .2s ease, transform 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .btn:hover { background: transparent; color: var(--ink); } }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--sand); }
@media (hover: hover) and (pointer: fine) { .btn-quiet:hover { background: var(--sand); } }

/* "← What's On" no topo de Maps e News & Updates */
.back-home {
  max-width: var(--shell); margin: clamp(.9rem, 2vw, 1.3rem) auto 0; padding: 0 var(--gutter);
}
.maps .back-home { padding: 0; } /* .maps ja tem o recuo lateral */
/* News & Updates: na mesma linha da busca (a barra ja da o recuo e a margem) */
.filterbar .back-home { margin: 0; padding: 0; max-width: none; }
.back-home-link { gap: .55rem; padding: .5rem 1.1rem .5rem .9rem; }
.back-home-arrow { font-size: 1rem; letter-spacing: 0; line-height: 1; transition: transform .15s ease; }
.back-home-link:hover .back-home-arrow, .back-home-link:focus-visible .back-home-arrow { transform: translateX(-3px); }

.empty {
  max-width: 40ch; margin: 2rem auto; text-align: center;
  color: var(--ink-soft); font-style: italic; font-family: var(--serif); font-size: 1.1rem;
}

.notfound { max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter) 5rem; text-align: center; }

/* paginas de cards (23/11/2026): fundo igual no topo; do fim do 1o card ate o fim do ultimo escurece
   para um bege mais fundo. O app.js mede --bg-from/--bg-to; sem JS vale o padrao abaixo. */
body.home-page {
  background: var(--paper) linear-gradient(180deg, var(--paper) 0, var(--paper) var(--bg-from, 1100px),
    var(--paper-deep) var(--bg-to, 100%), var(--paper-deep) 100%);
}

.footer {
  border-top: var(--rule);
  padding: clamp(2.4rem, 5vw, 4rem) var(--gutter);
  text-align: center;
}
.footer-logo {
  font-family: var(--serif); text-transform: uppercase; letter-spacing: .06em;
  font-size: 1.6rem; margin: 0;
}
.footer-line { margin: .5rem 0 0; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.footer-fine { margin: 1.4rem auto 0; max-width: 52ch; font-size: .76rem; color: var(--ink-soft); } /* no fim do degrade da capa o fundo e o bege escuro */

/* ---------- movimento ---------- */

/* entrada dos cards (23/11/2026): mais curta e com atraso por leva (--d, posto pelo app.js), nao pela
   posicao na lista: antes todo card do 4o em diante esperava 210 ms a cada rolagem */
@media (prefers-reduced-motion: no-preference) {
  .js .card { opacity: 0; transform: translateY(12px); }
  .js .card.is-in {
    opacity: 1; transform: none;
    transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
    transition-delay: var(--d, 0ms);
  }
}

/* toque: o botao confirma o clique na hora */
:is(.chip, .addr, .btn, .support-btn, .footer-ig, .nav-ig, .contact-toggle):active { transform: scale(.97); }

/* movimento reduzido = menos movimento, nao nenhuma resposta: some deslize e zoom, cor e opacidade ficam */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; }
  .leaflet-container, .leaflet-container * { transition-duration: .01ms !important; }
  .media-el { transition: none; transform: none !important; }
  :is(.chip, .addr, .btn, .support-btn, .footer-ig, .nav-ig, .contact-toggle):active { transform: none; }
  .car-arrow:active { transform: translateY(-50%); }
  .nav a::after, .card-title a, .back-home-arrow, .city-pin span { transition: none; }
  .back-home-link:hover .back-home-arrow, .back-home-link:focus-visible .back-home-arrow { transform: none; }
  .topbar { transform: none; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s; }
  .topbar.is-on { opacity: 1; visibility: visible; transition: opacity .2s ease; }
}

@media print {
  .nav, .topbar, .filters, .car-arrow, .dots, .addr-open { display: none; }
  body { background: #fff; }
}

.map-picker .check[hidden], .map-group[hidden] { display: none; }
.maps .filterbar { margin-bottom: .4rem; padding: 0; }

/* "x" de limpar a busca no tom do site (o padrao do navegador vem azul) */
.search input::-webkit-search-cancel-button {
  -webkit-appearance: none; appearance: none; width: 12px; height: 12px; cursor: pointer;
  background: linear-gradient(45deg, transparent 45%, var(--taupe) 45%, var(--taupe) 55%, transparent 55%),
              linear-gradient(-45deg, transparent 45%, var(--taupe) 45%, var(--taupe) 55%, transparent 55%);
}

/* ---------- Journal (materias) e texto complementar ---------- */

/* texto chamativo: no card da capa e embaixo do titulo da materia */
.teaser {
  margin: 0;
  font-family: var(--serif); font-style: italic;
  font-size: 1.06rem; line-height: 1.45;
  color: var(--ink);
  text-wrap: pretty;
}
.lede--teaser {
  max-width: 46ch;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.12rem, 2vw, 1.35rem); line-height: 1.5;
  color: var(--ink-soft);
}

/* legenda e credito: na foto do topo e nas fotos do texto */
.cover-photo { margin: 0; }
.cover-photo figcaption,
.body-photo figcaption {
  margin-top: .6rem;
  font-size: .8rem; line-height: 1.5; color: var(--ink-soft);
}
.credit { color: var(--taupe-text); white-space: nowrap; }

/* foto no meio do texto ([photo 2] no painel); foto em pe nao passa da altura da tela */
.body-photo { margin: 2rem 0; }
.body-photo picture { display: block; }
.body-photo .media-el {
  width: auto; max-width: 100%; height: auto; max-height: 80vh;
  margin-inline: auto;
  background: var(--cream);
}

/* fontes da materia */
.sources { margin-top: 2.4rem; padding-top: 1rem; border-top: var(--rule); }
.sources ol { margin: 0; padding-left: 1.2rem; font-size: .84rem; line-height: 1.6; color: var(--ink-soft); }
.sources li + li { margin-top: .3rem; }
.sources a { text-underline-offset: 3px; }

/* lugares do guia citados na materia (coluna ao lado do texto) */
.fact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.fact-list a { font-family: var(--serif); font-size: 1.02rem; text-underline-offset: 4px; }
.fact-list span { display: block; font-size: .78rem; color: var(--ink-soft); }

/* ---------- rodape: Instagram ---------- */

.footer-social { margin: 1.1rem 0 0; }
.footer-ig {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 44px; padding: .35rem 1.1rem;
  border: var(--rule); border-radius: 999px;
  font-size: .82rem; letter-spacing: .04em; color: var(--ink); text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform 160ms var(--ease-out);
}
.footer-ig:focus-visible { background: var(--ink); border-color: var(--ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .footer-ig:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); } }

/* Clear section selection, shared by the full and condensed navigation. */
.nav a, .topbar-nav a { font-weight: 700; }
.nav a[aria-current="page"], .topbar-nav a[aria-current="page"] {
  background: var(--ink); color: var(--paper);
  box-shadow: 0 0 0 .35rem var(--ink);
  border-radius: 1px;
}
.nav a[aria-current="page"]::after { transform: scaleX(0); }

/* Bold editorial hierarchy on the listing pages; address and outbound links retain their typography. */
.home-page { font-weight: 700; }
.home-page :is(.logo-name, .tagline, .intro, .section-title, .kicker, .summary, .teaser,
  .venue, .dates, .tags, .chip, .search input, .filter-empty, .linkish,
  .footer-logo, .footer-line, .footer-fine, .footer-ig) { font-weight: 700; }
.home-page .card-title { font-size: clamp(1.55rem, 2.6vw, 1.95rem); line-height: 1.2; }
.home-page .summary { font-size: .9rem; line-height: 1.65; }
.home-page .teaser { font-size: 1rem; }
.home-page .kicker { font-size: .88rem; }
.home-page .venue { font-size: .84rem; }
.home-page :is(.addr, .addr-open, .official-link) { font-weight: 400; }
/* selos na foto do card da grade: "N days left" no alto a esquerda (23/11/2026) e o tipo no pe a esquerda
   (24/11/2026). .card-photo envolve a foto para o pe do selo acompanhar a altura dela (3:2 ou 4:3). */
.card { position: relative; }
.card-photo { position: relative; --badge-inset: clamp(.4rem, 3cqi, .75rem); }
.days-badge, .kind-badge {
  position: absolute; left: var(--badge-inset); z-index: 1; margin: 0; pointer-events: none;
  max-width: calc(100% - 2 * var(--badge-inset));
  padding: .3em .85em; border-radius: 999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2; /* 12px: legivel */
  box-shadow: 0 1px 3px color-mix(in srgb, var(--ink) 18%, transparent);
}
.days-badge {
  top: var(--badge-inset);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--ink);
}
.days-badge--urgent { background: #AF2424; color: #fff; }
/* tipo na cor do pino do Maps (.map-kind--*): branco sobre elas fica entre 4,6:1 e 6,8:1 */
.kind-badge { bottom: var(--badge-inset); background: var(--map-color, #514A44); color: #fff; text-wrap: balance; }
/* Cafe no marrom escuro dos botoes do site (24/11/2026, pedido do usuario), no selo e no Maps; a letra do
   selo fica no tom do papel, como nos botoes */
.kind-badge.map-kind--cafe { color: var(--paper); }
/* card estreito (celular): menos espaco entre letras para "Restaurant & Bar" caber numa linha sem baixar dos
   12px. So em tela de 320px ele ainda quebra em duas linhas (equilibradas pelo text-wrap). */
@container (max-width: 210px) {
  .kind-badge { letter-spacing: .02em; padding-inline: .55em; }
}
/* bolinhas do carrossel (restaurantes e cafes): saem do meio e vao para a direita, longe do selo do tipo.
   No card estreito nao cabem ao lado dele e sobem para logo acima do selo. */
.card-photo .dots { justify-content: flex-end; right: calc(var(--badge-inset) - 8px); left: auto; bottom: calc(var(--badge-inset) - 1px); }
@container (max-width: 330px) {
  .card-photo:has(.kind-badge) .dots { bottom: calc(var(--badge-inset) + 1.15rem); }
}
/* tela de 320px: "Restaurant & Bar" ocupa duas linhas, as bolinhas sobem mais um pouco */
@container (max-width: 150px) {
  .card-photo:has(.kind-badge) .dots { bottom: calc(var(--badge-inset) + 1.95rem); }
}
@media (max-width: 520px) {
  .nav { gap: clamp(.6rem, 3vw, 1rem); }
  .nav a { font-size: .66rem; letter-spacing: .08em; }
  .topbar-nav { gap: .9rem; padding-inline: .35rem; }
  .topbar-nav a { font-size: .64rem; letter-spacing: .08em; }
  .home-page .masthead .tagline { font-size: .75rem; letter-spacing: .12em; }
}


/* What's On: tipos e periodos sob o menu; apresentacao e busca abaixo. */
.filterbar--prominent { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.2rem 1rem; margin-top: 1.2rem; }
.filterbar--prominent .filters--tools { display: contents; }
.filterbar--prominent .filters--kinds { grid-column: 1; grid-row: 1; justify-content: flex-start; flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; mask-image: none; -webkit-mask-image: none; visibility: visible; }
.filterbar .filters--when { display: flex; flex-wrap: wrap; gap: .5rem; border: 0; border-radius: 0; overflow: visible; }
.filterbar .filters--when[hidden] { display: none; }
.filterbar .filters--when .chip { min-height: 40px; padding: .3rem .85rem; border: var(--rule); border-radius: 999px; font-size: .68rem; letter-spacing: .14em; }
.filterbar .filters--when [data-when="next"], .filterbar .filters--when [data-when="later"] { display: none; }
.filterbar .filters--when .chip--mobile { display: inline-flex; }
.filterbar--prominent .filters--when { grid-column: 2; grid-row: 1; flex-wrap: nowrap; }
.filterbar--prominent .hero { grid-column: 1 / -1; grid-row: 2; width: 100%; padding: 0; }
.filterbar--prominent .hero .intro { margin: .5rem auto; text-align: center; }
.filterbar--prominent .search { grid-column: 1 / -1; grid-row: 3; justify-self: center; width: min(100%, 680px); padding: 1.1rem 1.25rem; background: var(--cream); border: var(--rule); border-radius: 28px; }
.filterbar--prominent .search-label { display: block; margin-bottom: .65rem; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.filterbar--prominent .search input { display: block; width: 100%; min-height: 54px; border: 1px solid var(--taupe); border-radius: 999px; background: var(--paper); padding-left: 2.8rem; font-size: 16px; }
.filterbar--prominent .search input::placeholder { letter-spacing: 0; }
.filterbar--prominent .search input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.filterbar--prominent .search > .search-icon { display: block; top: auto; bottom: 2.35rem; left: 2.35rem; transform: none; }
.filterbar--prominent .search-toggle { display: none; }
@media (min-width: 1181px) {
  .filterbar--prominent .chip { padding-inline: .65rem; letter-spacing: .08em; }
}
@media (max-width: 1180px) {
  .filterbar--prominent { grid-template-columns: minmax(0, 1fr); }
  .filterbar--prominent .filters--when { grid-column: 1; grid-row: 2; }
  .filterbar--prominent .hero { grid-row: 3; }
  .filterbar--prominent .search { grid-row: 4; }
}
@media (max-width: 760px) {
  .filterbar .filters--when .chip { min-height: 36px; padding: .25rem .8rem; font-size: .64rem; }
  .filterbar--prominent .search { padding: .85rem; border-radius: 24px; }
  .filterbar--prominent .search input { padding-left: 2.25rem; }
  .filterbar--prominent .search > .search-icon { left: 1.6rem; bottom: 2.1rem; }
}

.filterbar .filters--when .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* Menus nativos no celular: teclado, toque e listas do proprio navegador. */
.hero .intro { text-align: center; width: 100%; margin-inline: auto; }
.mobile-filters { display: none; }
@media (max-width: 760px) {
  .has-mobile-filters .filters--kinds, .has-mobile-filters .filters--when { display: none; }
  .has-mobile-filters .mobile-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; grid-column: 1 / -1; grid-row: 1; width: 100%; }
  .mobile-filters[hidden] { display: none; }
  /* 23/11/2026: os menus do celular ja vem no HTML (antes o app.js mostrava depois de carregar e a pagina
     pulava ~70px no Maps). Sem JS os menus nao funcionam: ai voltam os chips, que sao links. */
  html:not(.js) .has-mobile-filters .mobile-filters { display: none; }
  html:not(.js) .has-mobile-filters .filters--kinds { display: flex; }
  .mobile-filter { display: grid; gap: .25rem; min-width: 0; font-size: .65rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
  .mobile-filter select { width: 100%; min-width: 0; min-height: 40px; padding: .4rem .65rem; border: var(--rule); border-radius: 24px; background-color: var(--paper); color: var(--ink); font: inherit; font-size: 16px; letter-spacing: normal; text-transform: none; }
  .mobile-filter select:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
  .filterbar--prominent.has-mobile-filters .hero { grid-row: 2; }
  .filterbar--prominent.has-mobile-filters .search { grid-row: 3; }
  .filterbar:not(.filterbar--prominent).has-mobile-filters .search { grid-row: 2; grid-column: 1 / -1; width: 100%; }
  .filterbar:not(.filterbar--prominent).has-mobile-filters .search input { display: block; width: 100%; font-size: 16px; }
  .filterbar:not(.filterbar--prominent).has-mobile-filters .search > .search-icon { display: block; }
  .filterbar:not(.filterbar--prominent).has-mobile-filters .search-toggle { display: none; }
}

/* Busca sem titulo visual, com nome acessivel preservado. */
@media (max-width: 760px) {
  .filterbar--prominent.has-mobile-filters { gap: .85rem; }
  .filterbar--prominent .search { padding: .65rem; }
  .filterbar--prominent .search input { min-height: 46px; }
  .filterbar--prominent .search > .search-icon { left: 1.4rem; bottom: 1.65rem; }
}

@media (max-width: 760px) {
  .hero .intro { font-size: clamp(.75rem, 3.3vw, .875rem); max-width: 100%; line-height: 1.45; }
}

/* Assinatura editorial apos a lista, antes do rodape. */
.hero--closing { margin: clamp(2.5rem, 5vw, 4rem) auto 0; padding-bottom: 1.2rem; }
.hero--closing .intro { margin: 0 auto; text-align: center; }
.filterbar--no-intro .search { grid-row: 2; }
@media (max-width: 1180px) { .filterbar--no-intro .search { grid-row: 3; } }
@media (max-width: 760px) { .filterbar--no-intro.has-mobile-filters .search { grid-row: 2; } }

/* ---------- apoio dos leitores (restaurante, bar e cafe) ---------- */
.support { margin: .45rem 0 0; border-top: var(--rule); }
.support summary {
  list-style: none; cursor: pointer; min-height: 44px;
  display: flex; flex-wrap: wrap; align-items: center; gap: .4em;
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft);
}
.support summary::-webkit-details-marker { display: none; }
.support-cta { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.support summary:hover .support-cta { text-decoration-thickness: 2px; }
.support-body { padding: .2rem 0 .3rem; font-size: .88rem; line-height: 1.65; color: var(--ink-soft); }
.support-body p { margin: 0 0 .7rem; }
.support-title { font-family: var(--serif); font-style: italic; font-size: 1.12rem; color: var(--ink); }
.support-amounts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem !important; }
.support-btn {
  min-height: 44px; min-width: 64px; padding: 0 1rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--ink); color: var(--ink); text-decoration: none;
  font-size: .78rem; letter-spacing: .1em; transition: background .2s, color .2s, transform 160ms var(--ease-out);
}
.support-btn:focus-visible { background: var(--ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .support-btn:hover { background: var(--ink); color: var(--paper); } }
.support-note { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe-text); margin: 0 !important; }
.place-facts .support { margin-top: 1.4rem; }

/* Maps (24/11/2026, pedido do usuario): a busca saiu da barra de filtros e fica embaixo do titulo
   "Map of our Chicago picks", centralizada e sempre aberta (tambem no celular); o titulo do Maps perdeu o traco. */
.maps .section-title::after { display: none; }
.maps .search--maps { width: min(100%, 560px); margin: 0 auto 1.1rem; }
.maps .search--maps input {
  display: block; width: 100%; min-height: 48px; padding-left: 2.8rem;
  border: 1px solid var(--taupe); border-radius: 999px; background: var(--paper); font-size: 16px;
}
.maps .search--maps input::placeholder { letter-spacing: 0; }
.maps .search--maps input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.maps .search--maps > .search-icon { display: block; left: 1.15rem; }
.maps .search--maps + .maps-help { margin-top: 0; }

/* Instagram no menu, a direita de Maps (24/11/2026, pedido do usuario): a pilula do rodape, um pouco menor.
   No celular (menu numa linha so) e na barra fina que aparece ao rolar fica so o icone. */
.nav { align-items: center; }
.nav .nav-ig, .topbar-nav .nav-ig {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-width: 0; min-height: 32px; padding: .15rem .95rem;
  border: var(--rule); border-radius: 999px;
  font-size: .78rem; letter-spacing: .04em; text-transform: none; color: var(--ink); white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform 160ms var(--ease-out);
}
.nav .nav-ig::after { display: none; }
.nav-ig svg { flex: none; }
.nav .nav-ig:focus-visible, .topbar-nav .nav-ig:focus-visible { background: var(--ink); border-color: var(--ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) {
  .nav .nav-ig:hover, .topbar-nav .nav-ig:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
}
.topbar-nav { align-items: center; }
.topbar-nav .nav-ig { min-height: 30px; width: 34px; padding: 0; flex: none; }
@media (max-width: 360px) { .topbar-nav { gap: .55rem; } }
.topbar-nav .nav-ig-handle { display: none; }
@media (max-width: 520px) {
  .nav .nav-ig { width: 30px; min-height: 30px; padding: 0; flex: none; } /* menu fica na altura de antes */
  .nav .nav-ig-handle { display: none; }
}

/* "Contact Us" no rodape (24/11/2026, pedido do usuario): pilula igual a do Instagram, embaixo dela; leva para a
   pagina /contact (antes abria o formulario no proprio rodape). */
.contact { max-width: 640px; margin: .7rem auto 0; }
.contact-toggle {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 44px; padding: .35rem 1.1rem;
  border: var(--rule); border-radius: 999px; text-decoration: none;
  font-size: .82rem; letter-spacing: .04em; color: var(--ink);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform 160ms var(--ease-out);
}
.contact-toggle svg { flex: none; }
.contact-toggle:focus-visible { background: var(--ink); border-color: var(--ink); color: var(--paper); outline: 2px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .contact-toggle:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); } }

/* Chamada do Instagram no rodape (24/11/2026, pedido do usuario; frase escolhida entre 10): na linha da pilula,
   com a flecha apontando para ela; no celular a frase sobe e a flecha gira para baixo. */
.footer-social { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 1rem; }
.footer-ig-cta {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 1.05rem;
  color: #AF2424; /* 24/11/2026: vermelho e negrito para destacar (o mesmo vermelho do selo "N days left" urgente) */
}
.footer-ig-arrow { display: inline-block; font-family: var(--sans); font-style: normal; font-weight: 700; transition: transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .footer-social:has(.footer-ig:hover) .footer-ig-arrow { transform: translateX(3px); }
}
@media (max-width: 560px) {
  .footer-social { flex-direction: column; gap: .35rem; }
  .footer-ig-cta { flex-direction: column; gap: .3rem; text-wrap: balance; }
  .footer-ig-arrow { transform: rotate(90deg); }
}
@media (max-width: 560px) and (hover: hover) and (pointer: fine) {
  .footer-social:has(.footer-ig:hover) .footer-ig-arrow { transform: rotate(90deg) translateX(3px); }
}
@media (prefers-reduced-motion: reduce) { .footer-ig-arrow { transition: none; } }

/* Chamada do Instagram na linha dos filtros da capa (24/11/2026, pedido do usuario): a frase do rodape, sem a
   flecha, em vermelho e negrito, como link. Computador (>1180px): entre os tipos e os periodos. Tablet (761 a
   1180px): a direita dos periodos, na segunda linha. Celular, em pe ou deitado: nao aparece. */
.filters-ig {
  font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 1.02rem; line-height: 1.25;
  color: #AF2424; text-decoration: none; text-align: center; text-wrap: balance;
  text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.filters-ig:focus-visible { outline: 2px solid #AF2424; outline-offset: 4px; border-radius: 2px; }
@media (hover: hover) and (pointer: fine) { .filters-ig:hover { text-decoration-line: underline; } }
@media (min-width: 1181px) {
  /* laterais iguais quando cabe: a frase fica no centro da pagina, alinhada com a busca; quando os tipos nao
     cabem na metade, a coluna deles cresce e a frase anda para a direita sem encostar */
  .filterbar--ig { grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); }
  .filterbar--ig .filters-ig { grid-column: 2; grid-row: 1; justify-self: center; padding-inline: .5rem; }
  .filterbar--ig .filters--when { grid-column: 3; justify-self: end; }
}
@media (min-width: 761px) and (max-width: 1180px) {
  .filterbar--ig { grid-template-columns: minmax(0, 1fr) auto; }
  .filterbar--ig .filters--kinds { grid-column: 1 / -1; }
  .filterbar--ig .filters-ig { grid-column: 2; grid-row: 2; justify-self: end; text-align: right; }
}
@media (max-width: 760px), (pointer: coarse) and (max-height: 500px) { .filters-ig { display: none; } }

/* "Contact Us" no menu (24/11/2026, pedido do usuario): parceiro da pilula do Instagram, leva para /contact.
   No celular fica so o envelope; ate 379px o menu encolhe a letra para tudo caber numa linha. */
.nav .nav-contact, .topbar-nav .nav-contact {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-width: 0; min-height: 32px; padding: .15rem .95rem;
  border: var(--rule); border-radius: 999px;
  font-size: .78rem; letter-spacing: .04em; text-transform: none; color: var(--ink); white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform 160ms var(--ease-out);
}
.nav .nav-contact::after { display: none; }
.nav-contact svg { flex: none; }
.nav .nav-contact:focus-visible, .topbar-nav .nav-contact:focus-visible,
.nav .nav-contact[aria-current="page"], .topbar-nav .nav-contact[aria-current="page"] {
  background: var(--ink); border-color: var(--ink); color: var(--paper); box-shadow: none; border-radius: 999px;
}
@media (hover: hover) and (pointer: fine) {
  .nav .nav-contact:hover, .topbar-nav .nav-contact:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
}
.nav-contact:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .nav-contact:active { transform: none; } }
.topbar-nav .nav-contact { min-height: 30px; width: 34px; padding: 0; flex: none; }
.topbar-nav .nav-contact-label { display: none; }
@media (max-width: 379px) { .topbar-nav .nav-contact { display: none; } }
@media (max-width: 520px) {
  .nav .nav-contact { width: 30px; min-height: 30px; padding: 0; flex: none; }
  .nav .nav-contact-label { display: none; }
}
@media (max-width: 379px) {
  .nav { gap: .45rem; }
  .nav a { font-size: .6rem; letter-spacing: .04em; }
  .nav .nav-ig, .nav .nav-contact { width: 28px; min-height: 28px; }
}

/* Pagina /contact (24/11/2026): so o formulario, no mesmo recuo do Maps */
.contact-page { max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter) clamp(3rem, 6vw, 5rem); }
.contact-page .back-home { padding: 0; }
.contact-page .note-form { padding-top: 0; }
.contact-page .note-done { margin-block: 1rem 3rem; }

/* Rodape (24/11/2026, frase escolhida pelo dono entre 8): o site nao tem pop-ups, anuncios pagos nem cookies */
.footer-promise { margin: 1.3rem auto 0; max-width: 46ch; font-size: .85rem; line-height: 1.5; color: var(--ink); text-wrap: balance; }

/* Pagina do card (24/11/2026, pedido do usuario): o quadro do carrossel fica do tamanho da foto da vez. Antes ele
   pegava a altura da foto mais alta e as outras sobravam com faixa bege (19 cards). Nasce com a proporcao da 1a foto
   (style no .track, sem pulo ao abrir); o app.js ajusta a altura ao trocar de foto. Os cards da grade nao mudam. */
/* largura fixa: com altura posta pelo JS, o aspect-ratio passaria a calcular a largura a partir dela (e o quadro crescia em ciclo) */
.media--fit .track { width: 100%; align-items: flex-start; overflow-y: hidden; transition: height .35s var(--ease-out); }
.media--fit .slide picture { display: block; }
.media--fit .slide .media-el { display: block; width: 100%; height: auto; }
@media (prefers-reduced-motion: reduce) { .media--fit .track { transition: none; } }

/* Links de afiliado (28/11/2026): aviso curto embaixo do titulo do card com link de ingresso com comissao,
   link "Affiliate disclosure" no rodape e a pagina /affiliate-disclosure (mesmo recuo do /contact) */
.affiliate-note { margin: .9rem auto 0; max-width: 52ch; font-size: .82rem; line-height: 1.5; color: var(--ink-soft); }
.affiliate-note a, .footer-fine a { color: inherit; text-underline-offset: 3px; }
.footer-fine a { white-space: nowrap; }
.disclosure-text { max-width: 640px; margin: 0 auto; font-size: 1.02rem; font-weight: 300; line-height: 1.6; }
.disclosure-text p { margin: 0 0 1.15em; }

/* Botao "Get tickets" (28/11/2026): pilula vinho (bordo profundo, pedido do dono: cor de luxo; 10:1 com o papel) embaixo da mini descricao da pagina do card (ou da foto, sem
   descricao), no mesmo desenho do "Write to the editors"; so aparece quando o card tem link de ingresso */
.tickets { margin: clamp(1.1rem, 2.6vw, 1.7rem) 0 0; text-align: center; }
.tickets-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em; min-height: 48px;
  padding: .7rem 1.6rem; border: 1px solid var(--wine); border-radius: 28px; background: var(--wine); color: var(--paper);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--wine) 25%, transparent);
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform 160ms var(--ease-out);
}
.tickets-btn:active { transform: scale(.97); }
.tickets-btn:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .tickets-btn:hover { background: var(--wine-deep); border-color: var(--wine-deep); } }
@media (prefers-reduced-motion: reduce) { .tickets-btn:active { transform: none; } }

/* Avaliacoes dos leitores (28/11/2026): coluna da esquerda da pagina do card, depois do texto. Estrelas em radio
   (funciona sem JS); a ordem 5..1 com row-reverse acende "ate aqui" com ~ no hover e no marcado. */
.rate { margin-top: clamp(1.6rem, 4vw, 2.4rem); padding-top: clamp(1.2rem, 3vw, 1.6rem); border-top: var(--rule); }
.rate-title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.3rem; margin: 0 0 .6rem; }
.rate-summary p { margin: 0 0 .4rem; }
.rate-avg { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; font-size: 1rem; }
.rate-avg-stars, .review-stars { color: var(--sand); letter-spacing: .08em; }
.rate-avg-stars { font-size: 1.1rem; }
.rate-avg-stars .is-on, .review-stars .is-on { color: var(--wine); }
.rate-count, .rate-empty { color: var(--ink-soft); font-size: .92rem; }
.review-list { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.review { padding-bottom: 1rem; border-bottom: 1px solid color-mix(in srgb, var(--sand) 60%, transparent); }
.review-head { margin: 0; display: flex; align-items: center; gap: .6rem; }
.review-price { font-size: .78rem; letter-spacing: .06em; color: var(--ink-soft); }
.review blockquote { margin: .45rem 0 0; }
.review blockquote p { margin: 0; font-size: 1rem; line-height: 1.6; white-space: pre-line; }
.review-by { margin: .4rem 0 0; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.rate-form { margin-top: 1.4rem; display: grid; gap: 1rem; padding: clamp(1rem, 2.5vw, 1.4rem); background: color-mix(in srgb, var(--cream) 70%, var(--paper)); border-radius: 6px; }
.rate-form[hidden] { display: none; }
.rate-form-title { margin: 0; font-family: var(--serif); font-size: 1.1rem; }
.rate-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.rate-label { padding: 0; margin-bottom: .45rem; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.rate-stars { display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
.rate-stars input, .rate-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.rate-stars label { cursor: pointer; font-size: 1.9rem; line-height: 1; padding: .1rem .12rem; color: var(--sand); transition: color .15s ease, transform 160ms var(--ease-out); }
.rate-stars input:checked ~ label { color: var(--wine); }
.rate-stars input:focus-visible + label { outline: 2px solid var(--wine); outline-offset: 2px; border-radius: 4px; }
@media (hover: hover) and (pointer: fine) {
  .rate-stars:hover label { color: var(--sand); }
  .rate-stars label:hover, .rate-stars label:hover ~ label { color: var(--wine); }
}
.rate-stars label:active { transform: scale(.92); }
.rate-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.rate-chip { cursor: pointer; }
.rate-chip span {
  min-height: 44px; padding: .35rem .85rem; border: 1px solid var(--sand); border-radius: 22px;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15;
  font-size: .85rem; color: var(--ink); background: var(--paper); transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.rate-chip small { font-size: .66rem; color: var(--ink-soft); letter-spacing: .02em; }
.rate-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.rate-chip input:checked + span small { color: color-mix(in srgb, var(--paper) 80%, transparent); }
.rate-chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .rate-chip:hover span { border-color: var(--ink); } }
.rate-form .note-field input, .rate-form .note-field textarea { background: var(--paper); }
.rate-form .note-field textarea { min-height: 6rem; }
.rate-check { display: flex; gap: .55rem; align-items: flex-start; font-size: .88rem; color: var(--ink); cursor: pointer; }
.rate-check input { margin-top: .2rem; width: 18px; height: 18px; accent-color: var(--wine); }
.rate-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.rate-send {
  min-height: 44px; padding: .55rem 1.3rem; border: 1px solid var(--ink); border-radius: 24px; background: var(--ink);
  font: inherit; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--paper); cursor: pointer;
  transition: background .2s ease, color .2s ease, transform 160ms var(--ease-out);
}
.rate-send:active { transform: scale(.97); }
.rate-send:disabled { opacity: .6; cursor: wait; }
@media (hover: hover) and (pointer: fine) { .rate-send:hover { background: var(--cream); color: var(--ink); } }
.rate-restart { font-size: .85rem; color: var(--ink-soft); text-underline-offset: 3px; }
.rate-status { margin: 0; font-size: .9rem; color: var(--ink); }
.rate-status:empty { display: none; }
.rate-code-sent { margin: 0; font-size: .95rem; }
.rate-fine { margin: 0; font-size: .76rem; color: var(--ink-soft); }
.rate-fine a { color: inherit; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .rate-stars label, .rate-send { transition: none; } .rate-stars label:active, .rate-send:active { transform: none; } }
/* avaliacoes depois das informacoes do card (28/11/2026): bloco centralizado da largura do texto */
.rate p { margin: 0; }
.rate .rate-summary p { margin: 0 0 .4rem; }
.rate h2.rate-title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.3rem; margin: 0 0 .6rem; }
.rate .review-list { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: 1rem; }
.rate .review-list li { margin: 0; }
.rate .review blockquote {
  margin: .45rem 0 0; padding-left: .9rem; border-left: 2px solid var(--wine);
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--ink);
}
.rate .review blockquote p { margin: 0; font-size: inherit; }
.rate .review-by { margin: .45rem 0 0; }
.rate .rate-form { background: var(--cream); }
.rate .rate-form-title { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; }

.rate { max-width: 720px; margin: clamp(2rem, 5vw, 3rem) auto 0; }

/* card vencido nos 30 dias de pagina (30/11/2026, pedido do dono): foto em moldura vermelha, selo "Ended"
   e o aviso embaixo da foto, no mesmo vermelho do selo "N days left" urgente (branco sobre ele: 6,6:1) */
.ended-frame {
  position: relative; --badge-inset: clamp(.5rem, 2vw, .9rem);
  border: 5px solid #AF2424; border-radius: 4px; background: #AF2424;
}
.ended-frame .media { border-radius: 0; }
.ended-badge {
  position: absolute; top: var(--badge-inset); left: var(--badge-inset); z-index: 3; margin: 0; pointer-events: none;
  padding: .3em .85em; border-radius: 999px; background: #AF2424; color: #fff;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2;
  box-shadow: 0 1px 3px color-mix(in srgb, var(--ink) 25%, transparent);
}
.ended-note {
  margin: 0; padding: .8rem 1rem .85rem; color: #fff; text-align: center;
  font-size: 1rem; line-height: 1.5; text-wrap: balance;
}
.ended-note strong { font-weight: 700; }
.ended-note a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ended-note a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 2px; }

/* avaliacoes recolhidas (30/11/2026, pedido do dono): a mesma pilula do "Write to the editors" abre o formulario */
.rate-box { margin-top: 1.2rem; }
.rate-toggle {
  list-style: none; cursor: pointer; width: fit-content; max-width: 100%; margin: 0 auto; min-height: 52px;
  padding: .8rem 1.6rem; border: 1px solid var(--ink); border-radius: 28px; background: var(--cream);
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .45em;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-align: center;
  box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 8%, transparent);
  transition: background .2s ease, color .2s ease, transform 160ms var(--ease-out);
}
.rate-toggle::-webkit-details-marker { display: none; }
.rate-toggle-icon { font-size: 1rem; letter-spacing: 0; color: var(--wine); }
.rate-toggle-cta { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.rate-box[open] .rate-toggle { background: var(--ink); color: var(--paper); }
.rate-box[open] .rate-toggle-icon { color: var(--paper); }
.rate-toggle:active { transform: scale(.97); }
.rate-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .rate-toggle:hover { background: var(--ink); color: var(--paper); }
  .rate-toggle:hover .rate-toggle-icon { color: var(--paper); }
}
@media (prefers-reduced-motion: reduce) { .rate-toggle:active { transform: none; } }
