/* Você em Sampa — visual magazine inspirado no Bingo (Flask)
   Tipografia e estrutura de revista; acentos da marca (coral/cyan). */

:root {
  --black: #000000;
  --ink: #282828;
  --paper: #f7f7f7;
  --paper-2: #ffffff;
  --coral: #ff4c4c;
  --cyan: #00b7eb;
  --muted: #777777;
  --line: #e6e6e6;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  --font-display: "Montserrat", sans-serif;
  --font-body: "Lato", sans-serif;
  --max: 1170px;
  --header-h: 0px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--coral); }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-outer { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }

/* ——— Topbar ——— */
.topbar {
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 34px;
  padding: 0.35rem 0;
}

.topbar-date { opacity: 0.85; text-transform: capitalize; }

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.topbar-links a { color: #fff; opacity: 0.9; }
.topbar-links a:hover { color: var(--cyan); opacity: 1; }

/* ——— Admin bar (site público, usuário logado) ——— */
.admin-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #111;
  color: #f2f2f2;
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1;
}

.admin-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.55rem 1rem;
  min-height: 40px;
  box-sizing: border-box;
}

.admin-bar__links,
.admin-bar__user {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
}

.admin-bar__label {
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-right: 0.15rem;
}

.admin-bar a {
  color: #d8d8d8;
  text-decoration: none;
  font-weight: 600;
}

.admin-bar a:hover {
  color: #fff;
}

.admin-bar__user span {
  color: #9a9a9a;
  font-weight: 500;
}

.admin-bar__user a {
  color: #ff7a7a;
}

.admin-bar__user a:hover {
  color: #ffb0b0;
}

body.has-admin-bar {
  --admin-bar-h: 40px;
}

body.has-admin-bar .site-header {
  top: var(--admin-bar-h);
}

@media (max-width: 700px) {
  .admin-bar__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
  }

  body.has-admin-bar {
    --admin-bar-h: auto;
  }

  body.has-admin-bar .site-header {
    top: 0;
  }
}

/* ——— Header / logo ——— */
.site-header {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 80;
}

.header-brand-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0 0.9rem;
}

.brand {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  line-height: 0;
}

.brand:hover { opacity: 0.92; color: inherit; }

.brand-logo {
  height: clamp(52px, 8vw, 78px);
  width: auto;
  animation: brandIn 0.7s ease both;
}

.brand-logo--footer { height: 64px; }
.brand-logo--home {
  height: clamp(72px, 16vw, 120px);
  margin: 0 auto 1rem;
}

@keyframes brandIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

.header-brand-row .brand { grid-column: 2; justify-self: center; }

.nav-toggle {
  width: 40px;
  height: 36px;
  border: 1px solid var(--line);
  background: #fff;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 9px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.search-form {
  display: flex;
  gap: 0;
  border: 1px solid var(--line);
  background: #fff;
}

.search-form input {
  border: 0;
  padding: 0.55rem 0.75rem;
  min-width: 140px;
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
}

.search-form button,
.btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  padding: 0.65rem 1rem;
  background: var(--coral);
  color: #fff;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.search-form button:hover,
.btn:hover {
  background: var(--ink);
  color: #fff;
}

.btn-primary { background: var(--coral); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}
.btn-gold { background: var(--cyan); color: #000; }
.btn-gold:hover { background: var(--coral); color: #fff; }

/* ——— Main nav ——— */
.main-nav {
  border-top: 1px solid var(--line);
  background: #fff;
}

.nav-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.1rem;
  justify-content: center;
  padding: 0.15rem 0;
}

.main-nav a {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.85rem 0.85rem;
  color: var(--ink);
  position: relative;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--coral);
}

.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0;
  height: 2px;
  background: var(--coral);
}

/* ——— Featured magazine grid ——— */
.feat-section {
  padding: 1rem 0 0.75rem;
  animation: riseIn 0.75s ease both;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.feat-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 0.75rem;
  /* Cabe na primeira tela: header + nav + paddings */
  height: clamp(280px, calc(100dvh - 11.5rem), 560px);
  max-height: calc(100dvh - 11.5rem);
  min-height: 0;
}

.feat-main {
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.feat-main .story,
.feat-main .story-link,
.feat-main .story-media {
  height: 100%;
  min-height: 0;
}

.feat-main .story--lead .story-media,
.feat-main .story--overlay .story-media {
  aspect-ratio: auto;
  min-height: 0;
  height: 100%;
}

.feat-main .story-media img {
  object-fit: cover;
  object-position: center center;
}

.feat-side {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 0.75rem;
  min-height: 0;
  height: 100%;
  align-content: stretch;
}

.feat-side > .story {
  min-height: 0;
  height: 100%;
}

.feat-side .story-link,
.feat-side .story-media {
  height: 100%;
  min-height: 0;
}

.feat-side .story--overlay .story-media {
  aspect-ratio: auto;
  min-height: 0;
  height: 100%;
}

.feat-side .story-title {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
}

.feat-side .story-overlay-content {
  padding: 0.85rem 0.95rem 0.95rem;
}

.feat-empty {
  text-align: center;
  padding: 3.5rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
}

.feat-empty h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.6rem;
}

.feat-empty p {
  color: var(--muted);
  max-width: 40ch;
  margin: 0 auto 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ——— Stories / modules ——— */
.story { display: flex; flex-direction: column; gap: 0.55rem; }
.story-link { display: contents; color: inherit; }
.story-link:hover { color: inherit; }

.story-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #ddd;
  overflow: hidden;
}

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.story-media--logo,
.rail-item-media--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
}

.story-media--logo img,
.rail-item-media--logo img,
.story-media__logo {
  width: auto;
  height: auto;
  max-width: 86%;
  max-height: 86%;
  object-fit: contain;
}

.story:hover .story-media--logo img {
  transform: none;
}

.story:hover .story-media img { transform: scale(1.04); }

.story--overlay .story-media {
  aspect-ratio: auto;
  min-height: 180px;
  height: 100%;
}

.story--lead .story-media { min-height: 0; }

.story--overlay .story-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.78) 100%);
  pointer-events: none;
}

.story-overlay-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1.1rem 1.15rem 1.2rem;
  color: #fff;
}

.story--overlay .story-kicker {
  color: #fff;
  background: var(--coral);
  display: inline-block;
  padding: 0.2rem 0.45rem;
  margin-bottom: 0.45rem;
}

.story--overlay .story-title {
  color: #fff;
  margin: 0 0 0.35rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.story--overlay .story-meta { color: rgba(255, 255, 255, 0.85); }
.story--overlay:hover .story-title { color: var(--cyan); }

.story-kicker {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--coral);
}

.story-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: var(--ink);
}

.story:hover .story-title { color: var(--coral); }
.story--lead .story-title { font-size: clamp(1.5rem, 2.6vw, 2.15rem); }

.story-meta {
  font-size: 12px;
  color: var(--muted);
}

.story--list .story-link {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.85rem;
  align-items: center;
}

.story--list .story-media {
  aspect-ratio: 1;
  min-height: 0;
}

.story--list .story-title { font-size: 0.95rem; }

.event-card .price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  color: var(--cyan);
}

/* ——— Sections ——— */
.section { padding: 2.25rem 0; }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0.55rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
  position: relative;
  padding-left: 0.7rem;
}

.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 3px;
  background: var(--coral);
}

.section-head a {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.section-head a:hover {
  color: var(--coral);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.grid-featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.25rem;
}

.list-layout {
  display: grid;
  gap: 1rem;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
}

.carousel-track > * { scroll-snap-align: start; }

.ad-slot {
  margin: 1.5rem auto;
  width: min(100% - 2rem, var(--max));
  padding: 1rem;
  border: 1px dashed var(--line);
  background: #fff;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.ad-slot img { margin: 0 auto; }

/* ——— Home: coluna principal + sidebar direita ——— */
.home-body { padding: 0 0 2.5rem; }

.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
  align-items: start;
}

.home-main .section--flush {
  padding: 2rem 0 0;
}

.home-main .section--flush:first-child { padding-top: 0.5rem; }

.home-main .ad-slot {
  width: 100%;
  margin: 1.5rem 0 0;
}

.home-rail {
  position: sticky;
  top: 1rem;
  display: grid;
  gap: 1.5rem;
  padding-top: 0.5rem;
}

.rail-panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1rem 1rem 0.35rem;
}

.rail-panel .section-head {
  margin-bottom: 0.85rem;
}

.rail-panel .section-head h2 {
  font-size: 0.95rem;
}

.rail-list {
  display: grid;
  gap: 0;
}

.rail-item {
  border-top: 1px solid var(--line);
}

.rail-item:first-child { border-top: 0; }

.rail-item-link {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.75rem;
  padding: 0.75rem 0;
  align-items: start;
}

.rail-item-media {
  aspect-ratio: 1;
  background: #ececec;
  overflow: hidden;
}

.rail-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rail-item-body .story-kicker {
  margin-bottom: 0.2rem;
  font-size: 10px;
}

.rail-item-body .story-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.25rem;
}

.rail-item-body .story-meta {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}

.home-rail .ad-slot {
  width: 100%;
  margin: 0;
}

/* ——— Page banner (Guia, listagens) ——— */
.page-banner {
  background:
    linear-gradient(120deg, rgba(255, 76, 76, 0.08), rgba(0, 183, 235, 0.08)),
    #fff;
  border-bottom: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
  animation: riseIn 0.65s ease both;
}

.page-banner-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin: 0.4rem 0 0.6rem;
  max-width: 18ch;
  line-height: 1.15;
}

.page-banner-inner p {
  color: var(--muted);
  max-width: 46ch;
  margin: 0 0 1.1rem;
}

.cat-tile {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.1rem 1rem;
  transition: border-color .2s ease, transform .2s ease;
}

.cat-tile:hover {
  border-color: var(--coral);
  transform: translateY(-2px);
  color: inherit;
}

/* ——— Article ——— */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
  align-items: start;
  padding: 2.25rem 0 2rem;
}

.article-layout--full {
  grid-template-columns: 1fr;
  width: min(100% - 2rem, 1100px);
}

.page-article .article-layout--full.container {
  width: min(100% - 2rem, 1100px);
}

.article-hero {
  padding: 2.25rem 0 0;
  min-width: 0;
}

.article-hero > .story-kicker:first-child {
  margin-top: 0.25rem;
}

.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.3;
  margin: 0.5rem 0 0.75rem;
  max-width: none;
  width: 100%;
  font-weight: 700;
  text-align: justify;
}

.article-subtitle {
  font-size: 1.15rem;
  font-style: italic;
  text-align: justify;
  color: var(--muted);
  max-width: none;
  width: 100%;
  margin: 0;
}

.article-meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 1rem 0 1.5rem;
  font-weight: 400;
}

.article-meta-label {
  font-weight: 700;
  color: inherit;
}

.article-meta-value,
.article-meta-value:link,
.article-meta-value:visited {
  font-weight: 400;
  color: inherit;
  text-decoration: none;
}

.article-meta-value:hover {
  text-decoration: underline;
}

/* ——— Compartilhar ——— */
.share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
}

.share-bar__label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-right: 0.15rem;
}

.share-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.share-bar__btn svg {
  width: 1.05rem;
  height: 1.05rem;
}

.share-bar__btn:hover,
.share-bar__btn:focus-visible {
  border-color: var(--coral);
  color: var(--coral);
  background: #fff;
  outline: none;
}

.share-bar__btn.is-copied {
  border-color: var(--cyan);
  color: var(--cyan);
}

.event-page__header .share-bar {
  margin-top: 1.15rem;
  margin-bottom: 0;
}

.event-page .share-bar {
  margin-top: 1.15rem;
  margin-bottom: 1.5rem;
}

.article-cover-figure {
  margin: 0 0 2rem;
}

.article-cover {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  margin-bottom: 0;
}

.article-cover--logo,
.event-page__cover--logo .article-cover {
  max-height: 180px;
  object-fit: contain;
  background: #f0f0f0;
  padding: 2.75rem 3rem;
}

/* ——— Página do evento ——— */
.page-event .site-main {
  background:
    linear-gradient(180deg, #efefef 0%, var(--paper) 220px);
}

.event-page {
  padding-bottom: 3rem;
}

.event-page__inner {
  padding-top: 1.75rem;
}

.event-page__cover {
  margin: 0 0 2rem;
}

.event-page__cover .article-cover {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  background: #f0f0f0;
}

.event-page__header {
  margin-bottom: 0;
  animation: eventFadeUp 0.55s ease 0.08s both;
}

.event-page__header .story-kicker {
  display: inline-block;
  margin-bottom: 0.65rem;
}

.event-page__header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 0 0 0.65rem;
  color: var(--ink);
  text-align: left;
  max-width: none;
  white-space: nowrap;
}

.event-page__subtitle {
  margin: 0 0 1rem;
  font-size: 1.12rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 46ch;
}

.event-page__meta {
  margin: 0 0 1rem;
}

.event-page__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.event-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.event-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 2rem 2.5rem;
  align-items: start;
  animation: eventFadeUp 0.55s ease 0.16s both;
}

.event-page__stack {
  display: grid;
  gap: 1.25rem;
  animation: eventFadeUp 0.55s ease 0.16s both;
}

.event-page__lead {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 1.25rem;
  color: var(--ink);
}

.event-page__aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 1.25rem;
}

.event-aside-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.2rem 1.25rem;
}

.event-aside-panel--soft {
  background: #fafafa;
}

.event-aside-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin: 0 0 0.95rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--ink);
}

.event-occ-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.event-occ-list--cols-1 { grid-template-columns: 1fr; }
.event-occ-list--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.event-occ-list--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.event-occ-list--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.event-occ {
  padding: 0.85rem 0.9rem;
  background: #111;
  color: #f5f5f5;
  border-radius: 10px;
  min-width: 0;
}

.event-occ--past {
  background: #9a9a9a;
  color: #efefef;
}

.event-occ--past .event-occ__when {
  color: #f3f3f3;
}

.event-occ--past .event-occ__when span {
  color: #d8d8d8;
}

.event-occ--past .event-occ__prices,
.event-occ--past .event-occ__notes {
  color: #ececec;
}

.event-occ__when {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.35rem;
}

.event-occ__when span {
  color: var(--cyan);
  font-weight: 700;
}

.event-aside-price-from {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink, #1a1a1a);
}

.event-aside-price-from strong {
  font-weight: 800;
  color: var(--cyan, #0aa2c0);
}

.event-occ__prices {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.92rem;
  color: #f0f0f0;
}

.event-occ__notes {
  margin: 0.45rem 0 0;
  font-size: 0.88rem;
  color: #ddd;
}

.event-aside-empty {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.event-aside-cta {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin-top: 0.95rem;
  background: var(--coral);
  color: #fff;
  border: none;
  font-weight: 800;
}

.event-aside-cta:hover {
  background: var(--cyan);
  color: #000;
}

.event-aside-tickets {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  color: var(--ink);
}

.event-aside-panel--venue .story-kicker {
  margin-bottom: 0.65rem;
}

.event-venue-media {
  display: block;
  margin: 0 0 0.75rem;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #ececec;
}

.event-venue-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.event-venue-media:hover img {
  transform: scale(1.04);
}

.event-venue-media--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
}

.event-venue-media--logo img {
  width: auto;
  height: auto;
  max-width: 42%;
  max-height: 42%;
  object-fit: contain;
  opacity: 0.85;
}

.event-venue-media--logo:hover img {
  transform: none;
}

.event-venue-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  line-height: 1.25;
}

.event-venue-address {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.4;
}

.event-aside-panel--soft p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.event-aside-panel--soft p:last-child {
  margin-bottom: 0;
}

.event-aside-panel--soft a {
  color: var(--coral);
  word-break: break-word;
}

.event-aside-panel--soft a:hover {
  color: var(--cyan);
}

@keyframes eventFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 960px) {
  .event-page__layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .event-page__aside {
    position: static;
  }

  .event-occ-list--cols-3,
  .event-occ-list--cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .event-page__inner {
    padding-top: 1.25rem;
  }

  .event-page__header h1 {
    white-space: normal;
  }

  .event-occ-list--cols-2,
  .event-occ-list--cols-3,
  .event-occ-list--cols-4 {
    grid-template-columns: 1fr;
  }
}

.article-cover-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-top: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
}

.article-cover-caption cite {
  font-style: normal;
  font-size: 0.8rem;
  color: #999;
}

.article-cover-caption cite::before {
  content: "Crédito: ";
  font-weight: 600;
  color: #777;
}

.gallery-item {
  margin: 0;
}

.gallery-item .article-cover-caption {
  margin-top: 0.4rem;
}

/* Corpo da matéria: tipografia/espaçamento fiéis ao editor Quill (.ql-editor) */
.article-body {
  width: 100%;
  max-width: none;
  font-size: 1em;
  line-height: 1.65;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem 2.25rem;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
  counter-reset: list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
}

.article-body p,
.article-body ol,
.article-body ul,
.article-body pre,
.article-body blockquote,
.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
  margin: 0;
  padding: 0;
}

.article-body p,
.article-body li {
  line-height: 1.65;
  text-align: justify;
}

.article-body a {
  text-decoration: underline;
}

.article-body a:hover {
  color: var(--coral);
}

.article-body strong { font-weight: 700; }
.article-body em { font-style: italic; }

.article-body h1 { font-size: 2em; }
.article-body h2 { font-size: 1.5em; }
.article-body h3 { font-size: 1.17em; }
.article-body h4 { font-size: 1em; }
.article-body h5 { font-size: 0.83em; }
.article-body h6 { font-size: 0.67em; }

.article-body h2,
.article-body h3 {
  font-family: var(--font-display);
}

.article-body blockquote {
  border-left: 4px solid #ccc;
  margin: 5px 0;
  padding-left: 16px;
}

.article-body .ql-align-center { text-align: center; }
.article-body .ql-align-justify { text-align: justify; }
.article-body .ql-align-right { text-align: right; }
.article-body .ql-align-left { text-align: left; }

.article-body .ql-indent-1:not(.ql-direction-rtl) { padding-left: 3em; }
.article-body .ql-indent-2:not(.ql-direction-rtl) { padding-left: 6em; }
.article-body .ql-indent-3:not(.ql-direction-rtl) { padding-left: 9em; }
.article-body .ql-indent-4:not(.ql-direction-rtl) { padding-left: 12em; }
.article-body .ql-indent-5:not(.ql-direction-rtl) { padding-left: 15em; }
.article-body .ql-indent-6:not(.ql-direction-rtl) { padding-left: 18em; }
.article-body .ql-indent-7:not(.ql-direction-rtl) { padding-left: 21em; }
.article-body .ql-indent-8:not(.ql-direction-rtl) { padding-left: 24em; }
.article-body .ql-indent-9:not(.ql-direction-rtl) { padding-left: 27em; }

/* Listas no formato do Quill (data-list) — não herdar o reset global de ul */
.article-body ol,
.article-body ul {
  padding-left: 1.5em;
  list-style: none;
  margin: 0;
}

.article-body li {
  list-style-type: none;
  padding-left: 1.5em;
  position: relative;
  margin: 0;
}

.article-body li > .ql-ui {
  position: absolute;
}

.article-body li > .ql-ui::before {
  display: inline-block;
  margin-left: -1.5em;
  margin-right: 0.3em;
  text-align: right;
  white-space: nowrap;
  width: 1.2em;
}

.article-body li[data-list="bullet"] > .ql-ui::before { content: "\2022"; }
.article-body li[data-list="ordered"] {
  counter-increment: list-0;
}
.article-body li[data-list="ordered"] > .ql-ui::before {
  content: counter(list-0, decimal) ". ";
}

.article-body li.ql-indent-1:not(.ql-direction-rtl) { padding-left: 4.5em; }
.article-body li.ql-indent-2:not(.ql-direction-rtl) { padding-left: 7.5em; }
.article-body li.ql-indent-3:not(.ql-direction-rtl) { padding-left: 10.5em; }

.article-body img {
  max-width: 100%;
  height: auto;
}

.article-body > *:first-child { margin-top: 0; }
.article-body > *:last-child { margin-bottom: 0; }

.article-tags {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.18);
  font-family: var(--font-display);
  font-size: 0.9rem;
}

@media (max-width: 960px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-body {
    padding: 1.35rem 1.25rem;
    border-radius: 12px;
  }
}

.article-related-links {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.18);
}

.article-related-links--sep {
  margin-top: 1.5rem;
}

.article-related-links .section-head {
  margin-bottom: 1.15rem;
}

.article-related-links .related-card {
  margin: 0 0 1rem;
}

.article-related-links .related-card:last-child {
  margin-bottom: 0;
}

.related-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 1.5rem 1.75rem;
  align-items: start;
  padding: 1.15rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 1.5rem 0;
}

.related-card .story-media,
.related-card__media {
  width: 88px;
  height: 88px;
  min-height: 0;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: #ececec;
}

.related-card .story-media img,
.related-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.related-card__body,
.related-card > div:not(.story-media):not(.related-card__media) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 0;
  padding-top: 0.1rem;
}

.related-card .story-kicker {
  margin: 0;
}

.related-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.related-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
}

.related-card .btn {
  margin-top: 0.55rem;
}

.badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.5rem;
  background: var(--coral);
  color: #fff;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.filters a,
.filters button {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.filters a.active,
.filters a:hover {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
}

/* ——— Filter bar (Agenda, listagens) ——— */
.filter-bar {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.75rem;
  padding: 1.1rem 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.filter-chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-chip.is-active,
.filter-chip.is-active:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.filter-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 0.75rem;
  padding-top: 0.15rem;
  border-top: 1px solid var(--line);
  align-items: end;
}

.filter-fields--events {
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
}

.filter-field--actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  min-width: 0;
}

.filter-field--actions .filter-field-label {
  display: none;
}

.filter-field--actions .filter-clear {
  width: auto;
  flex: 0 0 auto;
}

.filter-field--actions a.filter-clear {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  min-height: 2.45rem;
  padding: 0.55rem 1rem;
}

.filter-field--actions a.filter-clear:hover {
  border-color: var(--coral);
  color: var(--coral);
  background: #fff;
}

/* Multi-select de filtros */
.filter-multi {
  position: relative;
}

.filter-multi__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  min-height: 2.45rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  text-align: left;
  cursor: pointer;
}

.filter-multi__toggle:hover,
.filter-multi.is-open .filter-multi__toggle {
  border-color: var(--coral);
}

.filter-multi__caret {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #666;
  flex: 0 0 auto;
}

.filter-multi.is-open .filter-multi__caret {
  transform: rotate(180deg);
}

.filter-multi__panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 16rem;
  overflow: auto;
  padding: 0.35rem 0;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.filter-multi__option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.4rem 0.85rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.filter-multi__option:hover {
  background: #f6f6f6;
}

.filter-multi__option input {
  margin: 0;
  flex: 0 0 auto;
}

.filter-fields .filter-multi__toggle {
  border-radius: 0;
  min-height: 2.45rem;
}

.filter-fields--guide .filter-multi__toggle {
  border-radius: 8px;
  border-color: #dcdcdc;
}

.filter-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.filter-clear:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.filter-bar > .filter-fields:first-child {
  border-top: 0;
  padding-top: 0;
}

.filter-bar--guide {
  padding: 1.25rem 1.35rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.filter-fields--guide {
  display: grid;
  grid-template-columns:
    minmax(150px, 1.35fr)
    minmax(120px, 1fr)
    minmax(120px, 1fr)
    minmax(110px, 0.9fr)
    minmax(90px, 0.75fr)
    minmax(110px, 0.85fr)
    auto;
  gap: 0.9rem 1rem;
  align-items: end;
  border-top: 0;
  padding-top: 0;
}

.filter-fields--guide .filter-field--search input {
  background: #fff;
}

.filter-fields--guide .filter-field select,
.filter-fields--guide .filter-field input {
  border-radius: 8px;
  background-color: #fff;
  border-color: #dcdcdc;
}

.filter-fields--guide .filter-field select:hover,
.filter-fields--guide .filter-field input:hover,
.filter-fields--guide .filter-field select:focus,
.filter-fields--guide .filter-field input:focus {
  border-color: var(--ink);
  background-color: #fff;
}

.filter-fields--guide .filter-field-label {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #666;
}

.filter-field--action .btn {
  width: 100%;
  min-width: 7.5rem;
  min-height: 2.55rem;
  border-radius: 8px;
  padding-inline: 1.25rem;
}

.filter-field-label--spacer {
  visibility: hidden;
}

.filter-field {
  display: grid;
  gap: 0.35rem;
  margin: 0;
}

.filter-field-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.filter-field select,
.filter-field input[type="date"],
.filter-field input[type="text"],
.filter-field input[type="search"],
.filters select,
.filters input[type="date"],
.filters input[type="text"],
.filters input[type="search"] {
  width: 100%;
  min-height: 2.55rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.3;
  appearance: none;
  border-radius: 0;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.filter-field select,
.filters select {
  padding-right: 2.2rem;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position:
    calc(100% - 16px) calc(50% - 2px),
    calc(100% - 10px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.filter-field select:hover,
.filter-field input:hover,
.filter-field select:focus,
.filter-field input:focus,
.filters select:hover,
.filters input:hover,
.filters select:focus,
.filters input:focus {
  outline: none;
  border-color: var(--ink);
  background-color: #fff;
}

.filter-field input[type="date"] {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.filter-empty {
  grid-column: 1 / -1;
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.pager__link {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--paper-2);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.pager__link:hover {
  color: var(--coral);
  border-color: var(--coral);
}

.pager__link.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.pager__status {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.columnist-hero {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2.25rem 0;
}

.columnist-hero img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
}

/* ——— Footer ——— */
.site-footer {
  margin-top: 3rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.site-footer h4 {
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.9rem;
  color: #fff;
}

.footer-links li { margin-bottom: 0.45rem; }
.site-footer a:hover { color: var(--cyan); }

.footer-copy {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  opacity: 0.7;
}

/* ——— Responsive ——— */
@media (min-width: 961px) {
  .nav-toggle { visibility: hidden; }
  .header-brand-row {
    grid-template-columns: 1fr auto 1fr;
  }
  .header-brand-row .brand { grid-column: 2; }
  .header-search { justify-self: end; }
}

@media (max-width: 1200px) and (min-width: 961px) {
  .filter-fields--guide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .filter-fields--guide .filter-field--search {
    grid-column: 1 / -1;
  }

  .filter-fields--guide .filter-field--action {
    grid-column: 3;
  }
}

@media (max-width: 960px) {
  .feat-grid,
  .grid-featured,
  .grid-3,
  .grid-4,
  .footer-grid,
  .columnist-hero,
  .home-layout {
    grid-template-columns: 1fr;
  }

  .related-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 1.15rem 1.35rem;
  }

  .related-card .story-media,
  .related-card__media {
    width: 72px;
    height: 72px;
  }

  .home-rail { position: static; }

  .filter-fields {
    grid-template-columns: 1fr;
  }

  .filter-fields--guide {
    grid-template-columns: 1fr 1fr;
  }

  .filter-fields--guide .filter-field--search,
  .filter-fields--guide .filter-field--action {
    grid-column: 1 / -1;
  }

  .filter-bar { padding: 0.95rem; }

  .filter-bar--guide { padding: 1.05rem; }

  .feat-grid {
    height: auto;
    max-height: none;
  }

  .feat-main {
    height: auto;
  }

  .feat-main .story-media,
  .story--lead .story-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
    height: auto;
    max-height: min(52dvh, 360px);
  }

  .feat-side {
    grid-auto-rows: auto;
    min-height: 0;
    height: auto;
  }

  .feat-side .story--overlay .story-media {
    aspect-ratio: 16 / 10;
    min-height: 0;
    height: auto;
    max-height: min(28dvh, 200px);
  }

  .main-nav {
    display: none;
    border-bottom: 1px solid var(--line);
  }

  .main-nav.is-open { display: block; }

  .nav-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0 1rem;
  }

  .main-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a.is-active::after { display: none; }

  .header-search { display: none; }
  .topbar-links { display: none; }
}

/* ——— Cookies (LGPD) ——— */
.footer-cookie-link {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.footer-cookie-link:hover {
  color: var(--cyan);
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  padding: 1rem;
  pointer-events: none;
}

.cookie-banner[hidden],
.cookie-modal[hidden] {
  display: none !important;
}

.cookie-banner__inner {
  pointer-events: auto;
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 1.25rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
}

.cookie-banner__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.cookie-banner__text p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 62ch;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.cookie-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  min-height: 2.4rem;
  padding: 0.55rem 0.95rem;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.cookie-btn--primary {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.cookie-btn--primary:hover {
  background: #e43d3d;
  border-color: #e43d3d;
  color: #fff;
}

.cookie-btn--outline:hover,
.cookie-btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.cookie-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: min(90dvh, 640px);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cookie-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid var(--line);
}

.cookie-modal__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
}

.cookie-modal__x {
  appearance: none;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  padding: 0.15rem 0.35rem;
}

.cookie-modal__x:hover { color: var(--ink); }

.cookie-modal__body {
  padding: 1.1rem 1.2rem 0.5rem;
}

.cookie-modal__intro {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.cookie-option {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
}

.cookie-option--locked {
  cursor: default;
}

.cookie-option__info {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.cookie-option__info strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--ink);
}

.cookie-option__info span {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}

.cookie-option__switch {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  flex-shrink: 0;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cookie-option__switch input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--coral);
  cursor: pointer;
}

.cookie-option__switch input[type="checkbox"]:disabled {
  cursor: default;
  accent-color: var(--muted);
}

.cookie-modal__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 1rem 1.2rem 1.2rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 720px) {
  .cookie-banner__inner {
    grid-template-columns: 1fr;
  }

  .cookie-banner__actions {
    justify-content: stretch;
  }

  .cookie-banner__actions .cookie-btn {
    flex: 1 1 auto;
  }
}
