/* HLR community events — isolated namespaced styles */
#hlr-events{padding:72px 0;background:rgba(246,251,255,.94);color:#15314f}
#hlr-events *{box-sizing:border-box}
#hlr-events .ev-wrap{width:min(1150px,calc(100% - 32px));margin:auto}
#hlr-events .ev-eyebrow{text-transform:uppercase;letter-spacing:.2em;color:#346b8c;font-size:.75rem;font-weight:800;margin:0 0 8px}
#hlr-events h2{font-family:Georgia,serif;font-size:clamp(2rem,4vw,3.1rem);font-weight:500;line-height:1.15;color:#173957;margin:0 0 12px}
#hlr-events .ev-intro{max-width:760px;margin:0 0 26px;color:#4b6577;line-height:1.65}
#hlr-events .ev-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:18px;background:white;border:1px solid #d9e7ee;border-radius:20px;margin-bottom:20px;box-shadow:0 8px 28px #143a5810}
#hlr-events .ev-toolbar select,#hlr-events .ev-toolbar input{width:auto;min-height:46px;flex:1 1 185px;border:1px solid #c5d8e6;background:#fafdff;border-radius:12px;padding:10px 14px;color:#183954;font-size:.94rem}
#hlr-events .ev-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);gap:22px;align-items:start}
#hlr-events .ev-panel{background:#fff;border:1px solid #d9e7ee;box-shadow:0 14px 34px #143a5813;border-radius:22px;padding:22px;min-width:0}
#hlr-events .ev-monthbar{display:flex;justify-content:space-between;align-items:center;gap:9px;margin-bottom:18px}
#hlr-events .ev-monthbar h3{font-size:1.2rem;margin:0;color:#183c57}
#hlr-events .ev-arrow{font-size:1.25rem;width:42px;height:42px;cursor:pointer;border:1px solid #cee0e9;background:#eef6fa;border-radius:12px;color:#1c506d}
#hlr-events .ev-week,#hlr-events .ev-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
#hlr-events .ev-week span{text-align:center;font-size:.74rem;color:#59758a;font-weight:700;padding:4px 0 9px}
#hlr-events .ev-day{position:relative;min-height:62px;padding:9px 3px 15px;border:1px solid #e2edf3;background:#f9fcfd;border-radius:11px;font-weight:700;color:#244761;cursor:pointer}
#hlr-events .ev-day:disabled{cursor:default;background:transparent;border-color:transparent;color:#aabac4}
#hlr-events .ev-day.has-events{background:#eaf5fb;border-color:#acd2e8}
#hlr-events .ev-day.has-events:after{content:'';position:absolute;bottom:9px;left:50%;transform:translateX(-50%);width:7px;height:7px;border-radius:50%;background:#2678a8}
#hlr-events .ev-day.active{background:#1e5677;color:white;border-color:#1e5677}
#hlr-events .ev-day.active:after{background:#f8dba0}
#hlr-events .ev-day:focus-visible,#hlr-events .ev-arrow:focus-visible,#hlr-events .ev-item a:focus-visible{outline:3px solid #e0ae49;outline-offset:2px}
#hlr-events .ev-subrow{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:15px;flex-wrap:wrap}
#hlr-events .ev-reset{padding:8px 13px;border-radius:999px;border:1px solid #bad6e5;background:#f0f8fc;color:#275b77;cursor:pointer;font-weight:700}
#hlr-events .ev-results-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:16px}
#hlr-events .ev-results-head h3{font-size:1.14rem;color:#193c58;margin:0}
#hlr-events .ev-count{font-size:.82rem;color:#627b8b}
#hlr-events .ev-list{display:grid;gap:12px;max-height:520px;overflow:auto;padding-right:3px}
#hlr-events .ev-item{padding:17px;border:1px solid #e1ebf2;background:#f9fcfe;border-radius:15px}
#hlr-events .ev-meta{font-size:.77rem;letter-spacing:.02em;text-transform:uppercase;color:#43728a;font-weight:800;margin-bottom:8px}
#hlr-events .ev-item h4{margin:0 0 7px;font-size:1.08rem;color:#173951;line-height:1.35}
#hlr-events .ev-item p{margin:0 0 10px;font-size:.9rem;color:#4d6676;line-height:1.5}
#hlr-events .ev-links{display:flex;gap:16px;flex-wrap:wrap}
#hlr-events .ev-links a{color:#1d668a;text-decoration:underline;font-size:.87rem;font-weight:700}
#hlr-events .ev-empty{padding:25px;text-align:center;color:#59758a;line-height:1.6;background:#f4f9fc;border-radius:14px}
#hlr-events .ev-directory{border-top:1px solid #e2edf3;margin-top:18px;padding-top:16px;color:#597082;font-size:.86rem}
#hlr-events .ev-directory a{color:#1d668a;text-decoration:underline;font-weight:700}
#hlr-events .ev-footer{margin-top:22px;font-size:.86rem;color:#536c7d;line-height:1.55}
#hlr-events .ev-footer a{color:#1c6588;text-decoration:underline}
#hlr-events .ev-book{display:inline-flex;margin-top:15px;background:#1a5679;color:white!important;text-decoration:none!important;border-radius:999px;padding:13px 22px;font-weight:800}
@media(max-width:850px){#hlr-events .ev-layout{grid-template-columns:1fr}#hlr-events .ev-list{max-height:none}#hlr-events{padding:48px 0}}
@media(max-width:480px){#hlr-events .ev-panel{padding:15px}#hlr-events .ev-day{min-height:46px;padding-top:7px;font-size:.86rem}#hlr-events .ev-week,#hlr-events .ev-grid{gap:3px}#hlr-events .ev-day.has-events:after{bottom:5px;width:5px;height:5px}}
