/* Elementor flex containers otherwise size this widget to its contents. Cards
   happen to fill it; an empty result shrinks it. Size the owning widget, not
   just the section inside it, so initial loads and AJAX results stay full width. */
.elementor .elementor-widget-shortcode:has([data-aey-calendar]) {
    --container-widget-width:100%; width:100%; max-width:100%; min-width:0; align-self:stretch;
}
.aey { --aey-border:#dfe3ed; --aey-muted:#65718a; --aeg-badge:#3535f0; width:100%; max-width:100%; min-width:0; font-family:"Kommon Grotesk",Arial,sans-serif; }
.aey .aey-sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.aey .aey-search { display:flex; align-items:center; gap:14px; width:100%; padding:12px 14px 12px 20px; margin:0 0 32px; border:1px solid var(--aey-border); border-radius:8px; background:#fff; }
.aey .aey-search > svg { flex:0 0 22px; color:var(--aey-muted); }
.aey .aey-search input[type=search] { flex:1; width:0; min-width:0; height:auto; border:0; border-radius:0; box-shadow:none; background:transparent; color:var(--aeg-ink); font:inherit; font-size:17px; padding:12px 0; margin:0; }
.aey .aey-search input::placeholder { color:var(--aey-muted); opacity:1; }
.aey .aey-find { border:1px solid #5277f5; background:#5277f5; border-radius:5px; color:#fff; font:inherit; font-size:16px; font-weight:600; padding:14px 24px; line-height:1.3; cursor:pointer; white-space:nowrap; }
.aey .aey-find:hover { background:#3535f0; border-color:#3535f0; }
.aey .aey-toolbar { display:flex; align-items:center; gap:20px; margin-bottom:20px; }
.aey .aey-arrow { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; color:var(--aeg-ink); text-decoration:none; border:0; flex-shrink:0; }
.aey .aey-arrow:hover { color:var(--aeg-badge); }
.aey .aey-segments { display:flex; align-items:stretch; gap:6px; }
.aey .aey-choice { display:flex; align-items:center; justify-content:center; padding:10px 18px; min-height:44px; border:1px solid var(--aey-border); border-radius:5px; color:var(--aeg-ink); background:#fff; text-decoration:none; font:inherit; font-size:16px; line-height:1.3; white-space:nowrap; transition:background .15s,color .15s; }
.aey .aey-choice:hover { border-color:var(--aeg-badge); color:var(--aeg-badge); }
.aey .aey-choice.is-active { background:var(--aeg-badge); border-color:var(--aeg-badge); color:#fff; }
.aey .aey-year-status { display:flex; flex-direction:column; align-items:flex-end; gap:12px; margin-left:auto; }
.aey .aey-year-picker { display:flex; align-items:center; gap:8px; }
.aey .aey-year-picker select { width:auto; min-width:110px; min-height:44px; color:var(--aeg-ink); background-color:#fff; border:1px solid var(--aey-border); border-radius:5px; padding:6px 28px 6px 12px; font:inherit; font-size:22px; font-weight:600; line-height:1.4; margin:0; }
.aey .aey-year-go { background:#fff; border:1px solid var(--aey-border); border-radius:5px; color:var(--aeg-ink); padding:10px; min-height:44px; font:inherit; cursor:pointer; }
.aey.aey-enhanced .aey-year-go { display:none; }
.aey .aey-result-count { margin:0 0 24px; color:var(--aey-muted); font:inherit; font-size:14px; line-height:1.5; }
.aey .aey-month + .aey-month { margin-top:52px; }
.aey .aey-month-title { display:flex; align-items:center; gap:24px; margin:0 0 28px; padding:0; color:var(--aeg-ink); font:inherit; font-size:23px; font-weight:500; line-height:1.4; }
.aey .aey-month-title::after { content:""; flex:1; height:1px; background:var(--aey-border); }
.aey .aeg-title { font-family:"Kommon Grotesk",Arial,sans-serif; font-size:26px; font-weight:600; line-height:1.12; }
.aey .aeg-badge { font-family:"Poppins",Arial,sans-serif; font-weight:500; font-size:12px; text-transform:none; padding:4px 13px; }
.aey .aeg-meta time { font-family:"Poppins",Arial,sans-serif; }
.aey .aeg-location { font-size:16px; }
.aey .aey-year-nav { display:flex; justify-content:space-between; gap:24px; border-top:1px solid var(--aey-border); margin-top:54px; padding-top:28px; }
.aey .aey-year-nav a { display:inline-flex; align-items:center; gap:12px; min-height:44px; color:var(--aeg-ink); font-size:20px; text-decoration:none; }
.aey .aey-year-nav a:hover { color:var(--aeg-badge); }
.aey .aey-empty { border:1px solid var(--aey-border); border-radius:8px; padding:40px 24px; text-align:center; }
.aey .aey-empty p { margin:0 0 10px; }
.aey .aey-empty a { color:var(--aeg-badge); text-decoration:underline; }
.aey .aey-subscribe { display:flex; flex-direction:column; align-items:flex-end; gap:7px; margin-top:24px; }
.aey .aey-subscribe a { display:inline-flex; border:1px solid #5277f5; border-radius:5px; padding:15px 22px; color:#5277f5; text-decoration:none; font-weight:600; }
.aey .aey-subscribe span { color:var(--aey-muted); font-size:12px; }
.aey[aria-busy=true] .aey-results { opacity:.45; }
.aey input:focus-visible,.aey select:focus-visible,.aey button:focus-visible { outline:3px solid var(--aeg-blue); outline-offset:3px; }
@media(max-width:767px) {
    .aey .aey-toolbar { display:grid; grid-template-columns:44px minmax(0,1fr) 44px; gap:12px 8px; }
    .aey .aey-types { grid-column:2; justify-content:center; }
    .aey .aey-toolbar > .aey-arrow:last-child { grid-column:3; grid-row:1; }
    .aey .aey-year-status { grid-column:1 / -1; grid-row:2; align-items:center; margin:0; }
    .aey .aey-choice { padding:10px 14px; font-size:15px; }
    .aey .aey-search { padding:10px; gap:8px; margin-bottom:24px; }
    .aey .aey-search input[type=search] { font-size:15px; }
    .aey .aey-find { padding:12px 14px; font-size:14px; }
    .aey .aey-search > svg { display:none; }
    .aey .aey-month-title { font-size:21px; gap:14px; }
    .aey .aeg-title { font-size:23px; }
}
@media(prefers-reduced-motion:reduce) { .aey .aey-choice { transition:none; } }
