:root{--background:#080b0c;--panel:#0d1215;--gold:#edc46f;--goldstrong:#ffdf95;--red:#ee1b28;--border:#34312b;--muted:#aeb5b7;--white:#f7f7f8}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 3% 50%,#39281a 0,transparent 18%),radial-gradient(ellipse at 100% 85%,#251810,transparent 24%),#080a0b;color:var(--white);font-family:Arial,'Segoe UI',sans-serif}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid var(--goldstrong);outline-offset:2px}.page-shell{max-width:1270px;margin:18px auto 30px;background:var(--background);border:1px solid #6d5540;border-radius:15px;overflow:hidden;box-shadow:0 15px 75px #000c}.topbar{height:82px;display:flex;align-items:center;gap:54px;padding:0 55px;border-bottom:1px solid #574a30;background:linear-gradient(90deg,#080b0d,#0d0d0d)}.brand{display:flex;flex-direction:column;line-height:.82;min-width:220px;transform:skew(-9deg);font-weight:1000;letter-spacing:-2px;font-style:italic;font-size:33px}.brand strong{color:var(--red);font-size:42px}.brand i{display:block;height:4px;background:var(--red);margin-top:7px;transform:skew(-17deg);width:100%}.brand-tagline{font-size:11px;line-height:1.45;letter-spacing:1.4px;font-weight:800;color:var(--goldstrong)}.topnav{margin-left:auto;display:flex;align-items:center;gap:50px;font-size:13px;font-weight:800;letter-spacing:.5px}.topnav-active{color:var(--goldstrong);padding:12px 2px;border-bottom:2px solid var(--goldstrong)}.admin-link{color:var(--gold);border:1px solid var(--gold);padding:12px 20px;border-radius:6px;white-space:nowrap}.admin-link:hover{background:#302616}.hero{min-height:290px;position:relative;background:#080b0e url('hero.jpg') center 43%/cover no-repeat;border-bottom:1px solid #51402b;display:flex;align-items:center;justify-content:space-between;padding:28px 52px}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(1,5,7,.98) 0%,rgba(1,5,7,.9) 18%,rgba(1,5,7,.12) 64%,rgba(1,5,7,.45) 100%)}.hero-copy{position:relative;z-index:1;max-width:450px}.hero-eyebrow{font-size:10px;letter-spacing:2px;color:var(--goldstrong);font-weight:800;max-width:260px;line-height:1.5;margin-bottom:20px;border-left:3px solid var(--gold);padding-left:13px}.hero h1{margin:0 0 13px;font-weight:1000;font-style:italic;font-size:clamp(32px,4.1vw,58px);letter-spacing:-1.9px;line-height:.99;text-shadow:0 2px 12px #000}.hero h1 em{font-style:italic;font-size:1.3em;color:var(--goldstrong)}.hero p{font-size:16px;line-height:1.45;max-width:365px;margin:0}.hero-aside{align-self:flex-end;margin-bottom:17px;z-index:1;color:var(--gold);font-style:italic;font-weight:900;font-size:18px;transform:rotate(-8deg);line-height:1.13;text-shadow:0 2px 4px #000}.filters{position:relative;z-index:2;margin:-24px 38px 18px;border:1px solid #ab7c33;padding:14px;background:rgba(9,16,19,.97);border-radius:10px;box-shadow:0 12px 22px #0007}.filter-fields{display:grid;grid-template-columns:1fr 1fr 255px;align-items:stretch;gap:12px}.filter{min-width:0;display:flex;align-items:center;gap:16px;padding:6px 18px;border-right:1px solid #584932}.filter-icon{font-size:35px;color:var(--gold);line-height:1}.filter-input{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.filter-input>span{font-size:11px;font-weight:700;color:#f1f1ef}.filter input,.filter select{height:38px;min-width:0;width:100%;background:#171d20;color:#f5f5f5;border:1px solid #273136;padding:8px;border-radius:5px;outline:none}.filter select{appearance:auto}.filter input::-webkit-calendar-picker-indicator{filter:invert(1)}.btn{border:0;border-radius:6px;font-weight:900;letter-spacing:.5px}.btn-red{background:var(--red);color:#fff}.btn-red:hover{background:#ff3340}.filter-fields .btn-red{font-size:17px;min-height:53px}.filter-fields .btn-red span{font-size:27px;vertical-align:-2px;margin-right:6px}.content-grid{display:grid;grid-template-columns:.97fr 1.2fr;gap:19px;margin:0 38px 24px;align-items:start}.panel{min-width:0;background:linear-gradient(180deg,#0e1519,#0a1013);border:1px solid #353d3e;border-radius:9px;padding:17px}.section-title{font-size:20px;font-style:italic;font-weight:1000;letter-spacing:-.6px;white-space:normal}.section-title em{color:var(--goldstrong);font-style:italic}.section-icon{color:var(--gold);font-size:21px;margin-right:5px}.month-nav{display:flex;align-items:center;justify-content:space-between;margin:14px 0 11px;background:#0c1013;border:1px solid #293236;border-radius:7px;padding:5px}.month-nav button{font-size:33px;line-height:1;color:#f7f7f7;background:transparent;border:0;width:42px;height:41px}.month-nav button:hover{color:var(--gold)}.month-nav h2{font-size:19px;text-align:center;margin:0}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.weekday{text-align:center;color:#cbd0d1;font-size:11px;font-weight:700;padding:10px 0}.day-cell{min-height:52px;border:1px solid #293134;border-radius:4px;color:#e9eced;display:flex;align-items:center;justify-content:center;background:#11191c;position:relative;font-size:15px}.day-cell.out{color:#4e595e;background:#0a1012}.day-cell.has-events span{font-weight:800}.day-cell.has-events span{background:var(--red);border-radius:50%;height:37px;width:37px;display:grid;place-items:center;color:#fff}.day-cell.today:not(.selected){border-color:#977437}.day-cell.selected{border:2px solid var(--goldstrong);box-shadow:0 0 0 1px #efbf64;color:var(--goldstrong)}.day-cell.selected span{background:var(--goldstrong);color:#131313}.day-marker{position:absolute;bottom:3px;width:5px;height:5px;border-radius:100%;background:var(--goldstrong)}.day-cell:hover{background:#202a2d}.calendar-legend{margin:15px 0 0;display:flex;gap:20px;flex-wrap:wrap;color:#cbd0d1;font-size:12px}.calendar-legend span{display:flex;align-items:center;gap:7px}.dot{width:11px;height:11px;border-radius:50%;display:inline-block}.dot.red{background:var(--red)}.dot.gold{background:var(--goldstrong)}.clear-date{margin:15px 0 0;color:var(--goldstrong);background:transparent;border:1px solid #544934;padding:9px 14px;border-radius:4px}.clear-date span{margin-left:8px}.events-header{display:flex;justify-content:space-between;gap:8px;align-items:center;border-bottom:1px solid #584932;padding:3px 0 14px;margin-bottom:10px}.events-count{font-size:12px;color:var(--goldstrong);white-space:nowrap}.events-status{color:var(--muted);font-size:14px;line-height:1.5}.events-status:empty{display:none}.event-list{display:flex;flex-direction:column;gap:8px}.event-card{display:grid;grid-template-columns:61px 130px minmax(0,1fr) 24px;align-items:stretch;gap:10px;border:1px solid #384043;border-radius:8px;background:linear-gradient(90deg,#11191c,#0d1114);padding:0;min-height:104px;width:100%;color:#fff;text-align:left;overflow:hidden}.event-card:hover{border-color:var(--gold);background:#192023}.event-date{display:flex;flex-direction:column;justify-content:center;align-items:center;background:linear-gradient(#ffe4a6,#dba24c);color:#121212}.event-date strong{font-weight:1000;font-size:35px;line-height:1}.event-date span{font-size:15px;font-weight:850}.event-image{width:130px;height:104px;object-fit:cover}.event-summary{display:flex;min-width:0;flex-direction:column;justify-content:center;gap:5px;padding:8px 0}.event-summary strong{font-size:15px;line-height:1.3}.event-summary small{font-size:12px;color:#ccd0d0;white-space:normal}.event-chevron{font-size:29px;color:var(--gold);align-self:center;justify-self:center}.footer{background:#070b0d;border-top:1px solid #584932;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 40px;color:#bbc3c4;font-size:11px}.footer-brand{font-size:19px;font-weight:900;font-style:italic;color:#fff}.footer-brand strong{color:var(--red)}.modal[hidden]{display:none}.modal{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:15px}.modal-backdrop{position:absolute;inset:0;background:#000d;backdrop-filter:blur(6px)}.modal-dialog{position:relative;background:#111719;border:1px solid #9f7b41;border-radius:12px;max-height:94vh;max-width:min(100%,650px);width:100%;display:flex;flex-direction:column;overflow:auto}.modal-dialog img{max-height:62vh;object-fit:contain;width:100%;background:#06090a}.modal-details{padding:12px 20px 20px}.modal-details h2{margin:5px 0;font-size:22px}.modal-details p{color:#cbd0d1;font-size:14px;line-height:1.4;white-space:pre-line}.modal-details a{color:var(--goldstrong);font-weight:700}.modal-dialog #modal-close{position:absolute;top:8px;right:8px;background:#ed1b29;color:white;border:0;border-radius:50%;width:36px;height:36px;font-size:27px;z-index:1}.modal-open{overflow:hidden}
@media(max-width:950px){.topbar{padding:0 20px;gap:20px}.brand{min-width:170px;font-size:25px}.brand strong{font-size:33px}.brand-tagline{font-size:9px}.topnav{gap:15px}.hero{padding:25px}.filters{margin-left:18px;margin-right:18px}.content-grid{margin-left:18px;margin-right:18px}.filter-fields{grid-template-columns:1fr 1fr 145px}.filter{padding:6px;gap:6px}.filter-icon{font-size:22px}.event-card{grid-template-columns:53px 94px minmax(0,1fr) 17px;gap:7px}.event-image{height:100%;width:94px}.event-summary strong{font-size:14px}}
@media(max-width:700px){.page-shell{margin:0;border-radius:0;border:0}.topbar{height:67px;padding:0 16px}.brand{min-width:148px;font-size:25px}.brand strong{font-size:32px}.brand-tagline{display:none}.topnav{margin-left:auto}.topnav-active{display:none}.admin-link{padding:9px 11px;font-size:11px}.hero{min-height:213px;padding:21px 19px;background-position:58% center}.hero-shade{background:linear-gradient(90deg,#050709f7 0%,#050709e8 28%,#05070959 92%)}.hero-eyebrow{font-size:9px;letter-spacing:1px;margin-bottom:13px;max-width:210px}.hero h1{font-size:34px}.hero p{font-size:13px;max-width:220px}.hero-aside{display:none}.filters{margin:-12px 12px 16px;padding:10px}.filter-fields{grid-template-columns:1fr;gap:9px}.filter{border-right:0;padding:3px 5px;gap:11px}.filter-icon{font-size:26px;width:33px;text-align:center}.filter input,.filter select{height:38px}.filter-fields .btn-red{min-height:44px;font-size:16px}.content-grid{display:flex;flex-direction:column;margin:0 12px 16px;gap:13px}.panel{width:100%;padding:13px}.section-title{font-size:19px}.month-nav h2{font-size:18px}.day-cell{min-height:46px}.day-cell.has-events span{height:34px;width:34px}.calendar-legend{font-size:11px}.event-card{grid-template-columns:52px 91px minmax(0,1fr) 12px;min-height:97px}.event-date strong{font-size:30px}.event-date span{font-size:13px}.event-image{width:91px;min-height:97px;height:100%}.event-summary strong{font-size:13px}.event-summary small{font-size:11px}.event-chevron{font-size:21px}.footer{padding:16px;flex-wrap:wrap}.footer-brand{font-size:16px}}
@media(max-width:360px){.day-cell{min-height:40px}.day-cell.has-events span{height:30px;width:30px}.event-card{grid-template-columns:47px 72px minmax(0,1fr) 10px}.event-image{width:72px}.event-summary strong{font-size:12px}}

/* ===== V2: calendario como protagonista ===== */
:root { --red:#ed1c2e; --gold:#e9bd64; --goldstrong:#ffe0a0; --muted:#b1b9bf; }
.page-shell{max-width:1390px;margin:12px auto 26px}
.topbar{height:74px;padding:0 36px;gap:30px}
.brand{min-width:200px;font-size:30px}.brand strong{font-size:39px}
.brand-tagline{font-size:10px;letter-spacing:1.1px}
.topnav{gap:24px}.admin-link{padding:10px 15px}
.hero{min-height:202px;padding:28px 38px 41px;background-position:center 46%}
.hero-shade{background:linear-gradient(90deg,rgba(2,6,8,.98) 0%,rgba(2,6,8,.91) 26%,rgba(2,6,8,.14) 67%,rgba(2,6,8,.5) 100%)}
.hero-eyebrow{max-width:360px;margin-bottom:12px;font-size:10px}
.hero-copy{max-width:560px}.hero h1{font-size:clamp(33px,3.5vw,51px);line-height:1.03;letter-spacing:-1px;margin-bottom:9px}
.hero h1 em{font-size:1.06em;white-space:nowrap}
.hero p{font-size:14px;max-width:420px;line-height:1.4}
.hero-aside{font-size:16px;line-height:1.17;margin-bottom:4px}
.filters{margin:-20px 30px 16px;padding:10px 12px;border-color:#b2884f;background:#0b1114;box-shadow:0 10px 24px #0008}
.filter-fields{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) 190px;gap:8px}
.filter{gap:12px;padding:5px 14px}.filter-icon{font-size:29px}
.filter input,.filter select{height:41px;background:#141e22;border-color:#34434a}
.filter-fields .btn-red{min-height:57px;font-size:15px}
.content-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.14fr);gap:16px;margin:0 30px 25px}
.panel{padding:19px;border-color:#475052;background:linear-gradient(160deg,#10181c 0%,#0a0f12 80%)}
.section-title{font-size:21px;line-height:1.1}
.month-nav{margin:18px 0 9px;padding:7px}.month-nav button{width:51px;height:44px;font-size:35px}
.month-nav h2{font-size:21px;letter-spacing:.2px}
.calendar{gap:6px}.weekday{font-size:12px;padding:11px 0 8px}
.day-cell{min-height:67px;font-size:17px;border-radius:6px;background:#121c20;border-color:#364248}
.day-cell.has-events span{height:40px;width:40px}.day-marker{bottom:7px;width:6px;height:6px}
.calendar-legend{padding-top:7px;gap:18px;font-size:12px}
.clear-date{font-size:12px}
.events-header{padding:5px 0 16px;min-height:48px;margin-bottom:13px}
.events-count{background:#251f16;border:1px solid #745c36;border-radius:999px;padding:7px 10px;font-size:12px}
.event-list{gap:11px}
.event-card{grid-template-columns:70px 158px minmax(0,1fr) 75px;gap:11px;min-height:130px;border-color:#4a5255;border-radius:8px}
.event-card:hover{transform:translateY(-1px);box-shadow:0 5px 25px #0006}
.event-date{background:linear-gradient(#ffe7ae,#d5a254)}.event-date strong{font-size:37px}.event-date span{font-size:15px}
.event-image{width:158px;height:130px;object-fit:contain;background:#05090a;border-left:1px solid #4b3f2c;border-right:1px solid #4b3f2c}
.event-summary{gap:8px;padding:9px 0}.event-summary strong{font-size:16px;line-height:1.35}.event-summary small{font-size:12px;line-height:1.3}
.event-chevron{justify-self:end;margin-right:9px;display:inline-flex;align-items:center;white-space:nowrap;font-size:12px;font-weight:800;color:var(--goldstrong)}
.events-status:not(:empty){padding:22px 10px;border:1px dashed #564a37;border-radius:8px;text-align:center}
.footer{padding:15px 33px}
.modal-dialog{max-width:min(100%,850px)}.modal-dialog img{max-height:71vh}.modal-details{padding:16px 24px 24px}
@media (max-width:1200px) {
 .topbar{padding:0 22px}.brand{min-width:170px;font-size:27px}.brand strong{font-size:35px}
 .content-grid{grid-template-columns: minmax(0,.95fr) minmax(0,1.1fr);margin-left:18px;margin-right:18px}
 .filters{margin-left:18px;margin-right:18px}
 .event-card{grid-template-columns:59px 123px minmax(0,1fr) 54px;gap:8px;min-height:118px}
 .event-image{width:123px;height:118px}.event-summary strong{font-size:14px}.event-summary small{font-size:11px}
 .event-chevron{font-size:11px}.day-cell{min-height:59px}
}
@media (max-width:850px){
 .brand-tagline{display:none}.topnav{gap:10px}
 .filter-fields{grid-template-columns:1fr 1fr 136px}.filter{padding:5px}.filter-icon{font-size:24px}
 .content-grid{grid-template-columns:1fr}.event-card{grid-template-columns:75px 172px minmax(0,1fr) 75px;min-height:143px}.event-image{width:172px;height:143px}
 .day-cell{min-height:63px}.calendar-panel{max-width:100%}.hero{min-height:188px}
}
@media (max-width:700px){
 .page-shell{margin:0;border:0;border-radius:0}.topbar{height:66px;padding:0 15px}
 .brand{min-width:143px;font-size:24px}.brand strong{font-size:32px}
 .topnav{margin-left:auto}.admin-link{padding:9px 10px}
 .hero{min-height:169px;padding:15px 18px 29px;background-position:60% center;align-items:center}
 .hero-shade{background:linear-gradient(90deg,#05080bf9 0%,#05080bde 41%,#05080b45 100%)}
 .hero-eyebrow{font-size:9px;letter-spacing:1.3px;max-width:220px;margin-bottom:7px}
 .hero h1{font-size:clamp(25px,7vw,36px);max-width:260px;line-height:1}.hero h1 em{font-size:1.12em}
 .hero p{font-size:12px;max-width:230px}.hero-aside{display:none}
 .filters{margin:-13px 10px 13px;padding:10px}
 .filter-fields{grid-template-columns:1fr;gap:7px}.filter{padding:4px 3px;gap:12px}.filter-icon{width:31px;font-size:26px}
 .filter input,.filter select{height:38px}.filter-fields .btn-red{min-height:42px;font-size:15px}
 .content-grid{display:flex;flex-direction:column;gap:12px;margin:0 10px 14px}.panel{padding:13px;width:100%}
 .section-title{font-size:19px}.month-nav{margin-top:12px}.month-nav h2{font-size:18px}
 .calendar{gap:4px}.weekday{font-size:10px}.day-cell{min-height:47px;font-size:15px}.day-cell.has-events span{width:31px;height:31px}
 .calendar-legend{font-size:11px;gap:13px}.events-header{margin-bottom:9px}
 .event-card{grid-template-columns:49px 105px minmax(0,1fr) 14px;gap:7px;min-height:112px}
 .event-date strong{font-size:29px}.event-date span{font-size:12px}.event-image{width:105px;height:112px}
 .event-summary{gap:5px;padding:6px 0}.event-summary strong{font-size:13px}.event-summary small{font-size:11px}
 .event-chevron{font-size:0;margin-right:4px}.event-chevron::after{content:'›';font-size:24px}
 .events-count{font-size:11px;padding:5px 8px}.footer{padding:12px 15px;flex-wrap:wrap;font-size:10px}
}
@media (max-width:390px){.day-cell{min-height:41px}.day-cell.has-events span{width:29px;height:29px}.event-card{grid-template-columns:45px 85px minmax(0,1fr) 13px}.event-image{width:85px;height:112px}.event-summary strong{font-size:12px}}

/* V4 envío público: el calendario permanece como página principal */
.topnav .public-submit-link{border:1px solid #ae8845;color:#ffdda0;border-radius:6px;padding:10px 13px;white-space:nowrap;font-size:12px}.topnav .public-submit-link:hover{background:#33291c}.public-submit-strip{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:14px 38px 27px;background:#10181b;border:1px solid #9d773c;border-radius:9px;padding:12px 18px}.public-submit-strip>div{display:flex;flex-direction:column;gap:4px}.public-submit-strip strong{font-size:16px;color:#ffdf95}.public-submit-strip span{font-size:12px;color:#d4dcdd}.public-submit-strip .submit-cta{flex:0 0 auto;background:linear-gradient(#ffe398,#e8ae50);color:#111;border-radius:6px;padding:13px 16px;font-size:12px;font-weight:900;white-space:nowrap}.public-submit-strip .submit-cta span{color:#111;font-size:18px}.public-submit-strip .submit-cta:hover{background:#f8d47c}@media(max-width:850px){.public-submit-strip{margin:12px 18px 18px}.topnav .public-submit-link{font-size:11px;padding:8px}}@media(max-width:700px){.public-submit-strip{margin:10px 12px 15px;flex-direction:column;align-items:stretch}.public-submit-strip .submit-cta{width:100%;text-align:center}.topnav{gap:6px}.topnav .public-submit-link{font-size:10px;padding:8px 7px}.topnav .admin-link{font-size:10px;padding:8px 7px}}

@media(max-width:390px){.brand{min-width:120px;font-size:22px}.brand strong{font-size:28px}.topbar{padding-left:10px;padding-right:10px;gap:7px}.topnav .admin-link,.topnav .public-submit-link{font-size:9px;padding:6px 5px;letter-spacing:0}}
