/* ══════════════════════════════════════════════════════════════
   LATINOS FM — Eventos (2026-10-27)
   Tarjetas de evento (/eventos/, portada, hubs), ficha /eventos/<ciudad>/<slug>/
   y formulario público /publicar-evento/. Línea gráfica de main.css (naranja,
   Outfit + Nunito Sans). El build añade ?v= al enlace.
   ══════════════════════════════════════════════════════════════ */

/* ── Tarjeta de evento ── */
.evc {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--borde, #e0e0e0);
  border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit;
  transition: box-shadow .2s, transform .2s; position: relative; height: 100%;
}
.evc:hover { box-shadow: 0 8px 26px rgba(0,0,0,.12); transform: translateY(-2px); }
.evc-img-wrap { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #1c1c1c; }
.evc-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.evc:hover .evc-img { transform: scale(1.04); }
.evc-date {
  position: absolute; top: 10px; left: 10px; background: #fff; color: #212121; border-radius: 10px;
  padding: 6px 9px; text-align: center; line-height: 1; box-shadow: 0 2px 8px rgba(0,0,0,.25); min-width: 46px;
}
.evc-date-dia { display: block; font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.evc-date-mes { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--or); margin-top: 2px; }
.evc-badges { position: absolute; top: 10px; right: 10px; display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.evc-badge { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 20px; background: rgba(0,0,0,.65); color: #fff; backdrop-filter: blur(3px); }
.evc-badge-gratis { background: #1baf7a; }
.evc-badge-latino { background: var(--or); }
.evc-body { padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.evc-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--or); }
.evc-title { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.25; color: #212121; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.evc-meta { font-size: 12.5px; color: #666; line-height: 1.4; display: flex; flex-direction: column; gap: 2px; }
.evc-meta span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evc-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; }
.evc-precio { font-weight: 800; color: #212121; }
.evc-precio.is-gratis { color: #1baf7a; }
.evc-cta { color: var(--or); font-weight: 700; }
.section-dark .evc, .section-orange .evc { border-color: transparent; }

/* Listado: contador y cabecera "Hoy / Esta semana / Próximamente" */
.ev-grupo-title { font-family: var(--font-display); font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--or); margin: 26px 0 12px; display: flex; align-items: center; gap: 10px; }
.ev-grupo-title::after { content: ''; flex: 1; height: 1px; background: var(--borde, #e0e0e0); }
.ev-grupo-title:first-child { margin-top: 0; }

/* CTA publicar evento (listados) */
.ev-cta-publicar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  background: linear-gradient(135deg, #FF6600 0%, #FF8A33 100%); color: #fff; border-radius: 16px; padding: 24px 28px; margin: 36px 0 8px;
  box-shadow: 0 8px 24px rgba(255,102,0,.22);
}
.ev-cta-publicar h2 { font-family: var(--font-display); font-size: 22px; font-weight: 800; margin: 0 0 4px; letter-spacing: -.01em; }
.ev-cta-publicar p { margin: 0; font-size: 14px; opacity: .95; max-width: 560px; }
.ev-cta-publicar a { background: #fff; color: #FF6600; font-weight: 800; padding: 13px 24px; border-radius: 10px; text-decoration: none; white-space: nowrap; box-shadow: 0 3px 10px rgba(0,0,0,.15); }
.ev-cta-publicar a:hover { background: #fff5ee; }
.ev-archivo-list { columns: 2; column-gap: 32px; padding-left: 18px; font-size: 14px; line-height: 1.6; }
.ev-archivo-list li { break-inside: avoid; }
.ev-archivo-list a { color: #333; }
.ev-archivo-list small { color: #999; margin-left: 4px; }
@media (max-width: 640px) { .ev-archivo-list { columns: 1; } }

/* ── Ficha de evento ── */
.ev-breadcrumb { max-width: var(--max); margin: 14px auto 0; padding: 0 16px; font-size: 13px; color: #888; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ev-breadcrumb a { color: #666; text-decoration: none; }
.ev-breadcrumb a:hover { color: var(--or); }
.ev-breadcrumb > span:last-child { color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55vw; }
.ev-hero { max-width: var(--max); margin: 14px auto 0; padding: 0 16px; }
.ev-hero-img-wrap { position: relative; border-radius: 18px; overflow: hidden; background: #111; min-height: 300px; aspect-ratio: 21/9; }
.ev-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ev-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 25%, rgba(0,0,0,.82) 100%); }
.ev-hero-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 28px; color: #fff; }
.ev-hero-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.ev-badge { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 20px; background: rgba(255,255,255,.18); backdrop-filter: blur(4px); }
.ev-badge-cat { background: var(--or); }
.ev-badge-gratis { background: #1baf7a; }
.ev-badge-latino { background: #e63d32; }
.ev-badge-pasado { background: #555; }
.ev-hero-title { font-family: var(--font-display); font-size: clamp(24px, 4vw, 40px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 10px; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.ev-hero-sub { margin: 0; font-size: 15px; display: flex; flex-wrap: wrap; gap: 6px 18px; opacity: .95; }
.ev-shell { max-width: var(--max); margin: 26px auto 60px; padding: 0 16px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; }
@media (max-width: 900px) { .ev-shell { grid-template-columns: 1fr; } .ev-hero-content { padding: 18px; } .ev-hero-img-wrap { aspect-ratio: 4/3; } }
.ev-main { min-width: 0; }

.ev-datebox { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; background: #fff8f2; border: 1px solid #ffd9bd; border-radius: 14px; padding: 16px 18px; margin-bottom: 22px; }
.ev-datebox-cal { background: #fff; border: 2px solid var(--or); border-radius: 12px; width: 66px; text-align: center; padding: 8px 0; line-height: 1; }
.ev-datebox-dia { display: block; font-family: var(--font-display); font-weight: 800; font-size: 28px; color: #212121; }
.ev-datebox-mes { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--or); margin-top: 3px; }
.ev-datebox-body { display: flex; flex-direction: column; gap: 3px; font-size: 14px; color: #444; min-width: 0; }
.ev-datebox-body strong { font-size: 16px; color: #212121; display: block; }
.ev-datebox-body strong::first-letter, .ev-ficha-value::first-letter, .evc-meta span::first-letter { text-transform: uppercase; }
.ev-datebox-precio { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.ev-precio { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: #212121; white-space: nowrap; }
.ev-btn-entradas { display: inline-block; background: var(--or); color: #fff; font-weight: 800; padding: 11px 20px; border-radius: 10px; text-decoration: none; white-space: nowrap; box-shadow: 0 3px 10px rgba(255,102,0,.3); transition: background .15s, transform .08s; }
.ev-btn-entradas:hover { background: #E65100; }
.ev-btn-entradas:active { transform: translateY(1px); }
@media (max-width: 640px) { .ev-datebox { grid-template-columns: auto 1fr; } .ev-datebox-precio { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; } }

.ev-dek { font-size: 18px; line-height: 1.55; color: #333; margin: 0 0 22px; font-weight: 600; }
.ev-body { font-size: 16.5px; line-height: 1.7; color: #2b2b2b; }
.ev-body p { margin: 0 0 18px; }
.ev-body h3, .ev-body h4 { font-family: var(--font-display); margin: 26px 0 10px; font-size: 20px; }
.ev-body ul, .ev-body ol { margin: 0 0 18px 22px; }
.ev-body a { color: var(--or); }
.ev-section-title { font-family: var(--font-display); font-size: 22px; font-weight: 800; margin: 0 0 10px; }
.ev-galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin: 24px 0; }
.ev-galeria a { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #eee; }
.ev-galeria img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.ev-galeria a:hover img { transform: scale(1.05); }

.ev-mapa-section { margin: 34px 0 26px; }
.ev-mapa-dir { color: #555; margin: 0 0 12px; font-size: 15px; }
.ev-mapa-canvas { height: 320px; border-radius: 14px; overflow: hidden; border: 1px solid var(--borde, #e0e0e0); background: #f3f3f3; z-index: 0; }
.ev-mapa-canvas .leaflet-control-zoom a { color: #212121 !important; }
.ev-mapa-pin { background: var(--or); width: 20px; height: 20px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.ev-mapa-static { display: block; border-radius: 14px; border: 1px solid var(--borde, #e0e0e0); background: #fff8f2; padding: 22px; text-align: center; color: #555; text-decoration: none; }
.ev-mapa-cta { display: inline-block; margin-top: 12px; background: #212121; color: #fff; font-weight: 700; padding: 10px 18px; border-radius: 10px; text-decoration: none; font-size: 14px; }
.ev-mapa-cta:hover { background: var(--or); }

.ev-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 18px 0; border-top: 1px solid var(--borde, #e0e0e0); border-bottom: 1px solid var(--borde, #e0e0e0); margin: 10px 0 30px; }
.ev-share-label { font-weight: 700; font-size: 13px; color: #666; margin-right: 4px; }
.ev-share-btn { border: 0; cursor: pointer; font: inherit; font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 20px; color: #fff; text-decoration: none; background: #444; }
.ev-share-wa { background: #25D366; } .ev-share-fb { background: #1877F2; } .ev-share-x { background: #000; } .ev-share-copy { background: #eee; color: #333; }

.ev-sidebar { display: flex; flex-direction: column; gap: 20px; }
.ev-ficha { background: #fff; border: 1px solid var(--borde, #e0e0e0); border-radius: 14px; padding: 20px; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.ev-ficha-titulo { font-family: var(--font-display); font-size: 17px; font-weight: 800; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid var(--or); }
.ev-ficha-row { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.ev-ficha-row:last-of-type { border-bottom: 0; }
.ev-ficha-icon { width: 24px; flex: 0 0 24px; text-align: center; font-size: 16px; }
.ev-ficha-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ev-ficha-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #999; }
.ev-ficha-value { color: #212121; font-weight: 600; word-break: break-word; }
.ev-ficha-value small { color: #666; font-weight: 400; }
.ev-ficha-value a { color: var(--or); text-decoration: none; }
.ev-ficha-cta { display: block; text-align: center; margin-top: 14px; background: var(--or); color: #fff; font-weight: 800; padding: 12px; border-radius: 10px; text-decoration: none; }
.ev-ficha-cta:hover { background: #E65100; }
.ev-ficha-cta-sec { background: #212121; margin-top: 8px; }
.ev-ficha-cta-sec:hover { background: #000; }
.ev-publica { background: linear-gradient(135deg, #1c2030 0%, #2b3147 100%); color: #fff; border-radius: 14px; padding: 22px; }
.ev-publica h3 { font-family: var(--font-display); font-size: 18px; margin: 0 0 6px; }
.ev-publica p { font-size: 13.5px; opacity: .9; margin: 0 0 14px; line-height: 1.5; }
.ev-publica-btn { display: inline-block; background: var(--or); color: #fff; font-weight: 800; padding: 10px 18px; border-radius: 10px; text-decoration: none; }
.ev-publica-btn:hover { background: #E65100; }

.ev-relacionados { margin-top: 10px; }
.ev-relacionados .ev-section-title { margin-bottom: 14px; }

/* ── Formulario público ── */
.pe-shell { max-width: 900px; margin: 32px auto 80px; padding: 0 20px; }
.pe-hero { background: linear-gradient(135deg, #FF6600 0%, #FF8A33 100%); color: #fff; padding: 44px 32px; border-radius: 16px; margin-bottom: 28px; box-shadow: 0 8px 24px rgba(255,102,0,.22); }
.pe-hero h1 { font-family: var(--font-display); font-size: 34px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 10px; line-height: 1.15; }
.pe-hero p { font-size: 16px; opacity: .95; line-height: 1.55; max-width: 640px; margin: 0; }
.pe-hero .pill { display: inline-block; background: rgba(255,255,255,.22); font-size: 12px; font-weight: 700; letter-spacing: .08em; padding: 6px 14px; border-radius: 40px; margin-bottom: 14px; }
.pe-steps { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.22); }
.pe-steps .step { flex: 1; min-width: 180px; }
.pe-steps .step-num { background: rgba(0,0,0,.2); border-radius: 50%; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 8px; font-size: 13px; }
.pe-steps h3 { font-family: var(--font-display); font-size: 14px; margin: 0 0 4px; }
.pe-steps p { font-size: 13px; opacity: .92; margin: 0; line-height: 1.45; }
.pe-card { background: #fff; border: 1px solid #e6e8ef; border-radius: 14px; padding: 32px; box-shadow: 0 2px 10px rgba(16,24,40,.04); margin-bottom: 22px; }
.pe-card h2 { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: #1c2030; margin: 0 0 4px; }
.pe-card .subtle { color: #6b7280; font-size: 13px; margin: 0 0 22px; }
.pe-fg { margin-bottom: 16px; }
.pe-fg label { display: block; font-weight: 600; font-size: 13px; color: #1c2030; margin-bottom: 6px; }
.pe-fg .hint { color: #9aa0ad; font-size: 12px; font-weight: 400; margin-left: 6px; }
.pe-fg input[type=text], .pe-fg input[type=email], .pe-fg input[type=tel], .pe-fg input[type=url], .pe-fg input[type=number], .pe-fg input[type=date], .pe-fg input[type=time], .pe-fg input[type=datetime-local], .pe-fg select, .pe-fg textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #dde1e8; border-radius: 8px; font-size: 16px; font-family: inherit; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.pe-fg textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.pe-fg input:focus, .pe-fg select:focus, .pe-fg textarea:focus { outline: none; border-color: #FF6600; box-shadow: 0 0 0 3px rgba(255,102,0,.15); }
.pe-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pe-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .pe-row, .pe-row-3 { grid-template-columns: 1fr; } .pe-card { padding: 22px 18px; } }
.pe-check { display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 600; color: #1c2030; padding: 12px 14px; background: #f7f8fb; border: 1px solid #e6e8ef; border-radius: 8px; cursor: pointer; }
.pe-check input { width: 18px; height: 18px; accent-color: #FF6600; }
.pe-file-wrap { border: 2px dashed #dde1e8; border-radius: 10px; padding: 20px; text-align: center; background: #fafbfc; transition: border-color .15s, background .15s; cursor: pointer; }
.pe-file-wrap:hover { border-color: #FF6600; background: #fff8f1; }
.pe-file-wrap p { margin: 0; color: #6b7280; font-size: 13px; }
.pe-file-wrap strong { color: #FF6600; }
.pe-file-wrap input { display: none; }
.pe-fotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-top: 12px; }
.pe-fotos .foto { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; border: 1px solid #e6e8ef; background: #f5f6fa; }
.pe-fotos .foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pe-fotos .foto button { position: absolute; top: 5px; right: 5px; background: rgba(220,38,38,.92); color: #fff; border: 0; border-radius: 4px; padding: 3px 7px; font-size: 11px; cursor: pointer; font-weight: 700; }
.pe-consent { display: flex; gap: 10px; align-items: flex-start; background: #fffaf2; border: 1px solid #ffe0b8; border-radius: 8px; padding: 14px; }
.pe-consent input { margin-top: 3px; }
.pe-consent label { font-size: 13px; color: #444; line-height: 1.5; font-weight: 500; }
.pe-consent a { color: #FF6600; font-weight: 600; }
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; opacity: 0; pointer-events: none; }
.pe-submit { width: 100%; background: linear-gradient(135deg, #FF6600 0%, #FF8A33 100%); color: #fff; border: 0; padding: 16px 28px; border-radius: 10px; font-size: 16px; font-weight: 800; cursor: pointer; box-shadow: 0 4px 14px rgba(255,102,0,.28); font-family: inherit; }
.pe-submit:disabled { opacity: .55; cursor: wait; box-shadow: none; }
.pe-msg { padding: 14px 18px; border-radius: 10px; margin-top: 14px; font-size: 14px; display: none; }
.pe-msg.err { background: #fdecea; border: 1px solid #f5c2be; color: #8a1a12; display: block; }
.pe-msg.ok { background: #eafaf1; border: 1px solid #bfe6cf; color: #1a6e3f; display: block; }
.pe-success { display: none; background: #fff; border: 1px solid #bfe6cf; border-radius: 14px; padding: 40px 32px; text-align: center; }
.pe-success .ico { font-size: 52px; margin-bottom: 10px; }
.pe-success h2 { font-family: var(--font-display); font-size: 26px; color: #1a6e3f; margin: 0 0 10px; }
.pe-success p { color: #444; font-size: 15px; line-height: 1.6; max-width: 560px; margin: 0 auto 8px; }
.pe-success a.btn { display: inline-block; margin-top: 16px; background: #FF6600; color: #fff; font-weight: 800; padding: 12px 22px; border-radius: 10px; text-decoration: none; }
.pe-geo { font-size: 12.5px; color: #1a6e3f; margin-top: 6px; display: none; }
.pe-geo.err { color: #8a1a12; }
