/* Eventos (lista e página do evento). Mesma linguagem: foto + painel creme/marinho, cartões areia. */
.evtag { justify-self: start; align-self: flex-start; display: inline-flex; padding: 5px 12px; border-radius: var(--r-s); background: var(--sun); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.evtag--past { background: rgba(255, 255, 255, .14); color: #fff; }

/* destaque */
.evfeat { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.evfeat[aria-busy="true"] { opacity: .5; pointer-events: none; }
.evfeat__pic { margin: 0; min-height: 380px; border-radius: var(--r); overflow: hidden; background: var(--sand); }
.evfeat__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.evfeat:hover .evfeat__pic img { transform: scale(1.04); }
.evfeat__txt { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(28px, 4vw, 56px); border-radius: var(--r); background: var(--navy); color: #fff; }
.evfeat__t { font-size: clamp(28px, 2.6vw, 40px); line-height: 1.1; font-weight: 400; letter-spacing: -.03em; }
.evfeat__txt p { opacity: .8; }
.evfeat__txt .link { align-self: flex-start; color: var(--sun); }

/* grade */
.evgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.evcard a { display: grid; gap: 8px; }
.evcard__pic { margin: 0 0 6px; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--sand); }
.evcard__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.evcard a:hover .evcard__pic img { transform: scale(1.05); }
.evcard__d { font-size: 13px; font-weight: 600; color: var(--muted); }
.evcard__t { font-size: 19px; line-height: 1.25; font-weight: 600; letter-spacing: -.02em; }
.evcard a:hover .evcard__t { color: var(--blue); }
.evcard__p { font-size: 15px; color: var(--muted); }

/* ---------- página do evento ---------- */
.ev { padding-top: 28px; }
.ev[aria-busy="true"] .evhero, .ev[aria-busy="true"] .ev__wrap { opacity: .35; }
.ev.is-ready .evhero__pic, .ev.is-ready .evhero__box { animation: fadeup .7s var(--ease-out) both; }
.ev.is-ready .evhero__box { animation-delay: .1s; }

/* topo: a arte inteira (sem corte) + painel com o que interessa */
.evhero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(360px, 1fr); gap: 10px; margin: 18px 10px 0; }
.evhero[hidden], .evhero__pic[hidden], .ev__wrap[hidden] { display: none; }
.evhero__pic { position: relative; margin: 0; display: grid; place-items: center; min-height: 420px; border-radius: var(--r); overflow: hidden; background: var(--navy); }
.evhero__pic img { position: relative; width: 100%; height: 100%; max-height: 640px; object-fit: contain; }
.evhero__box { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: clamp(28px, 3.6vw, 52px); border-radius: var(--r); background: var(--navy); color: #fff; }
.evhero__t { font-size: clamp(30px, 2.8vw, 44px); line-height: 1.08; font-weight: 400; letter-spacing: -.035em; }
.evfacts { display: grid; gap: 2px; border-top: 1px solid rgba(255, 255, 255, .16); }
.evfacts[hidden] { display: none; }
.evfacts li { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.evfacts svg { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: rgba(255, 255, 255, .1); fill: none; stroke: var(--sun); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.evfacts small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .6; }
.evfacts span { font-size: 17px; font-weight: 500; }
.evfacts a { color: #fff; text-decoration: underline; text-decoration-color: var(--sun); text-underline-offset: 4px; }
.evhero__acts { display: flex; flex-wrap: wrap; gap: 10px; }
.evhero__acts [hidden] { display: none; }
.evhero__acts .btn--line { color: #fff; border-color: rgba(255, 255, 255, .5); }
.evhero__pub { font-size: 13px; opacity: .55; }

/* texto: coluna de leitura centralizada */
.ev__wrap { display: grid; justify-items: center; }
.ev__body { width: 100%; max-width: 760px; padding-top: 64px; }
.ev__body .lead { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.55; color: var(--ink); }
.ev__body h2 { margin: 52px 0 14px; font-size: clamp(26px, 2.2vw, 32px); line-height: 1.15; font-weight: 400; letter-spacing: -.03em; }
.ev__body h3 { margin: 28px 0 12px; font-size: 18px; font-weight: 600; }
.ev__body h2:first-child { margin-top: 0; }
.ev__body img { border-radius: var(--r); margin: 16px 0; height: auto; }
.ev__body iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r); }
.ev__body strong { color: var(--ink); font-weight: 600; }
.ev__body ul:not(.evlojas) { margin: 4px 0 16px; }

/* lojas citadas no post */
.prose .evlojas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 8px 0 22px; padding: 0; list-style: none; }
.prose .evlojas li { margin: 0; padding: 0; }
.evlojas a, .evlojas__x { display: flex; align-items: center; gap: 14px; height: 100%; padding: 14px 16px; border-radius: var(--r); background: var(--sand); color: var(--ink); text-decoration: none; transition: background .2s, transform .25s var(--ease); }
.evlojas a:hover { background: var(--cream); transform: translateY(-2px); }
.evlojas__logo { flex: none; width: 52px; height: 52px; font-size: 17px; }
.evlojas b { display: block; font-size: 16px; font-weight: 600; line-height: 1.25; }
.evlojas small { font-size: 13px; color: var(--muted); }
.evlojas i { margin-left: auto; font-style: normal; color: var(--blue); font-weight: 700; }
.prose a.evbtn { display: inline-flex; gap: 8px; align-items: center; margin-top: 10px; padding: 10px 16px; border-radius: var(--r-s); background: var(--navy); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; }
.prose a.evbtn:hover { background: var(--blue); }

.evvisit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
[data-ev-visit][hidden] { display: none; }

@media (max-width: 1000px) {
  .evfeat, .evhero { grid-template-columns: 1fr; }
  .evhero__pic { min-height: 0; }
  .evgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evvisit { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .evgrid, .prose .evlojas { grid-template-columns: 1fr; }
  .evfeat__pic { min-height: 220px; }
}
