/* Calendar reference design. Every rule is scoped to this component. */
.jupach-calendar{--jc-green:#006847;--jc-ink:#0b1f33;--jc-muted:#526274;--jc-line:#dce7e2;--jc-soft:#f5f9f7;box-sizing:border-box;width:min(1450px,calc(100vw - 40px));margin:76px 0 0 calc((100% - min(1450px,calc(100vw - 40px)))/2);padding:24px 0;position:relative;color:var(--jc-ink);font-family:'DM Sans',Arial,sans-serif;scroll-margin-top:140px;isolation:isolate}
.jupach-calendar *{box-sizing:border-box}
.jupach-calendar::before{content:"";position:absolute;inset:0 -12px;z-index:-1;border-radius:26px;background:radial-gradient(ellipse at 0 100%,#d8eee3 0,transparent 48%),linear-gradient(140deg,#f5faf7,#eff8f3);pointer-events:none}
.jupach-calendar [hidden]{display:none!important}
.jupach-calendar__layout{display:grid;grid-template-columns:minmax(0,2.25fr) minmax(320px,1fr);gap:20px;align-items:stretch}
.jupach-calendar__main,.jupach-calendar__sidebar{min-width:0;background:#fff;border:1px solid #ffffffd9;border-radius:18px;box-shadow:0 6px 20px rgba(20,50,40,.06)}
.jupach-calendar__main{padding:22px 16px 16px}
.jupach-calendar__sidebar{padding:24px;display:flex;flex-direction:column;gap:18px}
.jupach-calendar__header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:7px 10px 25px}
.jupach-calendar__heading{display:flex;align-items:flex-start;gap:18px;min-width:0}
.jupach-calendar__heading>.jupach-calendar__icon{width:40px;height:40px;color:var(--jc-green);flex:none;margin-top:1px}
.jupach-calendar__eyebrow{margin:0 0 10px;color:var(--jc-green);font-size:clamp(12px,1.1vw,16px);font-weight:700;letter-spacing:3px;line-height:1.3}
.jupach-calendar__title{font-family:'Manrope','DM Sans',Arial,sans-serif;font-size:clamp(29px,3vw,42px);line-height:1.2;letter-spacing:-1.4px;font-weight:800;margin:0;color:var(--jc-ink);text-transform:capitalize}
.jupach-calendar__toolbar{display:flex;align-items:center;gap:12px;flex:none;padding-top:10px}
#calendario-noticias.jupach-calendar :is(button,a){font-family:inherit;translate:none;box-shadow:none;letter-spacing:normal;text-decoration:none;transition:background-color .2s ease,color .2s ease,box-shadow .2s ease,translate .25s ease}
#calendario-noticias.jupach-calendar button{color:inherit;cursor:pointer}
#calendario-noticias.jupach-calendar :is(button,a):focus-visible{outline:3px solid #2586d9;outline-offset:3px}
#calendario-noticias.jupach-calendar .jupach-calendar__nav{display:grid;place-items:center;min-width:48px;height:48px;border:1px solid #e1e7e5;border-radius:11px;background:#fff;font-size:16px;font-weight:700;padding:0 14px;box-shadow:0 2px 5px #163a2410}
#calendario-noticias.jupach-calendar .jupach-calendar__nav--today{min-width:86px}
#calendario-noticias.jupach-calendar .jupach-calendar__nav:hover{background:#f0f7f3;translate:0 -2px;box-shadow:0 4px 8px #163a2412}
#calendario-noticias.jupach-calendar .jupach-calendar__nav:active{translate:0 0}
.jupach-calendar__icon{display:block;width:20px;height:20px;flex:none}
.jupach-calendar__table-wrap{border:1px solid var(--jc-line);border-radius:12px;overflow:hidden}
.jupach-calendar__table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}
.jupach-calendar__table th{height:51px;background:#edf5f0;border-right:1px solid var(--jc-line);border-bottom:1px solid var(--jc-line);padding:8px 2px;text-align:center;color:#123e39;font-size:11px;font-weight:700;letter-spacing:1px}
.jupach-calendar__table th:last-child,.jupach-calendar__table td:last-child{border-right:0}
.jupach-calendar__weekday-short{display:none}
.jupach-calendar__table td{vertical-align:top;padding:0;border-right:1px solid var(--jc-line);border-bottom:1px solid var(--jc-line);height:110px;background:white}
.jupach-calendar__table tr:last-child td{border-bottom:0}
#calendario-noticias.jupach-calendar .jupach-calendar__day{display:flex;flex-direction:column;align-items:stretch;text-align:left;width:100%;height:100%;min-height:110px;border:0;border-radius:0;padding:10px 7px;background:transparent;color:var(--jc-ink);font:inherit;box-shadow:none;translate:none}
#calendario-noticias.jupach-calendar .jupach-calendar__day:hover{background:#f0f7f3}
.jupach-calendar__day-top{display:flex;align-items:center;justify-content:space-between;gap:2px;min-height:22px}
.jupach-calendar__number{font-size:18px;font-weight:700;line-height:1.2}
.jupach-calendar__today-tag{background:var(--jc-green);color:white;border-radius:14px;padding:3px 10px;font-size:11px;line-height:1.2;font-weight:700}
#calendario-noticias.jupach-calendar .jupach-calendar__day--outside{background:#fafcfb;color:#a2adb6}
#calendario-noticias.jupach-calendar .jupach-calendar__day[aria-current="date"]{background:#e5f7ec}
#calendario-noticias.jupach-calendar .jupach-calendar__day[aria-pressed="true"]{background:#fff8df;border-radius:8px;box-shadow:inset 0 0 0 1.5px #efc42b}
.jupach-calendar[data-highlight="true"] .jupach-calendar__day:not(.jupach-calendar__day--events):not([aria-current="date"]):not([aria-pressed="true"]) .jupach-calendar__number{opacity:.72}
.jupach-calendar__chips{display:flex;flex-direction:column;gap:4px;margin-top:5px;min-width:0}
.jupach-calendar__chip{display:flex;align-items:flex-start;gap:6px;background:var(--jc-type-bg);border-radius:8px;padding:7px 6px;font-size:11px;line-height:1.35;color:#0b2635;min-width:0}
.jupach-calendar__chip-label{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.jupach-calendar__day--multiple .jupach-calendar__chip-label{-webkit-line-clamp:1}
.jupach-calendar__dot{display:inline-block;width:12px;height:12px;border-radius:50%;background:var(--jc-type);flex:none;margin-top:1px}
.jupach-calendar [data-type="nacional"]{--jc-type:#ea315f;--jc-type-bg:#ffe8ee}
.jupach-calendar [data-type="formacion"]{--jc-type:#2586d9;--jc-type-bg:#e5f1ff}
.jupach-calendar [data-type="encuentro"]{--jc-type:#16a66a;--jc-type-bg:#e4f8ef}
.jupach-calendar [data-type="campamento"]{--jc-type:#f28c38;--jc-type-bg:#fff0df}
.jupach-calendar [data-type="reunion"]{--jc-type:#8052c8;--jc-type-bg:#f0e9fa}
.jupach-calendar__more-count{font-size:10px;font-weight:700;color:var(--jc-muted)}
.jupach-calendar__holiday{display:block;margin-top:4px;color:#a35224;font-size:10px;line-height:1.2;overflow-wrap:anywhere}
.jupach-calendar__legend{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;border:1px solid var(--jc-line);border-radius:12px;padding:13px 14px;margin-top:18px;min-height:58px}
.jupach-calendar__legend-item{display:flex;align-items:center;gap:8px;color:var(--jc-muted);font-size:11px;white-space:nowrap}
.jupach-calendar__legend-item .jupach-calendar__dot{width:15px;height:15px;margin:0}
#calendario-noticias.jupach-calendar .jupach-calendar__all{display:inline-flex;align-items:center;justify-content:center;gap:6px;margin-left:auto;border:0;background:transparent;color:var(--jc-green);font-size:12px;font-weight:700;min-height:44px;padding:6px 0}
#calendario-noticias.jupach-calendar .jupach-calendar__all:hover{color:#004e36;text-decoration:underline}
.jupach-calendar__side-heading{display:flex;align-items:center;gap:12px;margin:0;color:var(--jc-green);font-size:11px;font-weight:700;letter-spacing:1.8px}
.jupach-calendar__selected{display:flex;align-items:center;gap:20px;margin-top:14px}
.jupach-calendar__badge{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:none;width:95px;min-height:95px;background:#fff3c9;border-radius:13px;color:#103443}
.jupach-calendar__badge strong{font-size:40px;line-height:1.1;font-weight:800;letter-spacing:-1px}
.jupach-calendar__badge span{font-size:12px;font-weight:700;letter-spacing:1.5px;margin-top:3px;text-transform:uppercase}
.jupach-calendar__selected-copy{min-width:0}
.jupach-calendar__selected-copy h3{margin:0 0 7px;font-size:20px;line-height:1.4;font-weight:700;color:var(--jc-ink)}
.jupach-calendar__selected-copy p{margin:0;font-size:14px;line-height:1.5;color:var(--jc-muted)}
.jupach-calendar__events{display:grid;gap:14px}
.jupach-calendar__event{border:1px solid var(--jc-line);border-radius:12px;padding:18px;box-shadow:0 3px 8px #14322808;background:#fff;min-width:0}
.jupach-calendar__event-type{display:inline-flex;align-items:center;gap:7px;background:var(--jc-type-bg);border-radius:20px;padding:5px 10px;color:var(--jc-type);font-size:12px;line-height:1.25}
.jupach-calendar__event h4{margin:10px 0 14px;font-size:20px;line-height:1.3;color:var(--jc-ink);font-weight:700;overflow-wrap:anywhere}
.jupach-calendar__event-meta{display:flex;flex-direction:column;gap:12px;list-style:none;margin:0;padding:0;color:var(--jc-muted);font-size:15px;line-height:1.4}
.jupach-calendar__event-meta li{display:flex;align-items:flex-start;gap:12px}
.jupach-calendar__event-meta .jupach-calendar__icon{width:18px;height:18px;color:var(--jc-ink);margin-top:1px}
.jupach-calendar__description{border-top:1px solid var(--jc-line);padding-top:13px;margin:17px 0 0;font-size:15px;line-height:1.6;color:var(--jc-muted);overflow-wrap:anywhere}
#calendario-noticias.jupach-calendar .jupach-calendar__details{display:flex;align-items:center;justify-content:center;gap:18px;min-height:46px;width:100%;margin-top:16px;border:0;border-radius:8px;background:var(--jc-green);color:#fff;padding:11px 14px;font-size:14px;font-weight:700}
#calendario-noticias.jupach-calendar .jupach-calendar__details:hover{background:#004e36;translate:0 -1px;box-shadow:0 3px 6px #00684720}
#calendario-noticias.jupach-calendar .jupach-calendar__details:active{translate:0 0}
.jupach-calendar__empty{padding:22px 16px;margin:0;border:1px dashed var(--jc-line);border-radius:12px;color:var(--jc-muted);font-size:14px;line-height:1.6;background:#f9fcfa}
.jupach-calendar__options{padding:16px 18px;border:1px solid var(--jc-line);border-radius:12px;box-shadow:0 3px 8px #14322808}
.jupach-calendar__options-title{display:flex;align-items:center;gap:10px;margin:0 0 9px;font-size:10px;letter-spacing:1.3px;font-weight:700;color:var(--jc-green)}
.jupach-calendar__option{display:flex;align-items:center;gap:14px;min-height:44px;position:relative;cursor:pointer;font-size:12px;line-height:1.5;color:#233e4b}
.jupach-calendar__option input{position:absolute;left:0;top:50%;z-index:1;width:46px;height:44px;margin:0;transform:translateY(-50%);opacity:0;cursor:pointer}
.jupach-calendar__switch{display:block;width:46px;height:26px;border-radius:20px;flex:none;background:#c7d0d5;position:relative;pointer-events:none;transition:background .2s}
.jupach-calendar__switch::after{content:"";position:absolute;left:3px;top:3px;width:20px;height:20px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0b1f3320;transition:transform .2s}
.jupach-calendar__option input:checked+.jupach-calendar__switch{background:var(--jc-green)}
.jupach-calendar__option input:checked+.jupach-calendar__switch::after{transform:translateX(20px)}
.jupach-calendar__option input:focus-visible+.jupach-calendar__switch{outline:3px solid #2586d9;outline-offset:3px}
.jupach-calendar__quote{margin:0;margin-top:auto;background:#edf6f1;border-radius:12px;padding:17px 18px;display:flex;align-items:flex-start;gap:18px}
.jupach-calendar__quote-mark{font-family:Georgia,serif;font-size:57px;line-height:.85;color:#478767;margin-top:4px}
.jupach-calendar__quote div{flex:1;text-align:center}
.jupach-calendar__quote p{font-family:'Segoe Print','Bradley Hand',cursive;font-size:clamp(18px,1.55vw,24px);font-style:italic;color:#075942;margin:0 0 8px;line-height:1.4}
.jupach-calendar__quote cite{font-style:normal;font-size:10px;letter-spacing:1px;color:var(--jc-muted)}
.jupach-calendar__dialog{width:min(680px,calc(100vw - 28px));max-height:85vh;padding:24px;border:1px solid var(--jc-line);border-radius:18px;background:#f5f9f7;color:var(--jc-ink);box-shadow:0 12px 45px #0b1f3325}
.jupach-calendar__dialog::backdrop{background:#0b1f3360}
.jupach-calendar__dialog-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}
.jupach-calendar__dialog-header h3{font-size:24px;margin:0}
.jupach-calendar__dialog-list{display:grid;gap:14px}
.jupach-calendar__sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:1180px){.jupach-calendar__layout{grid-template-columns:minmax(0,2fr) minmax(295px,1fr)}.jupach-calendar__sidebar{padding:19px}.jupach-calendar__header{flex-wrap:wrap;gap:12px}.jupach-calendar__toolbar{margin-left:auto;padding:0}.jupach-calendar__heading{gap:12px}.jupach-calendar__selected{gap:12px}.jupach-calendar__badge{width:78px;min-height:86px}.jupach-calendar__selected-copy h3{font-size:16px}.jupach-calendar__title{font-size:34px}.jupach-calendar__table th{font-size:9px;letter-spacing:.5px}.jupach-calendar__table td,#calendario-noticias.jupach-calendar .jupach-calendar__day{min-height:112px;height:112px}.jupach-calendar__chip{font-size:10px;padding:6px 4px;gap:4px}.jupach-calendar__legend{gap:10px 13px}}
@media(max-width:900px){.jupach-calendar__layout{grid-template-columns:1fr}.jupach-calendar__main{padding:22px 16px 16px}.jupach-calendar__header{flex-wrap:nowrap}.jupach-calendar__sidebar{padding:24px;gap:20px}.jupach-calendar__events{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}.jupach-calendar__selected-copy h3{font-size:19px}.jupach-calendar__quote{margin-top:0}.jupach-calendar__quote p{font-size:23px}.jupach-calendar__table th{font-size:10px}.jupach-calendar__chip{font-size:11px}.jupach-calendar__table td,#calendario-noticias.jupach-calendar .jupach-calendar__day{height:112px}.jupach-calendar__eyebrow{font-size:13px}}
@media(max-width:600px){.jupach-calendar{width:calc(100vw - 24px);margin-left:calc((100% - (100vw - 24px))/2);margin-top:48px;padding:12px 0;scroll-margin-top:110px}.jupach-calendar::before{inset:0 -6px}.jupach-calendar__main{padding:18px 10px 12px;border-radius:15px}.jupach-calendar__header{flex-wrap:wrap;padding:0 3px 18px;gap:16px}.jupach-calendar__heading{gap:10px}.jupach-calendar__heading>.jupach-calendar__icon{width:28px;height:28px}.jupach-calendar__eyebrow{font-size:11px;letter-spacing:2px;margin-bottom:7px}.jupach-calendar__title{font-size:29px;letter-spacing:-1px}.jupach-calendar__toolbar{gap:9px;width:100%;justify-content:flex-end}.jupach-calendar__weekday-long{display:none}.jupach-calendar__weekday-short{display:inline}.jupach-calendar__table th{height:40px;font-size:10px}.jupach-calendar__table td,#calendario-noticias.jupach-calendar .jupach-calendar__day{height:72px;min-height:72px}.jupach-calendar__table-wrap{border-radius:9px}#calendario-noticias.jupach-calendar .jupach-calendar__day{padding:6px 4px}.jupach-calendar__number{font-size:15px}.jupach-calendar__day-top{min-height:18px}.jupach-calendar__today-tag{font-size:8px;padding:2px 3px}.jupach-calendar__chips{flex-direction:row;flex-wrap:wrap;gap:4px;margin-top:7px}.jupach-calendar__chip{display:inline-flex;padding:0;background:transparent;gap:0}.jupach-calendar__chip-label{display:none}.jupach-calendar__dot{width:8px;height:8px}.jupach-calendar__more-count{font-size:9px}.jupach-calendar__holiday{font-size:8px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.jupach-calendar__legend{gap:10px 12px;padding:10px;margin-top:12px}.jupach-calendar__legend-item{font-size:10px;gap:6px}.jupach-calendar__legend-item .jupach-calendar__dot{width:11px;height:11px}.jupach-calendar__sidebar{padding:20px 16px;border-radius:15px}.jupach-calendar__event{padding:16px}.jupach-calendar__selected-copy h3{font-size:17px}.jupach-calendar__selected-copy p{font-size:13px}.jupach-calendar__options{padding:14px}.jupach-calendar__option{font-size:11px;gap:12px}.jupach-calendar__badge{width:80px;min-height:86px}.jupach-calendar__dialog{padding:16px}.jupach-calendar__dialog-header h3{font-size:20px}}
@media(max-width:360px){.jupach-calendar{width:100vw;margin-left:calc((100% - 100vw)/2)}.jupach-calendar::before{inset:0}.jupach-calendar__main{padding:16px 0 10px}.jupach-calendar__header{padding:0 10px 16px}.jupach-calendar__legend{margin:12px 6px 0}.jupach-calendar__table th{font-size:9px}.jupach-calendar__today-tag{font-size:7px;padding:2px}.jupach-calendar__number{font-size:14px}.jupach-calendar__title{font-size:28px}}
@media(prefers-reduced-motion:reduce){#calendario-noticias.jupach-calendar *,#calendario-noticias.jupach-calendar *::after{transition:none!important;scroll-behavior:auto!important}}
