:root{--pea-yellow:#ffcd00;--pea-yellow-2:#ffe36b;--pea-gold:#c99700;--pea-black:#050505;--pea-ink:#111;--pea-paper:#fff;--pea-muted:rgba(255,255,255,.72);--pea-line:rgba(255,255,255,.13);--pea-card:rgba(255,255,255,.075);--pea-radius-xl:30px;--pea-radius-lg:22px;--pea-radius-md:16px;--pea-shadow:0 24px 70px rgba(0,0,0,.42)}
.pea-agenda,.pea-agenda *,.pea-event-detail-box,.pea-event-detail-box *,.pea-form-box,.pea-form-box *,.pea-user-panel,.pea-user-panel *,.pea-plans,.pea-plans *{box-sizing:border-box}.pea-agenda{position:relative;isolation:isolate;width:min(100%,1380px);margin:28px auto;padding:clamp(18px,2.4vw,34px);border:1px solid rgba(255,255,255,.12);border-radius:var(--pea-radius-xl);color:var(--pea-paper);background:radial-gradient(circle at 82% 6%,rgba(255,205,0,.08),transparent 25%),radial-gradient(circle at 10% 20%,rgba(255,205,0,.035),transparent 28%),linear-gradient(145deg,#050505 0%,#0d0d0d 45%,#050505 100%);box-shadow:var(--pea-shadow);overflow:hidden}.pea-agenda:before{content:"";position:absolute;inset:0;z-index:-2;pointer-events:none;background-image:radial-gradient(rgba(255,255,255,.16) 1px,transparent 1px),linear-gradient(90deg,rgba(255,205,0,.14),transparent 26%,transparent 74%,rgba(255,205,0,.14));background-size:24px 24px,100% 100%;opacity:.32;mask-image:linear-gradient(90deg,#000 0,transparent 34%,transparent 66%,#000 100%)}.pea-agenda:after{content:"";position:absolute;left:12%;right:12%;bottom:-110px;height:220px;z-index:-1;border-radius:999px 999px 0 0;background:radial-gradient(circle at center,rgba(255,205,0,.20),rgba(255,205,0,.06) 38%,transparent 72%);filter:blur(2px);opacity:.38}.pea-agenda__shine{position:absolute;right:-160px;top:-160px;width:340px;height:340px;border-radius:50%;background:radial-gradient(circle,rgba(255,205,0,.08),transparent 65%);pointer-events:none}.pea-kicker{display:inline-flex;align-items:center;gap:8px;margin:0 0 8px;color:var(--pea-yellow);font-size:11px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.pea-agenda__header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 22px;padding-bottom:18px;border-bottom:1px solid var(--pea-line)}.pea-agenda__header h2{margin:0;color:#fff;font-size:clamp(31px,5vw,68px);line-height:.98;font-weight:950;letter-spacing:-.055em}.pea-agenda__header p{max-width:720px;margin:10px 0 0;color:var(--pea-muted);font-size:clamp(15px,1.6vw,19px)}.pea-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.pea-tags span{border:1px solid rgba(255,255,255,.13);border-radius:999px;padding:8px 12px;background:rgba(255,255,255,.055);font-size:12px;font-weight:800;color:#fff}.pea-header-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.pea-btn,.pea-mini-btn{appearance:none;border:0;text-decoration:none;cursor:pointer;font:inherit}.pea-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border-radius:999px;padding:10px 17px;font-weight:900;line-height:1}.pea-btn--primary{background:linear-gradient(135deg,var(--pea-yellow),#ffed72);color:#101010!important;box-shadow:0 10px 24px rgba(255,205,0,.25)}.pea-btn--ghost{border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.075);color:#fff!important}.pea-agenda__grid{display:grid;grid-template-columns:minmax(150px,220px) minmax(0,1fr) minmax(150px,220px);gap:clamp(12px,1.5vw,20px);align-items:stretch}.pea-side{min-height:320px;padding:15px;border:1px solid rgba(255,205,0,.22);border-radius:var(--pea-radius-lg);background:linear-gradient(180deg,rgba(255,205,0,.14),rgba(255,255,255,.055)),rgba(255,255,255,.045);box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 14px 35px rgba(0,0,0,.28);overflow:hidden}.pea-side__label{display:block;color:var(--pea-yellow);font-size:10px;letter-spacing:.14em;font-weight:950;margin-bottom:10px}.pea-side img{width:100%;height:auto;display:block;border-radius:16px;object-fit:cover;margin-bottom:13px}.pea-side__placeholder{display:grid;place-items:center;min-height:155px;border-radius:16px;background:linear-gradient(145deg,rgba(0,0,0,.42),rgba(255,205,0,.12));border:1px dashed rgba(255,205,0,.35);margin-bottom:13px}.pea-side__placeholder span{font-size:44px;color:var(--pea-yellow)}.pea-side h3{margin:0 0 8px;color:#fff;font-size:23px;line-height:1.02;letter-spacing:-.03em}.pea-side p{margin:0 0 12px;color:var(--pea-muted);font-size:13px}.pea-side small{display:block;color:rgba(255,255,255,.55);font-size:11px}.pea-side__link{display:inline-flex;border-radius:999px;background:#fff;color:#111!important;text-decoration:none;padding:8px 12px;font-weight:900;font-size:12px}.pea-calendar-panel{border:1px solid rgba(255,255,255,.13);border-radius:var(--pea-radius-lg);background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.045));box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 18px 45px rgba(0,0,0,.26);overflow:hidden}.pea-calendar-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px;border-bottom:1px solid var(--pea-line)}.pea-calendar-nav strong{color:#fff;font-size:clamp(18px,2.4vw,26px);text-transform:capitalize}.pea-calendar-nav a{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);color:#fff!important;text-decoration:none;font-size:25px;line-height:1}.pea-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;background:rgba(255,255,255,.08);padding:1px}.pea-calendar__dow{padding:11px 7px;text-align:center;background:rgba(0,0,0,.48);color:rgba(255,255,255,.70);font-size:11px;font-weight:950}.pea-calendar__day{min-height:105px;background:rgba(9,9,9,.72);padding:9px;position:relative}.pea-calendar__day--empty{background:rgba(255,255,255,.03)}.pea-calendar__day strong{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:9px;color:#fff}.pea-calendar__day.has-events strong{background:#090909;color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;text-shadow:none!important;border:1px solid rgba(255,205,0,.62);box-shadow:inset 0 0 0 1px rgba(255,255,255,.03)}.pea-calendar__events{display:grid;gap:5px;margin-top:8px}.pea-calendar__events a,.pea-calendar__events span{display:block;border-radius:9px;background:rgba(255,205,0,.12);border:1px solid rgba(255,205,0,.20);padding:5px 6px;color:#fff!important;text-decoration:none;font-size:11px;font-weight:800;line-height:1.15}.pea-bottom-carousel-wrap{margin-top:20px;border:1px solid rgba(255,255,255,.12);border-radius:var(--pea-radius-lg);background:rgba(255,255,255,.055);overflow:hidden}.pea-bottom-head{display:flex;justify-content:space-between;gap:20px;padding:18px 18px 0}.pea-bottom-head h3{margin:0;color:#fff;font-size:clamp(22px,3vw,36px);letter-spacing:-.04em}.pea-bottom-head p{margin:6px 0 0;color:var(--pea-muted)}.pea-event-carousel{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:auto;padding:18px;scrollbar-width:thin}.pea-event-card{scroll-snap-align:start;display:grid;grid-template-rows:auto 1fr;min-width:280px;max-width:340px;border:1px solid rgba(255,255,255,.13);border-radius:20px;background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.045));overflow:hidden;box-shadow:0 18px 36px rgba(0,0,0,.22)}.pea-event-card[data-distance]{order:var(--pea-distance-order,0)}.pea-event-card__media{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;min-height:0;background:#111;text-decoration:none;overflow:hidden}.pea-event-card__media--dark{background:#000}.pea-event-card__media--light{background:#fff}.pea-event-card__media img{display:block;width:100%;height:100%;object-fit:contain;}.pea-event-card__fallback{display:grid;place-items:center;width:100%;height:100%;min-height:0;background:radial-gradient(circle at 50% 30%,rgba(255,205,0,.26),transparent 55%),#111;color:var(--pea-yellow);font-size:26px;font-weight:950}.pea-date-badge{position:absolute;left:12px;bottom:12px;display:grid;place-items:center;width:58px;height:58px;border-radius:16px;background:rgba(4,4,4,.92);color:var(--pea-yellow);border:1px solid rgba(255,205,0,.68);box-shadow:0 14px 28px rgba(0,0,0,.28)}.pea-date-badge b{font-size:22px;line-height:1}.pea-date-badge small{font-size:11px;text-transform:uppercase;font-weight:950}.pea-event-card__body{display:flex;flex-direction:column;padding:14px}.pea-format{align-self:flex-start;border:1px solid rgba(255,255,255,.20);border-radius:999px;background:rgba(255,255,255,.035);color:#d9d9d9;padding:5px 9px;font-size:10px;font-weight:950;text-transform:uppercase}.pea-event-card h4{margin:9px 0 8px;color:#fff;font-size:17px;line-height:1.12}.pea-event-card h4 a{color:#fff!important;text-decoration:none}.pea-time,.pea-capacity{margin:0 0 7px;color:var(--pea-muted);font-size:12px}.pea-capacity{color:#fff;font-weight:800}.pea-card-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:auto}.pea-mini-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:32px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(255,255,255,.08);color:#fff!important;text-decoration:none;padding:8px 10px;font-size:11px;font-weight:900;line-height:1;}.pea-mini-btn:hover{background:rgba(255,255,255,.14)}.pea-mini-btn--strong{background:var(--pea-yellow);color:#111!important;border-color:var(--pea-yellow)}.pea-mini-btn--icon{width:34px;padding:8px}.pea-mini-btn--link{background:#fff;color:#111!important}.pea-mini-btn--share{background:#075e54!important;border-color:#075e54!important;color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;text-shadow:none!important}.pea-mini-btn--share:hover,.pea-mini-btn--share:focus,.pea-mini-btn--share:active{background:#064e46!important;border-color:#064e46!important;color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;text-shadow:none!important}.pea-empty{min-width:280px;border:1px dashed rgba(255,255,255,.18);border-radius:20px;padding:24px;color:var(--pea-muted)}.pea-event-detail-box,.pea-form-box,.pea-user-panel{width:min(100%,980px);margin:24px auto;padding:24px;border-radius:24px;border:1px solid rgba(255,205,0,.22);background:linear-gradient(145deg,#050505,#151515);color:#fff;box-shadow:0 18px 48px rgba(0,0,0,.28)}.pea-event-detail-box h3,.pea-form-box h3,.pea-user-panel h3{margin:0 0 14px;color:#fff;font-size:28px}.pea-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}.pea-detail-grid div{border:1px solid rgba(255,255,255,.12);border-radius:16px;background:rgba(255,255,255,.06);padding:12px}.pea-detail-grid b{display:block;color:var(--pea-yellow);font-size:11px;text-transform:uppercase}.pea-detail-grid span{display:block;color:#fff;margin-top:4px}.pea-form-box label{display:grid;gap:7px;margin:0 0 14px;color:#fff;font-weight:800}.pea-form-box input,.pea-form-box textarea,.pea-form-box select{width:100%;border:1px solid rgba(255,255,255,.18);border-radius:14px;background:#fff;color:#111;padding:11px 13px}.pea-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pea-event-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.pea-plans{width:min(100%,1100px);margin:24px auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.pea-plans article{border:1px solid rgba(255,255,255,.14);border-radius:22px;background:#111;color:#fff;padding:22px}.pea-plans article.is-featured{background:linear-gradient(145deg,var(--pea-yellow),#ffe36b);color:#111}.pea-plans span{font-weight:950;text-transform:uppercase;font-size:12px}.pea-plans h3{font-size:38px;margin:7px 0}.pea-plans p{margin:0}.pea-admin-box{background:#fff;border:1px solid #dcdcde;border-radius:12px;padding:16px}.pea-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:1000px}.pea-admin-grid label{display:grid;gap:6px;font-weight:700}.pea-admin-grid input,.pea-admin-grid select{width:100%;padding:8px}.pea-admin-grid .wide{grid-column:1/-1}.pea-admin-check{display:flex!important;align-items:center;gap:8px}.pea-admin-check input{width:auto!important}.pea-notice{position:fixed;right:18px;bottom:18px;z-index:99999;max-width:360px;border-radius:16px;background:#111;color:#fff;border:1px solid rgba(255,205,0,.35);box-shadow:0 16px 45px rgba(0,0,0,.3);padding:13px 15px;font-weight:800}.pea-agenda.is-gps-active{outline:2px solid rgba(255,205,0,.38);outline-offset:4px}.pea-distance-badge{display:inline-flex;margin:0 0 7px;border-radius:999px;background:rgba(255,205,0,.16);color:var(--pea-yellow);padding:5px 8px;font-size:10px;font-weight:950}.pea-agenda_mensual{background:linear-gradient(180deg,#0d0d0d,#050505)}@media(max-width:980px){.pea-agenda__header{align-items:flex-start;flex-direction:column}.pea-agenda__grid{grid-template-columns:1fr}.pea-side{min-height:auto}.pea-calendar__day{min-height:86px}.pea-plans,.pea-detail-grid{grid-template-columns:1fr}.pea-form-grid{grid-template-columns:1fr}}@media(max-width:620px){.pea-agenda{border-radius:22px;padding:14px}.pea-agenda__header h2{font-size:34px}.pea-tags span{font-size:11px;padding:5px 9px}.pea-calendar{font-size:12px}.pea-calendar__day{min-height:66px;padding:6px}.pea-calendar__events a{display:none}.pea-event-list .pea-event-card,.pea-user-panel .pea-event-card{width:100%;min-width:0;max-width:100%}.pea-event-carousel .pea-event-card{flex:0 0 min(86vw,340px);width:min(86vw,340px);min-width:min(86vw,340px);max-width:340px}.pea-event-card__media{width:100%;aspect-ratio:1/1}.pea-event-card__media img,.pea-event-card__fallback{width:100%;height:100%;min-height:0;object-fit:contain}.pea-card-actions{gap:5px}.pea-mini-btn{font-size:10px;padding:7px 8px}.pea-admin-grid{grid-template-columns:1fr}}


/* v1.3.3: Control nativo de botones delgados/editables */
.pea-btn{min-height:var(--pea-btn-height,32px)!important;height:auto!important;border-radius:var(--pea-btn-radius,10px)!important;padding:0 var(--pea-btn-padding-x,12px)!important;font-size:var(--pea-btn-font-size,12px)!important;line-height:1.1!important;box-shadow:0 8px 18px rgba(255,205,0,.14)!important;white-space:nowrap!important}.pea-mini-btn,.pea-side__link{min-height:var(--pea-mini-height,28px)!important;border-radius:var(--pea-btn-radius,10px)!important;padding:0 max(10px,calc(var(--pea-btn-padding-x,12px) - 3px))!important;font-size:var(--pea-mini-font,11px)!important;line-height:1.05!important;box-shadow:none!important}.pea-card-actions{gap:7px!important}.pea-mini-btn--icon{width:var(--pea-mini-height,28px)!important;padding:0!important}.pea-calendar-nav a{width:34px!important;height:34px!important}.pea-tags span{padding:6px 10px!important;border-radius:12px!important}@media(max-width:780px){.pea-btn{min-height:max(32px,calc(var(--pea-btn-height,32px) - 2px))!important;font-size:max(11px,calc(var(--pea-btn-font-size,12px) - 1px))!important;padding-left:max(10px,calc(var(--pea-btn-padding-x,12px) - 2px))!important;padding-right:max(10px,calc(var(--pea-btn-padding-x,12px) - 2px))!important}.pea-mini-btn,.pea-side__link{min-height:max(28px,calc(var(--pea-mini-height,28px) - 1px))!important}.pea-header-actions{gap:8px!important}}

/* v1.3.11: navegación AJAX sin cambiar diseño */
.pea-calendar-panel.is-loading{position:relative;opacity:.62;pointer-events:none;}
.pea-calendar-panel.is-loading:after{content:"Actualizando agenda…";position:absolute;inset:auto 14px 14px auto;z-index:2;border:1px solid rgba(255,205,0,.22);border-radius:999px;background:rgba(0,0,0,.72);color:var(--pea-yellow);padding:7px 11px;font-size:11px;font-weight:900;letter-spacing:.02em}
.pea-calendar-nav a[data-pea-month]{cursor:pointer}

/* v1.3.12: controles de tipografía, paleta de colores y botonera Mes/Día/Año/Lista */
.pea-agenda .pea-kicker{font-size:var(--pea-kicker-size)!important;font-weight:var(--pea-kicker-weight)!important;color:var(--pea-kicker-color)!important}.pea-agenda__header h2{font-size:var(--pea-title-size)!important;font-weight:var(--pea-title-weight)!important;color:var(--pea-title-color)!important}.pea-agenda__header p{font-size:var(--pea-subtitle-size)!important;font-weight:var(--pea-subtitle-weight)!important;color:var(--pea-subtitle-color)!important}.pea-tags span{font-size:var(--pea-filter-size)!important;font-weight:var(--pea-filter-weight)!important;color:var(--pea-filter-color)!important;background:var(--pea-filter-bg)!important;border-color:var(--pea-filter-border)!important}.pea-header-actions{display:flex!important;flex-direction:column!important;align-items:flex-end!important;justify-content:flex-end!important;gap:8px!important}.pea-header-actions__main{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.pea-header-actions .pea-btn{min-height:var(--pea-btn-height)!important;border-radius:var(--pea-btn-radius)!important;padding:0 var(--pea-btn-padding-x)!important;font-size:var(--pea-action-size)!important;font-weight:var(--pea-action-weight)!important;white-space:nowrap}.pea-header-actions .pea-btn--primary{background:var(--pea-action-bg)!important;border:1px solid var(--pea-action-border)!important;color:var(--pea-action-color)!important;box-shadow:none!important}.pea-header-actions .pea-btn--ghost{background:var(--pea-ghost-action-bg)!important;border:1px solid var(--pea-ghost-action-border)!important;color:var(--pea-ghost-action-color)!important}.pea-view-tabs{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex-wrap:nowrap;border:1px solid var(--pea-view-border);background:rgba(0,0,0,.28);border-radius:6px;padding:3px;max-width:100%;overflow-x:auto}.pea-view-tabs button{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:var(--pea-mini-height);border:1px solid var(--pea-view-border);border-radius:5px;background:var(--pea-view-bg);color:var(--pea-view-color);font-size:var(--pea-view-size);font-weight:var(--pea-view-weight);line-height:1;white-space:nowrap;padding:0 9px;cursor:pointer}.pea-view-tabs button.is-active,.pea-view-tabs button:hover{background:var(--pea-view-active-bg);color:var(--pea-view-active-color);border-color:var(--pea-view-active-bg)}.pea-view-tabs span:empty{display:none}.pea-calendar-nav strong{font-size:var(--pea-month-size)!important;font-weight:var(--pea-month-weight)!important;color:var(--pea-month-color)!important}.pea-calendar__dow{font-size:var(--pea-dow-size)!important;font-weight:var(--pea-dow-weight)!important;color:var(--pea-dow-color)!important}.pea-calendar__day strong{font-size:var(--pea-day-number-size)!important;font-weight:var(--pea-day-number-weight)!important;color:var(--pea-day-number-color)!important}.pea-calendar__day.has-events strong{color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;text-shadow:none!important}.pea-side__label{font-size:var(--pea-side-label-size)!important;font-weight:var(--pea-side-label-weight)!important;color:var(--pea-side-label-color)!important}.pea-side h3{font-size:var(--pea-side-title-size)!important;font-weight:var(--pea-side-title-weight)!important;color:var(--pea-side-title-color)!important}.pea-side p,.pea-side small{font-size:var(--pea-side-text-size)!important;font-weight:var(--pea-side-text-weight)!important;color:var(--pea-side-text-color)!important}.pea-bottom-head .pea-kicker{font-size:var(--pea-bottom-kicker-size)!important;font-weight:var(--pea-bottom-kicker-weight)!important;color:var(--pea-bottom-kicker-color)!important}.pea-bottom-head h3{font-size:var(--pea-bottom-title-size)!important;font-weight:var(--pea-bottom-title-weight)!important;color:var(--pea-bottom-title-color)!important}.pea-bottom-head p{font-size:var(--pea-bottom-text-size)!important;font-weight:var(--pea-bottom-text-weight)!important;color:var(--pea-bottom-text-color)!important}.pea-empty{font-size:var(--pea-empty-size)!important;font-weight:var(--pea-empty-weight)!important;color:var(--pea-empty-color)!important}.pea-calendar-panel.is-loading{opacity:.55;pointer-events:none;position:relative}.pea-calendar-panel.is-loading:after{content:'Actualizando agenda…';position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#111;color:#ffcd00;border:1px solid rgba(255,205,0,.45);border-radius:999px;padding:10px 16px;font-weight:900;box-shadow:0 14px 34px rgba(0,0,0,.32)}
@media(max-width:620px){.pea-header-actions{align-items:flex-start!important;width:100%}.pea-header-actions__main{justify-content:flex-start}.pea-view-tabs{justify-content:flex-start;width:100%;}.pea-view-tabs button{font-size:max(9px,var(--pea-view-size));padding:0 7px}.pea-agenda__header h2{font-size:min(var(--pea-title-size),34px)!important}}
.pea-date-badge em{font-style:normal;font-size:9px;font-weight:950;line-height:1;margin-top:1px;letter-spacing:.02em}.pea-date-badge{height:64px!important}

/* v1.4.2 / v1.6.49: jerarquía premium oscura en acciones de evento.
 * El amarillo sólido queda reservado para la acción principal “Me interesa”.
 * Reservar, favorito y enlaces secundarios usan superficies oscuras y acentos finos.
 */
.pea-event-card h4,
.pea-event-card h4 a{
    font-size:14px!important;
}
.pea-event-card .pea-card-actions .pea-mini-btn:not(.pea-mini-btn--share),
.pea-event-detail-box .pea-card-actions .pea-mini-btn:not(.pea-mini-btn--share){
    background:#080808!important;
    border-color:rgba(255,255,255,.18)!important;
    color:#f1f1f1!important;
    -webkit-text-fill-color:#f1f1f1!important;
    text-shadow:none!important;
}
.pea-event-card .pea-card-actions [data-pea-action="interest"],
.pea-event-detail-box .pea-card-actions [data-pea-action="interest"]{
    background:var(--pea-yellow)!important;
    border-color:var(--pea-yellow)!important;
    color:#111!important;
    -webkit-text-fill-color:#111!important;
}
.pea-event-card .pea-card-actions [data-pea-action="register"],
.pea-event-detail-box .pea-card-actions [data-pea-action="register"]{
    background:#080808!important;
    border-color:rgba(255,205,0,.35)!important;
    color:#f2f2f2!important;
    -webkit-text-fill-color:#f2f2f2!important;
}
.pea-event-card .pea-card-actions .pea-favorite-button,
.pea-event-detail-box .pea-card-actions .pea-favorite-button{
    background:#080808!important;
    border-color:rgba(255,255,255,.18)!important;
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    opacity:1!important;
    text-shadow:none!important;
}
.pea-event-card .pea-card-actions .pea-favorite-button.is-active,
.pea-event-detail-box .pea-card-actions .pea-favorite-button.is-active{
    background:#080808!important;
    border-color:rgba(255,205,0,.58)!important;
    color:#ffcd00!important;
    -webkit-text-fill-color:#ffcd00!important;
    opacity:1!important;
    text-shadow:none!important;
}
.pea-event-card .pea-card-actions .pea-mini-btn:not(.pea-mini-btn--share):hover,
.pea-event-card .pea-card-actions .pea-mini-btn:not(.pea-mini-btn--share):focus,
.pea-event-card .pea-card-actions .pea-mini-btn:not(.pea-mini-btn--share):active,
.pea-event-detail-box .pea-card-actions .pea-mini-btn:not(.pea-mini-btn--share):hover,
.pea-event-detail-box .pea-card-actions .pea-mini-btn:not(.pea-mini-btn--share):focus,
.pea-event-detail-box .pea-card-actions .pea-mini-btn:not(.pea-mini-btn--share):active{
    background:#121212!important;
    border-color:rgba(255,205,0,.45)!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
}
.pea-event-card .pea-card-actions [data-pea-action="interest"]:hover,
.pea-event-card .pea-card-actions [data-pea-action="interest"]:focus,
.pea-event-detail-box .pea-card-actions [data-pea-action="interest"]:hover,
.pea-event-detail-box .pea-card-actions [data-pea-action="interest"]:focus{
    background:#ffe064!important;
    border-color:#ffe064!important;
    color:#111!important;
    -webkit-text-fill-color:#111!important;
}


/* v1.4.3: restauración estrictamente aislada del skin oscuro original.
 * Evita que estilos de Elementor, tema u otros plugins conviertan en blanco
 * el fondo principal, auspicios, calendario o cuerpo de las tarjetas.
 */
.pea-agenda{
    color:var(--pea-paper)!important;
    background:
        radial-gradient(circle at 82% 6%,rgba(255,205,0,.08),transparent 25%),
        radial-gradient(circle at 10% 20%,rgba(255,205,0,.035),transparent 28%),
        linear-gradient(145deg,#050505 0%,#0d0d0d 45%,#050505 100%)!important;
}
.pea-agenda .pea-side{
    background:linear-gradient(180deg,rgba(255,205,0,.055),rgba(255,255,255,.040)),rgba(255,255,255,.025)!important;
}
.pea-agenda .pea-calendar-panel{
    background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.025))!important;
}
.pea-agenda .pea-bottom-carousel-wrap{
    background:rgba(255,255,255,.055)!important;
}
.pea-agenda .pea-event-card{
    background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.025))!important;
}
.pea-agenda .pea-event-card__body{
    background:transparent!important;
}


/* v1.4.4: ajuste solicitado exclusivamente para la botonera de vistas y acciones superiores. */
.pea-agenda .pea-view-tabs button{
    min-height:0!important;
    height:auto!important;
    padding:4px!important;
    gap:4px!important;
    font-size:14px!important;
    line-height:1!important;
    color:#111!important;
    background:#fff!important;
    border-color:#111!important;
    box-shadow:none!important;
}
.pea-agenda .pea-view-tabs button span,
.pea-agenda .pea-view-tabs button::before,
.pea-agenda .pea-view-tabs button::after{
    font-size:14px!important;
    color:#111!important;
}
.pea-agenda .pea-view-tabs button.is-active{
    background:var(--pea-yellow)!important;
    color:#111!important;
    border-color:#111!important;
}
.pea-agenda .pea-view-tabs button:not(.is-active):hover,
.pea-agenda .pea-view-tabs button:not(.is-active):focus{
    background:#fff!important;
    color:#111!important;
}
.pea-agenda .pea-view-tabs button.is-active:hover,
.pea-agenda .pea-view-tabs button.is-active:focus{
    background:var(--pea-yellow)!important;
    color:#111!important;
}
.pea-agenda .pea-header-actions__main .pea-btn{
    min-height:0!important;
    height:auto!important;
    padding:4px!important;
    font-size:14px!important;
    line-height:1!important;
    background:var(--pea-yellow)!important;
    border-color:var(--pea-yellow)!important;
    color:#111!important;
    box-shadow:none!important;
}
.pea-agenda .pea-header-actions__main .pea-btn:hover,
.pea-agenda .pea-header-actions__main .pea-btn:focus,
.pea-agenda .pea-header-actions__main .pea-btn:active,
.pea-agenda .pea-header-actions__main .pea-btn *{
    background:var(--pea-yellow)!important;
    border-color:var(--pea-yellow)!important;
    color:#111!important;
    fill:#111!important;
    stroke:#111!important;
}
.pea-agenda-view[hidden]{display:none!important}
.pea-agenda-view.is-active{display:block}
.pea-day-view h3,.pea-list-view h3,.pea-year-view h3{margin:0 0 14px;color:var(--pea-paper);font-size:18px;line-height:1.2}
.pea-view-empty{margin:0;padding:28px 16px;text-align:center;color:var(--pea-muted)}
.pea-year-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.pea-year-grid a{display:flex;align-items:center;justify-content:center;min-height:42px;border:1px solid rgba(255,205,0,.35);border-radius:9px;background:rgba(255,255,255,.055);color:var(--pea-paper);font-size:13px;font-weight:800;text-decoration:none}
.pea-year-grid a:hover,.pea-year-grid a.is-current{background:var(--pea-yellow);border-color:var(--pea-yellow);color:#111}
.pea-agenda-list{display:grid;gap:8px}
.pea-agenda-list__item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid rgba(255,255,255,.12);border-radius:10px;background:rgba(255,255,255,.055)}
.pea-agenda-list__item div{display:grid;gap:3px;min-width:0}
.pea-agenda-list__item span,.pea-agenda-list__item small{color:var(--pea-muted);font-size:11px}
.pea-agenda-list__item strong{color:var(--pea-paper);font-size:13px;line-height:1.25}
.pea-agenda-list__item a{flex:0 0 auto;border-radius:7px;background:var(--pea-yellow);color:#111;padding:6px 8px;font-size:11px;font-weight:800;text-decoration:none}
@media(max-width:620px){.pea-year-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pea-agenda-list__item{align-items:flex-start;flex-direction:column}}


/* Ficha de evento nativa v1.5.0 */
.pea-native-event-detail{max-width:1180px;margin:18px auto;border:1px solid #e6e6e6;border-radius:16px;background:#fff;padding:18px}.pea-event-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pea-verified{display:inline-flex;background:#edf7ff;color:#0b65b1;border:1px solid #cce9ff;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800}.pea-native-event-detail .pea-detail-grid span,.pea-native-event-detail p{font-size:16px;line-height:1.55}.pea-banner-slot{max-width:1180px;margin:18px auto;border-radius:16px;overflow:hidden}@media(max-width:640px){.pea-native-event-detail{margin:12px;padding:14px}.pea-native-event-detail .pea-detail-grid{grid-template-columns:1fr}}




/* v1.5.5 — color puntual solicitado para el título “Mis eventos”. */
.pea-user-panel > .pea-my-events-title{
    color:#d1d5db!important;
    -webkit-text-fill-color:#d1d5db!important;
}

/* v1.5.6: páginas individuales por tipo/categoría y clasificación propia */
body.pea-event-route-body,
body.pea-event-route-body #page,
body.pea-event-route-body .site,
body.pea-event-route-body .site-content { background:#ffffff; }
.pea-event-route-page{width:min(1180px,calc(100% - 32px));margin:20px auto 48px;background:#ffffff;color:#111111;min-height:240px;box-sizing:border-box}
.pea-event-route-head{background:transparent;padding:0 0 14px;border-bottom:1px solid #e1e5eb;margin-bottom:18px}
.pea-event-route-head span{display:block;color:#555;font-size:13px;font-weight:700;letter-spacing:.04em;margin-bottom:4px}
.pea-event-route-head h1{margin:0;background:transparent;color:#111111;font-size:16px;line-height:1.35;font-weight:700}
.pea-event-route-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.pea-event-route-empty{background:#f5f6f8;color:#222;border:1px solid #d8dde5;border-radius:10px;padding:18px;font-size:13px}
.pea-event-classification{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 7px}
.pea-event-classification span{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border-radius:999px;font-size:13px;line-height:1.2;font-weight:700}
.pea-activity-type{background:#080808!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:var(--pea-btn-radius,10px)!important;color:#f1f1f1!important;-webkit-text-fill-color:#f1f1f1!important;text-shadow:none!important}
.pea-event-category{background:#080808!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:var(--pea-btn-radius,10px)!important;color:#f1f1f1!important;-webkit-text-fill-color:#f1f1f1!important;text-shadow:none!important}
@media(max-width:1024px){.pea-event-route-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.pea-event-route-page{width:min(100% - 20px,680px);margin-top:14px}.pea-event-route-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
@media(max-width:460px){.pea-event-route-grid{grid-template-columns:1fr}}


/* v1.5.9 — colores legibles corregidos directamente en el plugin de origen.
 * No usa máscaras, overlays, filtros, JavaScript ni capas auxiliares.
 * Se corrigen únicamente las propiedades reales de color y relleno del texto.
 */

/* Título y contenido general de la ficha individual del evento sobre fondo claro. */
body.single-publicar_evento .entry-title,
body.single-publicar_evento .entry-title a,
body.single-publicar_evento article .wp-block-post-title,
body.single-publicar_evento .site-main .wp-block-post-title,
body.single-publicar_evento .elementor-location-single > .elementor-element:first-child .elementor-heading-title{
    color:#111827!important;
    -webkit-text-fill-color:#111827!important;
    opacity:1!important;
}
body.single-publicar_evento .entry-content,
body.single-publicar_evento .entry-content > p,
body.single-publicar_evento article .entry-content > p{
    color:#374151!important;
    -webkit-text-fill-color:#374151!important;
    opacity:1!important;
}

/* Tarjeta blanca “Información del evento”. */
.pea-event-detail-box.pea-native-event-detail{
    color:#111827!important;
    -webkit-text-fill-color:#111827!important;
}
.pea-event-detail-box.pea-native-event-detail .pea-kicker{
    color:#111111!important;
    -webkit-text-fill-color:#111111!important;
    background:#ffcd00!important;
    opacity:1!important;
}
.pea-event-detail-box.pea-native-event-detail h3,
.pea-event-detail-box.pea-native-event-detail .pea-detail-grid b,
.pea-event-detail-box.pea-native-event-detail .pea-detail-grid span,
.pea-event-detail-box.pea-native-event-detail .pea-detail-grid div,
.pea-event-detail-box.pea-native-event-detail p,
.pea-event-detail-box.pea-native-event-detail strong{
    color:#111827!important;
    -webkit-text-fill-color:#111827!important;
    opacity:1!important;
}
.pea-event-detail-box.pea-native-event-detail .pea-detail-grid b{
    color:#1f2937!important;
    -webkit-text-fill-color:#1f2937!important;
}
.pea-event-detail-box.pea-native-event-detail .pea-verified{
    color:#0b65b1!important;
    -webkit-text-fill-color:#0b65b1!important;
}

/* Botones amarillos: texto e iconos negros reales. */
.pea-event-detail-box .pea-card-actions .pea-mini-btn,
.pea-event-detail-box .pea-card-actions .pea-mini-btn:hover,
.pea-event-detail-box .pea-card-actions .pea-mini-btn:focus,
.pea-event-detail-box .pea-card-actions .pea-mini-btn:active,
.pea-event-detail-box .pea-card-actions .pea-mini-btn *,
.pea-event-detail-box .pea-card-actions .pea-mini-btn::before,
.pea-event-detail-box .pea-card-actions .pea-mini-btn::after{
    color:#111111!important;
    -webkit-text-fill-color:#111111!important;
    fill:#111111!important;
    stroke:#111111!important;
    opacity:1!important;
}

/* Tarjeta negra del organizador: textos blancos y distintivo amarillo. */
.pea-event-detail-box:not(.pea-native-event-detail){
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
}
.pea-event-detail-box:not(.pea-native-event-detail) h1,
.pea-event-detail-box:not(.pea-native-event-detail) h2,
.pea-event-detail-box:not(.pea-native-event-detail) h3,
.pea-event-detail-box:not(.pea-native-event-detail) h4,
.pea-event-detail-box:not(.pea-native-event-detail) p,
.pea-event-detail-box:not(.pea-native-event-detail) strong,
.pea-event-detail-box:not(.pea-native-event-detail) b,
.pea-event-detail-box:not(.pea-native-event-detail) .pea-form-note{
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    opacity:1!important;
}
.pea-event-detail-box:not(.pea-native-event-detail) .pea-kicker{
    color:#ffcd00!important;
    -webkit-text-fill-color:#ffcd00!important;
    opacity:1!important;
}


/* v1.6.0 — corrección puntual de botonera en la ficha individual.
 * - Evita que la clase .pea-mini-btn--icon colapse el botón “Favorito”.
 * - Permite que las acciones se expandan según el texto real.
 * - Mantiene el diseño amarillo original sin aplastar letras.
 */
.pea-event-detail-box .pea-card-actions{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    gap:8px!important;
}
.pea-event-detail-box .pea-card-actions .pea-mini-btn,
.pea-event-detail-box .pea-card-actions .pea-mini-btn--strong,
.pea-event-detail-box .pea-card-actions .pea-mini-btn--link{
    width:auto!important;
    max-width:100%!important;
    min-height:36px!important;
    height:auto!important;
    padding:8px 14px!important;
    line-height:1.2!important;
    white-space:nowrap!important;
    flex:0 0 auto!important;
}
.pea-event-detail-box .pea-card-actions .pea-mini-btn--icon{
    width:auto!important;
    min-width:max-content!important;
    padding:8px 14px!important;
}
@media(max-width:620px){
    .pea-event-detail-box .pea-card-actions .pea-mini-btn,
    .pea-event-detail-box .pea-card-actions .pea-mini-btn--strong,
    .pea-event-detail-box .pea-card-actions .pea-mini-btn--link,
    .pea-event-detail-box .pea-card-actions .pea-mini-btn--icon{
        white-space:normal!important;
        text-align:center!important;
    }
}


/* v1.6.1 — jerarquía tipográfica legible en la ficha individual.
 * Rango solicitado: mínimo 13 px y máximo 16 px.
 * Alcance limitado a las tarjetas de información y organizador para no alterar
 * el título principal ni otros módulos del sitio.
 */
.pea-event-detail-box.pea-native-event-detail .pea-kicker,
.pea-event-detail-box:not(.pea-native-event-detail) .pea-kicker{
    font-size:13px!important;
    line-height:1.2!important;
}
.pea-event-detail-box.pea-native-event-detail h3,
.pea-event-detail-box:not(.pea-native-event-detail) h3{
    font-size:16px!important;
    line-height:1.25!important;
}
.pea-event-detail-box.pea-native-event-detail .pea-detail-grid b{
    font-size:13px!important;
    line-height:1.25!important;
}
.pea-event-detail-box.pea-native-event-detail .pea-detail-grid span{
    font-size:14px!important;
    line-height:1.35!important;
}
.pea-event-detail-box.pea-native-event-detail p,
.pea-event-detail-box:not(.pea-native-event-detail) p,
.pea-event-detail-box:not(.pea-native-event-detail) strong,
.pea-event-detail-box:not(.pea-native-event-detail) b,
.pea-event-detail-box .pea-form-note{
    font-size:13px!important;
    line-height:1.45!important;
}
.pea-event-detail-box .pea-card-actions .pea-mini-btn,
.pea-event-detail-box .pea-card-actions .pea-mini-btn--strong,
.pea-event-detail-box .pea-card-actions .pea-mini-btn--link,
.pea-event-detail-box .pea-card-actions .pea-mini-btn--icon{
    font-size:13px!important;
    line-height:1.2!important;
}


/* v1.6.2 — mínimo 13px para “Cambiar zona”.
 * Ajuste puntual para el botón flotante de zona, sin alterar el resto del diseño.
 */
.pea-change-zone-text{
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    letter-spacing:0!important;
}


/* v1.6.3 — jerarquía total de 13 a 16 px y corrección de márgenes.
 * - El título principal de la ficha individual baja a 16 px máximo.
 * - Textos secundarios se mantienen dentro del rango 13–16 px.
 * - Se amplían padding, separación y line-height de la botonera para evitar palabras aplastadas.
 */
body.single-publicar_evento .entry-title,
body.single-publicar_evento .entry-title a,
body.single-publicar_evento article .wp-block-post-title,
body.single-publicar_evento .site-main .wp-block-post-title,
body.single-publicar_evento .elementor-location-single > .elementor-element:first-child .elementor-heading-title{
    font-size:16px!important;
    line-height:1.25!important;
    font-weight:800!important;
    letter-spacing:0!important;
    margin:0 0 12px!important;
    word-break:normal!important;
    overflow-wrap:anywhere!important;
}
body.single-publicar_evento .entry-content,
body.single-publicar_evento .entry-content > p,
body.single-publicar_evento article .entry-content > p{
    font-size:13px!important;
    line-height:1.45!important;
    margin:0 0 12px!important;
}
.pea-event-detail-box.pea-native-event-detail .pea-kicker,
.pea-event-detail-box:not(.pea-native-event-detail) .pea-kicker{
    font-size:13px!important;
    line-height:1.25!important;
}
.pea-event-detail-box.pea-native-event-detail h3,
.pea-event-detail-box:not(.pea-native-event-detail) h3{
    font-size:16px!important;
    line-height:1.3!important;
    margin:0 0 12px!important;
}
.pea-event-detail-box.pea-native-event-detail .pea-detail-grid{
    gap:14px!important;
    margin:16px 0 18px!important;
}
.pea-event-detail-box.pea-native-event-detail .pea-detail-grid b{
    font-size:13px!important;
    line-height:1.25!important;
    margin-bottom:6px!important;
}
.pea-event-detail-box.pea-native-event-detail .pea-detail-grid span{
    font-size:14px!important;
    line-height:1.4!important;
}
.pea-event-detail-box.pea-native-event-detail p,
.pea-event-detail-box:not(.pea-native-event-detail) p,
.pea-event-detail-box:not(.pea-native-event-detail) strong,
.pea-event-detail-box:not(.pea-native-event-detail) b,
.pea-event-detail-box .pea-form-note{
    font-size:13px!important;
    line-height:1.5!important;
}
.pea-event-detail-box .pea-card-actions{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    gap:10px!important;
    row-gap:10px!important;
    margin-top:16px!important;
}
.pea-event-detail-box .pea-card-actions .pea-mini-btn,
.pea-event-detail-box .pea-card-actions .pea-mini-btn--strong,
.pea-event-detail-box .pea-card-actions .pea-mini-btn--link,
.pea-event-detail-box .pea-card-actions .pea-mini-btn--icon{
    font-size:13px!important;
    line-height:1.25!important;
    letter-spacing:0!important;
    min-height:38px!important;
    height:auto!important;
    padding:9px 16px!important;
    margin:0!important;
    width:auto!important;
    max-width:100%!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-align:center!important;
    flex:0 0 auto!important;
}
.pea-event-detail-box .pea-card-actions .pea-mini-btn--icon{
    min-width:max-content!important;
}
@media(max-width:680px){
    .pea-event-detail-box .pea-card-actions .pea-mini-btn,
    .pea-event-detail-box .pea-card-actions .pea-mini-btn--strong,
    .pea-event-detail-box .pea-card-actions .pea-mini-btn--link,
    .pea-event-detail-box .pea-card-actions .pea-mini-btn--icon{
        white-space:normal!important;
    }
}


/* v1.6.4 — corrección efectiva con cambio real de versión para invalidar caché.
 * El título principal queda en 16px máximo y la botonera conserva el ancho real del texto.
 */
body.single-publicar_evento main h1,
body.single-publicar_evento #primary h1,
body.single-publicar_evento .site-main h1,
body.single-publicar_evento .entry-header .entry-title,
body.single-publicar_evento .wp-block-post-title,
body.single-publicar_evento .elementor-widget-theme-post-title .elementor-heading-title{
    font-size:16px!important;
    line-height:1.28!important;
    margin:0 0 12px!important;
    letter-spacing:0!important;
}
.pea-native-event-detail .pea-detail-actions{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:10px!important;
    margin-top:18px!important;
    overflow:visible!important;
}
.pea-native-event-detail .pea-detail-actions>.pea-mini-btn{
    display:inline-flex!important;
    flex:0 0 auto!important;
    flex-shrink:0!important;
    width:auto!important;
    min-width:max-content!important;
    max-width:100%!important;
    min-height:38px!important;
    height:auto!important;
    padding:9px 16px!important;
    margin:0!important;
    font-size:13px!important;
    line-height:1.25!important;
    white-space:nowrap!important;
    overflow:visible!important;
}
.pea-native-event-detail .pea-detail-actions>.pea-mini-btn--icon{
    width:auto!important;
    min-width:max-content!important;
    padding:9px 16px!important;
}


/* v1.6.5 — separación real de 20px entre header y título de la ficha individual.
 * Ajuste manual editable en este mismo bloque.
 */
body.single-publicar_evento .entry-header,
body.single-publicar_evento .elementor-widget-theme-post-title,
body.single-publicar_evento .wp-block-post-title,
body.single-publicar_evento main h1:first-of-type,
body.single-publicar_evento #primary h1:first-of-type,
body.single-publicar_evento .site-main h1:first-of-type{
    margin-top:20px!important;
}

/* Si el tema elimina el contenedor del título, este fallback asegura el mismo espacio. */
body.single-publicar_evento main,
body.single-publicar_evento #primary,
body.single-publicar_evento .site-main{
    padding-top:0!important;
}


/* v1.6.6 — separación efectiva de 20px debajo del header.
 * Se usa padding para impedir el colapso de márgenes que dejaba el título pegado.
 */
body.single-publicar_evento .entry-header{
    margin-top:0!important;
    padding-top:20px!important;
}
body.single-publicar_evento .entry-header .entry-title,
body.single-publicar_evento .entry-header .wp-block-post-title{
    margin-top:0!important;
    padding-top:0!important;
}
body.single-publicar_evento .elementor-widget-theme-post-title{
    margin-top:0!important;
    padding-top:20px!important;
}
body.single-publicar_evento .wp-block-post-title:not(.entry-header .wp-block-post-title){
    margin-top:0!important;
    padding-top:20px!important;
}


/* v1.6.7 — contraste uniforme en formularios sobre fondo oscuro.
 * Mantiene textos de campos sobre fondo claro en negro y encabezados sobre negro en blanco.
 */
.pea-publish-form,
.pea-publish-form-wrap,
.pea-native-event-form,
.pea-event-form,
.pea-event-submit,
.pea-dark-panel,
[class*="pea-"][style*="background:#000"],
[class*="pea-"][style*="background: #000"]{
    color:#ffffff!important;
}
.pea-publish-form h1,
.pea-publish-form h2,
.pea-publish-form h3,
.pea-publish-form h4,
.pea-publish-form h5,
.pea-publish-form h6,
.pea-publish-form-wrap h1,
.pea-publish-form-wrap h2,
.pea-publish-form-wrap h3,
.pea-publish-form-wrap h4,
.pea-publish-form-wrap h5,
.pea-publish-form-wrap h6,
.pea-native-event-form h1,
.pea-native-event-form h2,
.pea-native-event-form h3,
.pea-native-event-form h4,
.pea-event-form h1,
.pea-event-form h2,
.pea-event-form h3,
.pea-event-form h4,
.pea-event-submit h1,
.pea-event-submit h2,
.pea-event-submit h3,
.pea-event-submit h4,
.pea-publish-form label,
.pea-publish-form-wrap label,
.pea-native-event-form label,
.pea-event-form label,
.pea-event-submit label,
.pea-publish-form .pea-form-note,
.pea-publish-form-wrap .pea-form-note,
.pea-native-event-form .pea-form-note,
.pea-event-form .pea-form-note,
.pea-event-submit .pea-form-note{
    color:#ffffff!important;
}
.pea-publish-form input,
.pea-publish-form textarea,
.pea-publish-form select,
.pea-publish-form-wrap input,
.pea-publish-form-wrap textarea,
.pea-publish-form-wrap select,
.pea-native-event-form input,
.pea-native-event-form textarea,
.pea-native-event-form select,
.pea-event-form input,
.pea-event-form textarea,
.pea-event-form select,
.pea-event-submit input,
.pea-event-submit textarea,
.pea-event-submit select{
    color:#111111!important;
    background:#ffffff!important;
    font-size:13px!important;
}
.pea-publish-form h1,
.pea-publish-form h2,
.pea-publish-form h3,
.pea-publish-form-wrap h1,
.pea-publish-form-wrap h2,
.pea-publish-form-wrap h3,
.pea-native-event-form h1,
.pea-native-event-form h2,
.pea-native-event-form h3,
.pea-event-form h1,
.pea-event-form h2,
.pea-event-form h3,
.pea-event-submit h1,
.pea-event-submit h2,
.pea-event-submit h3{
    font-size:16px!important;
    line-height:1.3!important;
}
.pea-publish-form label,
.pea-publish-form-wrap label,
.pea-native-event-form label,
.pea-event-form label,
.pea-event-submit label,
.pea-publish-form p,
.pea-publish-form-wrap p,
.pea-native-event-form p,
.pea-event-form p,
.pea-event-submit p{
    font-size:13px!important;
    line-height:1.45!important;
}

/* v1.6.8: contraste directo para año y fecha de las vistas de Agenda */
.pea-agenda .pea-year-view h3,.pea-agenda .pea-day-view h3,.pea-agenda .pea-list-view h3,.pea-agenda .pea-calendar-nav strong{color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:none!important;opacity:1!important;}


/* v1.6.14 — días activos, conteos y estado temporal del evento. */
.pea-calendar__day.has-events{background:linear-gradient(180deg,rgba(255,205,0,.16),rgba(9,9,9,.82));box-shadow:inset 0 0 0 1px rgba(255,205,0,.48)}
.pea-calendar__day-trigger{display:flex;align-items:center;gap:7px;text-decoration:none!important;color:#fff!important}
.pea-calendar__event-count{display:block;min-height:0;border-radius:0;padding:0;background:transparent;border:0;color:#fff!important;font-size:10px;font-weight:900;line-height:1.15;text-align:center;white-space:nowrap;max-width:100%}
.pea-day-view__back{display:inline-flex;margin:0 0 10px;color:var(--pea-yellow)!important;text-decoration:none;font-size:12px;font-weight:900}
.pea-event-countdown{display:flex;align-items:center;width:100%;min-height:34px;margin:2px 0 8px;padding:7px 10px;border-radius:10px;border:1px solid rgba(255,205,0,.18);background:rgba(255,255,255,.045);color:#e8e8e8;font-size:12px;font-weight:900;line-height:1.25}
.pea-event-countdown[data-state="live"]{background:rgba(25,175,82,.18);border-color:rgba(25,175,82,.48);color:#dffff0}
.pea-event-countdown[data-state="ended"]{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.14);color:rgba(255,255,255,.72)}
.pea-event-countdown--detail{margin:16px 0 10px;max-width:520px}
.pea-event-metrics{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 8px}
.pea-event-metrics span{display:inline-flex;align-items:center;gap:4px;min-height:27px;border-radius:999px;padding:5px 9px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.13);color:#fff;font-size:11px;font-weight:700}
.pea-event-metrics b{color:var(--pea-yellow);font-size:12px}
.pea-event-metrics--detail{margin:0 0 8px}
@media(max-width:760px){
  .pea-calendar__day{min-height:78px;padding:6px}
  .pea-calendar__day-trigger{display:grid;justify-items:center;gap:4px}
  .pea-calendar__event-count{padding:0;font-size:9px;text-align:center;white-space:nowrap}
  .pea-calendar__events{display:none}
  .pea-calendar__day.has-events strong{width:31px;height:31px}
}


/* v1.6.16 — flechas transparentes y jerarquía tipográfica directa de 14 a 16 px. */
html.pea-day-modal-open,body.pea-day-modal-open{overflow:hidden!important;overscroll-behavior:none}
.pea-day-modal,.pea-day-modal *{box-sizing:border-box}
.pea-day-modal[hidden]{display:none!important}
.pea-day-modal{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:12px;font-family:inherit}
.pea-day-modal__backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(0,0,0,.78);backdrop-filter:blur(4px);cursor:pointer}
.pea-day-modal__dialog{position:relative;z-index:1;display:flex;flex-direction:column;width:min(720px,100%);max-height:min(88dvh,820px);overflow:hidden;border:1px solid rgba(255,205,0,.62);border-radius:22px;background:linear-gradient(180deg,#171717,#090909);color:#fff;box-shadow:0 28px 90px rgba(0,0,0,.72);outline:none}
.pea-day-modal__header{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px;flex:0 0 auto;padding:14px 58px 14px 14px;border-bottom:1px solid rgba(255,255,255,.13);background:linear-gradient(180deg,rgba(255,205,0,.12),rgba(255,255,255,.035))}
.pea-day-modal__heading{min-width:0;text-align:center}
.pea-day-modal__heading span{display:block;margin:0 0 4px;color:#ffcd00!important;font-size:clamp(10px,3.2vw,14px);font-weight:900;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.pea-day-modal__heading h3{margin:0!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:16px!important;line-height:1.25!important;font-weight:900!important;text-transform:capitalize;white-space:nowrap;letter-spacing:-.02em}
.pea-day-modal__arrow{appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:44px!important;height:44px!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;background-color:transparent!important;background-image:none!important;color:#fff!important;cursor:pointer;font:inherit;font-size:30px!important;font-weight:950;line-height:1!important;box-shadow:none!important;outline:0!important;-webkit-appearance:none!important}
.pea-day-modal__close{appearance:none;display:inline-flex;align-items:center;justify-content:center;position:absolute;right:12px;top:12px;width:38px;height:38px;border-radius:10px;background:#101827;color:#fff;border:1px solid rgba(255,255,255,.2);cursor:pointer;font:inherit;font-size:25px;font-weight:950;line-height:1;box-shadow:none}
.pea-day-modal__arrow:hover,.pea-day-modal__arrow:focus,.pea-day-modal__arrow:active{border:0!important;background:transparent!important;background-color:transparent!important;background-image:none!important;color:#ffcd00!important;box-shadow:none!important;outline:0!important}
.pea-day-modal__close:hover,.pea-day-modal__close:focus{background:#202b3c;outline:2px solid rgba(255,255,255,.18);outline-offset:2px}
.pea-day-modal__body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:14px;scrollbar-gutter:stable}
.pea-day-modal__panel[hidden]{display:none!important}
.pea-day-modal__panel.is-active{display:block}
.pea-day-modal__summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;padding:9px 11px;border:1px solid rgba(255,205,0,.24);border-radius:12px;background:rgba(255,205,0,.08)}
.pea-day-modal__summary strong{color:#ffcd00!important;font-size:16px;font-weight:900}
.pea-day-modal__summary span{color:rgba(255,255,255,.72)!important;font-size:14px;text-align:right}
.pea-day-modal__events{display:grid;gap:10px}
.pea-day-modal__event{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px;border:1px solid rgba(255,255,255,.13);border-radius:14px;background-color:#151515;background-repeat:no-repeat;background-position:right center;background-size:auto 94%;background-blend-mode:normal}
.pea-day-modal__event--rally{background-image:linear-gradient(90deg,rgba(21,21,21,.99) 0%,rgba(21,21,21,.94) 46%,rgba(21,21,21,.74) 72%,rgba(21,21,21,.56) 100%),var(--pea-discipline-rally)}
.pea-day-modal__event--drift{background-image:linear-gradient(90deg,rgba(21,21,21,.99) 0%,rgba(21,21,21,.94) 46%,rgba(17,22,25,.74) 72%,rgba(10,18,22,.55) 100%),var(--pea-discipline-drift)}
.pea-day-modal__event--autocross{background-image:linear-gradient(90deg,rgba(21,21,21,.99) 0%,rgba(21,21,21,.94) 46%,rgba(28,24,17,.74) 72%,rgba(29,22,11,.56) 100%),var(--pea-discipline-autocross)}
.pea-day-modal__event--circuito{background-image:linear-gradient(90deg,rgba(21,21,21,.99) 0%,rgba(21,21,21,.94) 46%,rgba(12,21,18,.74) 72%,rgba(8,19,14,.56) 100%),var(--pea-discipline-circuito)}
.pea-day-modal__event--piques{background-image:linear-gradient(90deg,rgba(21,21,21,.99) 0%,rgba(21,21,21,.94) 46%,rgba(24,17,26,.74) 72%,rgba(22,12,25,.56) 100%),var(--pea-discipline-piques)}
.pea-day-modal__event--general{background-image:linear-gradient(90deg,rgba(21,21,21,.99) 0%,rgba(21,21,21,.95) 52%,rgba(21,21,21,.72) 100%),var(--pea-discipline-general)}

.pea-day-modal__event-main{display:grid;gap:6px;min-width:0}
.pea-day-modal__event-topline{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.pea-day-modal__event-statusline{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:2px 0 0}
.pea-day-modal__time,.pea-day-modal__category,.pea-day-modal__format{display:inline-flex;align-items:center;min-height:28px;padding:4px 9px;border-radius:999px;font-size:14px;font-weight:900;line-height:1.1}
.pea-day-modal__time{width:max-content;max-width:100%;background:#ffcd00;color:#111!important}
.pea-day-modal__time--unknown{background:#050505!important;border:1px solid rgba(255,205,0,.42)!important;color:#d8bc55!important;-webkit-text-fill-color:#d8bc55!important}
.pea-day-modal__category{background:#e9edf3;color:#152236!important}
.pea-day-modal__format{border:1px solid rgba(255,255,255,.20);background:rgba(255,255,255,.035);color:#d9d9d9!important;-webkit-text-fill-color:#d9d9d9!important;text-transform:uppercase}
.pea-day-modal__event h4{margin:0!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:16px!important;line-height:1.3!important;font-weight:900!important}
.pea-day-modal__event p{margin:0!important;color:rgba(255,255,255,.7)!important;-webkit-text-fill-color:rgba(255,255,255,.7)!important;font-size:14px!important;line-height:1.4!important}
.pea-day-modal__event .pea-event-timing{display:inline-flex;width:max-content;max-width:100%;margin:0;padding:5px 8px;border-radius:8px;border:1px solid rgba(255,205,0,.18);background:rgba(255,255,255,.045);color:#e8e8e8!important;-webkit-text-fill-color:#e8e8e8!important;font-size:14px;font-weight:900;line-height:1.2}
.pea-day-modal__event-link{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 13px;border:1px solid rgba(255,205,0,.55);border-radius:10px;background:#030303;color:#dfbd43!important;-webkit-text-fill-color:#dfbd43!important;font-size:14px;font-weight:900;text-decoration:none!important;white-space:nowrap}
.pea-day-modal__event-link:hover,.pea-day-modal__event-link:focus{background:#101010;color:#ffcd00!important;-webkit-text-fill-color:#ffcd00!important;border-color:rgba(255,205,0,.78)}
@media(max-width:620px){
  .pea-day-modal{padding:8px}
  .pea-day-modal__dialog{width:100%;max-height:calc(100dvh - 16px);border-radius:18px}
  .pea-day-modal__header{grid-template-columns:32px minmax(0,1fr) 32px;gap:2px;padding:12px 44px 12px 4px}
  .pea-day-modal__arrow{width:32px!important;height:40px!important;font-size:27px!important}
  .pea-day-modal__close{right:8px;top:10px;width:34px;height:34px;font-size:22px}
  .pea-day-modal__heading h3{font-size:clamp(11px,3.3vw,14px)!important;white-space:nowrap!important;letter-spacing:-.025em!important}
  .pea-day-modal__body{padding:10px}
  .pea-day-modal__summary{align-items:flex-start;flex-direction:column;gap:3px}
  .pea-day-modal__summary span{text-align:left}
  .pea-day-modal__event{align-items:stretch;flex-direction:column;gap:10px;background-position:right 18px center;background-size:auto 72%}
  .pea-day-modal__event-link{width:100%}
}


/* v1.6.22 — dos fotos nativas para mostrar lugar y ruta del evento. */
.pea-event-photo-admin{border:1px solid #dcdcde;border-radius:10px;padding:14px;background:#f6f7f7}.pea-event-photo-admin>strong{font-size:14px}.pea-event-photo-admin>p{margin:5px 0 12px;color:#50575e;font-weight:400}.pea-event-photo-admin__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pea-event-photo-control{display:grid;gap:8px;align-content:start;padding:12px;border:1px solid #dcdcde;border-radius:9px;background:#fff}.pea-event-photo-control>span{font-size:13px;font-weight:700}.pea-event-photo-preview{display:block;width:100%;aspect-ratio:1/1;object-fit:contain;background:#000;border:1px solid #dcdcde;border-radius:8px}.pea-event-photo-control>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.pea-event-photo-upload small{display:block;color:rgba(255,255,255,.72);font-size:12px;font-weight:500;line-height:1.4}.pea-event-location-gallery{margin:18px 0}.pea-event-location-gallery h4{margin:0 0 10px;color:#fff;font-size:16px}.pea-event-location-gallery__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pea-event-location-gallery__item{margin:0;border:1px solid rgba(255,255,255,.14);border-radius:14px;overflow:hidden}.pea-event-location-gallery__item.pea-event-card__media--dark{background:#000}.pea-event-location-gallery__item.pea-event-card__media--light{background:#fff}.pea-event-location-gallery__item a{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;background:inherit}.pea-event-location-gallery__item img{display:block;width:100%;height:100%;object-fit:contain}.pea-event-location-gallery__item figcaption{padding:9px 11px;background:#171717;color:#fff;font-size:14px;font-weight:800}@media(max-width:620px){.pea-event-photo-admin__grid,.pea-event-location-gallery__grid{grid-template-columns:1fr}}


/* v1.6.26 — ficha flotante del evento con URL independiente en el navegador. */
.pea-event-modal[hidden]{display:none!important}
.pea-event-modal{position:fixed;inset:0;z-index:2147483646;display:grid;place-items:center;padding:12px;box-sizing:border-box}
.pea-event-modal__backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(0,0,0,.82);backdrop-filter:blur(5px);cursor:pointer}
.pea-event-modal__dialog{position:relative;z-index:1;display:flex;flex-direction:column;width:min(920px,100%);max-height:min(94dvh,980px);overflow:hidden;border:1px solid rgba(255,205,0,.62);border-radius:22px;background:#f4f4f4;color:#111;box-shadow:0 30px 100px rgba(0,0,0,.76);outline:none}
.pea-event-modal__header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 auto;min-height:68px;padding:12px 62px 12px 16px;border-bottom:1px solid rgba(255,255,255,.14);background:linear-gradient(180deg,#171717,#090909)}
.pea-event-modal__heading{min-width:0}.pea-event-modal__heading span{display:block;margin:0 0 3px;color:#ffcd00;font-size:14px;font-weight:900;letter-spacing:.08em}.pea-event-modal__heading h3{margin:0;color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;font-size:16px;line-height:1.25;font-weight:900;white-space:normal;overflow-wrap:anywhere}
.pea-event-modal__close{appearance:none;position:absolute;right:12px;top:12px;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid #111;border-radius:10px;background:#ffcd00;color:#111;font-size:28px;font-weight:950;line-height:1;cursor:pointer;box-shadow:none}
.pea-event-modal__close:hover,.pea-event-modal__close:focus{background:#ffe36b;outline:2px solid rgba(255,205,0,.32);outline-offset:2px}
.pea-event-modal__body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:14px;background:#f4f4f4}
.pea-event-modal__loading,.pea-event-modal__error{display:grid;place-items:center;min-height:220px;margin:0;color:#1f2937;font-size:16px;font-weight:800;text-align:center}
.pea-event-modal__content{display:grid;gap:14px}.pea-event-modal__hero{display:grid;grid-template-columns:minmax(220px,340px) minmax(0,1fr);gap:14px;align-items:start;padding:14px;border:1px solid #dedede;border-radius:18px;background:#fff}
.pea-event-modal__image{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1/1;border-radius:14px;overflow:hidden}.pea-event-modal__image img{display:block;width:100%;height:100%;object-fit:contain}.pea-event-modal__image.pea-event-card__media--dark{background:#000}.pea-event-modal__image.pea-event-card__media--light{background:#fff}
.pea-event-modal__intro{min-width:0}.pea-event-modal__intro h2{margin:0 0 10px;color:#111;font-size:16px;line-height:1.3;font-weight:900;overflow-wrap:anywhere}.pea-event-modal__description,.pea-event-modal__description p{margin:0 0 8px;color:#374151;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.pea-event-modal__description p:last-child{margin-bottom:0}
.pea-event-modal .pea-native-event-detail,.pea-event-modal .pea-event-detail-box{width:100%;max-width:none;margin:0;padding:16px;border-radius:18px}.pea-event-modal .pea-native-event-detail{background:#fff;color:#111;border-color:#dedede;box-shadow:none}.pea-event-modal .pea-native-event-detail h3{font-size:16px}.pea-event-modal .pea-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pea-event-modal .pea-detail-grid b,.pea-event-modal .pea-detail-grid span,.pea-event-modal .pea-event-location-gallery h4,.pea-event-modal .pea-event-location-gallery figcaption{font-size:14px}.pea-event-modal .pea-detail-actions{display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin-top:14px!important}.pea-event-modal .pea-detail-actions .pea-mini-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;padding:9px 14px!important;font-size:14px!important;white-space:normal!important}
.pea-event-modal__organizer{background:linear-gradient(145deg,#050505,#151515)!important;color:#fff!important;border-color:rgba(255,205,0,.24)!important}.pea-event-modal__organizer h3,.pea-event-modal__organizer p{color:#fff!important;font-size:14px}.pea-event-modal__organizer h3{font-size:16px}
html.pea-event-modal-open,body.pea-event-modal-open{overflow:hidden!important}
@media(max-width:700px){.pea-event-modal{padding:8px}.pea-event-modal__dialog{max-height:96dvh;border-radius:18px}.pea-event-modal__body{padding:10px}.pea-event-modal__hero{grid-template-columns:1fr}.pea-event-modal__image{max-width:360px;margin:0 auto}.pea-event-modal .pea-detail-grid{grid-template-columns:1fr}.pea-event-modal__header{min-height:64px;padding-left:13px}}

/* v1.6.28: perfil real del organizador de eventos. */
.pea-organizer-profile__cover{width:100%;aspect-ratio:16/7;border-radius:16px;overflow:hidden;background:#000;margin-bottom:16px}.pea-organizer-profile__cover img{display:block;width:100%;height:100%;object-fit:contain}.pea-organizer-profile__head{display:flex;align-items:flex-start;gap:16px;flex-wrap:wrap}.pea-organizer-profile__logo,.pea-organizer-avatar{object-fit:contain;background:#fff}.pea-organizer-profile__logo{width:110px;height:110px;border-radius:18px;border:1px solid rgba(255,255,255,.15);padding:8px}.pea-organizer-profile__head>div{flex:1 1 260px;min-width:0}.pea-organizer-profile .pea-event-list{margin-top:20px}.pea-organizer-profile .pea-event-list article{border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:12px;margin-bottom:10px;background:rgba(255,255,255,.055)}.pea-organizer-profile__head h2,.pea-organizer-profile__head p,.pea-organizer-profile__head strong,.pea-organizer-profile .pea-event-list article h3,.pea-organizer-profile .pea-event-list article h3 a,.pea-organizer-profile .pea-event-list article p{color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important}.pea-organizer-profile .pea-event-list article h3 a{text-decoration:none}.pea-organizer-profile .pea-event-list article h3 a:hover,.pea-organizer-profile .pea-event-list article h3 a:focus{color:#ffcd00!important;-webkit-text-fill-color:#ffcd00!important}.pea-organizer-profile .pea-mini-btn--link{color:#111!important;-webkit-text-fill-color:#111!important}body.pea-organizer-profile-page .entry-header,body.pea-organizer-profile-page .entry-title,body.pea-organizer-profile-page .page-title,body.pea-organizer-profile-page .wp-block-post-title{display:none!important}


/* v1.6.38 — phone: 2 eventos visibles, desliza de uno en uno, base uniforme y contadores limpios. */
@media(max-width:620px){
    .pea-event-carousel{
        gap:8px!important;
        padding:10px!important;
        scroll-padding-left:10px!important;
        scroll-padding-right:10px!important;
        align-items:stretch!important;
    }
    .pea-event-carousel .pea-event-card{
        flex:0 0 calc((100% - 8px) / 2)!important;
        width:calc((100% - 8px) / 2)!important;
        min-width:calc((100% - 8px) / 2)!important;
        max-width:calc((100% - 8px) / 2)!important;
        scroll-snap-align:start!important;
        scroll-snap-stop:always!important;
        align-self:stretch!important;
        height:auto!important;
    }
    .pea-event-carousel .pea-event-card__body{
        display:flex!important;
        flex-direction:column!important;
        height:100%!important;
        padding:10px!important;
    }
    .pea-event-carousel .pea-event-classification{
        gap:4px!important;
        margin-bottom:6px!important;
    }
    .pea-event-carousel .pea-event-classification span{
        max-width:100%!important;
        padding:3px 7px!important;
        font-size:12px!important;
        line-height:1.2!important;
        white-space:normal!important;
        overflow-wrap:anywhere!important;
    }
    .pea-event-carousel .pea-format{
        padding:5px 8px!important;
        font-size:12px!important;
        line-height:1.15!important;
    }
    .pea-event-carousel .pea-event-card h4{
        margin:8px 0 7px!important;
        min-height:3.75em!important;
        font-size:15px!important;
        line-height:1.25!important;
        display:-webkit-box!important;
        -webkit-box-orient:vertical!important;
        -webkit-line-clamp:3!important;
        overflow:hidden!important;
        overflow-wrap:anywhere!important;
    }
    .pea-event-carousel .pea-time{
        min-height:4.2em!important;
        margin-bottom:7px!important;
        font-size:13px!important;
        line-height:1.4!important;
        display:-webkit-box!important;
        -webkit-box-orient:vertical!important;
        -webkit-line-clamp:3!important;
        overflow:hidden!important;
        overflow-wrap:anywhere!important;
    }
    .pea-event-carousel .pea-event-countdown{
        min-height:0!important;
        margin-top:auto!important;
        margin-bottom:7px!important;
        padding:7px 8px!important;
        font-size:13px!important;
        line-height:1.25!important;
    }
    .pea-event-carousel .pea-event-metrics{
        display:grid!important;
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:5px!important;
        margin-bottom:7px!important;
    }
    .pea-event-carousel .pea-event-metrics span{
        min-width:0!important;
        min-height:auto!important;
        justify-content:center!important;
        padding:0!important;
        border-radius:0!important;
        border:0!important;
        background:transparent!important;
        box-shadow:none!important;
        font-size:11px!important;
        line-height:1.15!important;
        text-align:center!important;
        white-space:normal!important;
    }
    .pea-event-carousel .pea-event-metrics b{
        font-size:12px!important;
    }
    .pea-event-carousel .pea-capacity{
        margin-bottom:7px!important;
        font-size:13px!important;
        line-height:1.3!important;
    }
    .pea-event-carousel .pea-card-actions{
        gap:5px!important;
    }
}


/* v1.6.35 — navegación horizontal dentro de la ficha flotante del evento. */
.pea-event-modal__daynav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:12px 20px 10px;
    border-top:1px solid rgba(255,255,255,.06);
    border-bottom:1px solid rgba(255,255,255,.08);
    background:linear-gradient(180deg,rgba(4,9,20,.92),rgba(7,10,18,.98));
}
.pea-event-modal__daynav-center{
    flex:1 1 auto;
    min-width:0;
    text-align:center;
    display:flex;
    flex-direction:column;
    gap:3px;
}
.pea-event-modal__daynav-center strong,
.pea-event-modal__daynav-center span{
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    text-shadow:none!important;
}
.pea-event-modal__daynav-center strong{
    font-size:14px;
    font-weight:700;
}
.pea-event-modal__daynav-center span{
    font-size:13px;
    opacity:.88;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.pea-event-modal__daynav-arrow{
    flex:0 0 auto;
    width:40px;
    height:40px;
    border:none;
    background:transparent;
    color:#f5c400;
    font-size:34px;
    line-height:1;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    padding:0;
}
.pea-event-modal__daynav-arrow[disabled]{
    opacity:.35;
    cursor:default;
}
.pea-event-modal__body{
    touch-action:pan-y;
}
@media(max-width:620px){
    .pea-event-modal__daynav{
        padding:10px 14px 8px;
        gap:8px;
    }
    .pea-event-modal__daynav-arrow{
        width:34px;
        height:34px;
        font-size:28px;
    }
    .pea-event-modal__daynav-center strong{font-size:13px;}
    .pea-event-modal__daynav-center span{font-size:12px;}
}


/* v1.6.37 — corrección directa: flechas del carrusel interno sin fondo y Compartir blanco. */
.pea-event-modal .pea-event-modal__daynav .pea-event-modal__daynav-arrow,
.pea-event-modal .pea-event-modal__daynav .pea-event-modal__daynav-arrow:hover,
.pea-event-modal .pea-event-modal__daynav .pea-event-modal__daynav-arrow:focus,
.pea-event-modal .pea-event-modal__daynav .pea-event-modal__daynav-arrow:active{
    appearance:none!important;
    -webkit-appearance:none!important;
    background:transparent!important;
    background-color:transparent!important;
    background-image:none!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    outline:0!important;
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    padding:0!important;
}
.pea-event-modal .pea-event-modal__daynav .pea-event-modal__daynav-arrow[disabled]{
    background:transparent!important;
    background-color:transparent!important;
    border:0!important;
    box-shadow:none!important;
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    opacity:.35!important;
}
.pea-event-modal .pea-mini-btn--share,
.pea-event-modal .pea-mini-btn--share:hover,
.pea-event-modal .pea-mini-btn--share:focus,
.pea-event-modal .pea-mini-btn--share:active,
.pea-event-modal .pea-mini-btn--share *,
.pea-event-modal .pea-mini-btn--share::before,
.pea-event-modal .pea-mini-btn--share::after{
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    fill:#ffffff!important;
    stroke:#ffffff!important;
    opacity:1!important;
}


/* v1.6.39 — tarjetas abren ficha flotante y carruseles manejables con dedo o mouse. */
.pea-event-card[data-pea-event-card-modal]{cursor:pointer}
.pea-event-card[data-pea-event-card-modal]:focus{outline:2px solid var(--pea-yellow);outline-offset:3px}
.pea-event-carousel{cursor:grab}
.pea-event-carousel.is-pea-mouse-dragging{cursor:grabbing;user-select:none}
.pea-event-modal__body{cursor:grab}
.pea-event-modal__body.is-pea-mouse-swiping{cursor:grabbing;user-select:none}
.pea-event-modal__error{margin:20px;padding:18px;border:1px solid rgba(255,205,0,.35);border-radius:14px;background:rgba(255,205,0,.09);color:#fff;font-size:14px;font-weight:700;line-height:1.45}

/* v1.6.51 — contraste Android, favorito sincronizado y purga automática. */
.pea-event-card .pea-card-actions .pea-favorite-button.is-active:hover,
.pea-event-card .pea-card-actions .pea-favorite-button.is-active:focus,
.pea-event-card .pea-card-actions .pea-favorite-button.is-active:active,
.pea-event-detail-box .pea-card-actions .pea-favorite-button.is-active:hover,
.pea-event-detail-box .pea-card-actions .pea-favorite-button.is-active:focus,
.pea-event-detail-box .pea-card-actions .pea-favorite-button.is-active:active{color:#ffcd00!important;-webkit-text-fill-color:#ffcd00!important;border-color:rgba(255,205,0,.58)!important;background:#121212!important}
.pea-event-card .pea-card-actions .pea-favorite-button:not(.is-active):hover,
.pea-event-card .pea-card-actions .pea-favorite-button:not(.is-active):focus,
.pea-event-card .pea-card-actions .pea-favorite-button:not(.is-active):active,
.pea-event-detail-box .pea-card-actions .pea-favorite-button:not(.is-active):hover,
.pea-event-detail-box .pea-card-actions .pea-favorite-button:not(.is-active):focus,
.pea-event-detail-box .pea-card-actions .pea-favorite-button:not(.is-active):active{color:#ffffff!important;-webkit-text-fill-color:#ffffff!important}

/* v1.6.52 — valores originales corregidos: fechas activas blancas y categoría con acabado de “Me interesa”. */
.pea-calendar .pea-calendar__day.has-events>.pea-calendar__day-trigger>strong{color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;opacity:1!important;text-shadow:none!important}


/* v1.6.54 — módulo completamente estático: sin animaciones ni transiciones. */
.pea-agenda,.pea-agenda *,
.pea-agenda *::before,.pea-agenda *::after,
.pea-day-modal,.pea-day-modal *,
.pea-day-modal *::before,.pea-day-modal *::after,
.pea-event-modal,.pea-event-modal *,
.pea-event-modal *::before,.pea-event-modal *::after,
.pea-event-detail-box,.pea-event-detail-box *,
.pea-form-box,.pea-form-box *,
.pea-user-panel,.pea-user-panel *,
.pea-plans,.pea-plans *{
    animation:none!important;
    animation-delay:0s!important;
    animation-duration:0s!important;
    transition:none!important;
    transition-delay:0s!important;
    transition-duration:0s!important;
    scroll-behavior:auto!important;
    will-change:auto!important;
}
.pea-event-carousel,
.pea-day-modal__body,
.pea-event-modal__body{
    scroll-behavior:auto!important;
}


/* v1.6.57 — Reutiliza la MISMA imagen cargada por disciplina como fondo
 * referencial del cuerpo ORIGINAL de las tarjetas del carrusel mensual.
 * No crea zonas nuevas, no toca la media superior del organizador y no
 * cambia dimensiones, padding, orden, botones ni tipografía. */
.pea-event-carousel .pea-event-card__body--discipline-rally,
.pea-event-carousel .pea-event-card__body--discipline-drift,
.pea-event-carousel .pea-event-card__body--discipline-autocross,
.pea-event-carousel .pea-event-card__body--discipline-circuito,
.pea-event-carousel .pea-event-card__body--discipline-piques,
.pea-event-carousel .pea-event-card__body--discipline-general{
    background-repeat:no-repeat!important;
    background-position:center center!important;
    background-size:cover!important;
    background-color:#111!important;
}
.pea-event-carousel .pea-event-card__body--discipline-rally{
    background-image:linear-gradient(180deg,rgba(15,15,15,.52),rgba(15,15,15,.68)),var(--pea-discipline-rally)!important;
}
.pea-event-carousel .pea-event-card__body--discipline-drift{
    background-image:linear-gradient(180deg,rgba(15,15,15,.52),rgba(15,15,15,.68)),var(--pea-discipline-drift)!important;
}
.pea-event-carousel .pea-event-card__body--discipline-autocross{
    background-image:linear-gradient(180deg,rgba(15,15,15,.52),rgba(15,15,15,.68)),var(--pea-discipline-autocross)!important;
}
.pea-event-carousel .pea-event-card__body--discipline-circuito{
    background-image:linear-gradient(180deg,rgba(15,15,15,.52),rgba(15,15,15,.68)),var(--pea-discipline-circuito)!important;
}
.pea-event-carousel .pea-event-card__body--discipline-piques{
    background-image:linear-gradient(180deg,rgba(15,15,15,.52),rgba(15,15,15,.68)),var(--pea-discipline-piques)!important;
}
.pea-event-carousel .pea-event-card__body--discipline-general{
    background-image:linear-gradient(180deg,rgba(15,15,15,.58),rgba(15,15,15,.72)),var(--pea-discipline-general)!important;
}

/* v1.6.58 — Reutiliza la misma imagen de disciplina en el encabezado
 * de la FICHA DEL EVENTO (modal), como fondo de agua sutil.
 * No mueve textos ni modifica la estructura; solo ambienta el header.
 */
.pea-event-modal__header{
    background-position:right center;
    background-repeat:no-repeat;
    background-size:cover;
}
.pea-event-modal[data-pea-discipline="rally"] .pea-event-modal__header{
    background-image:linear-gradient(90deg,rgba(9,9,9,.88) 0%,rgba(9,9,9,.78) 46%,rgba(9,9,9,.46) 76%,rgba(9,9,9,.28) 100%),var(--pea-discipline-rally)!important;
}
.pea-event-modal[data-pea-discipline="drift"] .pea-event-modal__header{
    background-image:linear-gradient(90deg,rgba(9,9,9,.88) 0%,rgba(9,9,9,.78) 46%,rgba(9,9,9,.46) 76%,rgba(9,9,9,.28) 100%),var(--pea-discipline-drift)!important;
}
.pea-event-modal[data-pea-discipline="autocross"] .pea-event-modal__header{
    background-image:linear-gradient(90deg,rgba(9,9,9,.88) 0%,rgba(9,9,9,.78) 46%,rgba(9,9,9,.46) 76%,rgba(9,9,9,.28) 100%),var(--pea-discipline-autocross)!important;
}
.pea-event-modal[data-pea-discipline="circuito"] .pea-event-modal__header{
    background-image:linear-gradient(90deg,rgba(9,9,9,.88) 0%,rgba(9,9,9,.78) 46%,rgba(9,9,9,.46) 76%,rgba(9,9,9,.28) 100%),var(--pea-discipline-circuito)!important;
}
.pea-event-modal[data-pea-discipline="piques"] .pea-event-modal__header{
    background-image:linear-gradient(90deg,rgba(9,9,9,.88) 0%,rgba(9,9,9,.78) 46%,rgba(9,9,9,.46) 76%,rgba(9,9,9,.28) 100%),var(--pea-discipline-piques)!important;
}
.pea-event-modal[data-pea-discipline="general"] .pea-event-modal__header{
    background-image:linear-gradient(180deg,#171717,#090909)!important;
}
