.webinar-page { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #f4f4f4; color: #00235f; min-height: 55vh; }
.webinar-page *, .webinar-page *::before, .webinar-page *::after { box-sizing: border-box; }
.webinar-page [hidden] { display: none !important; }
.webinar-heading { padding: 40px 40px 15px; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.05); }
.webinar-heading h1 { margin: 0; font: 600 24px/1.35 'Segoe UI', sans-serif; color: #00235f; }
.webinar-heading p { margin: 8px 0 0; font-size: 14px; line-height: 1.65; color: #555; max-width: 900px; }
.webinar-layout { display: flex; align-items: flex-start; gap: 30px; padding: 24px 40px 40px; }
.webinar-sidebar { flex: 0 0 240px; min-width: 0; }
.webinar-sidebar h2 { margin: 0 0 12px; color: #004b97; font: 600 18px/1.4 'Segoe UI', sans-serif; }
.webinar-sidebar ul { list-style: none; margin: 0; padding: 0; }
.webinar-sidebar li { margin: 0 0 8px; }
.webinar-filter { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 4px; background: transparent; text-align: left; font: 400 14px/1.5 'Segoe UI', sans-serif; color: #00235f; cursor: pointer; }
.webinar-filter:hover, .webinar-filter.active { background: #ddd; color: #00235f; }
.webinar-filter.active { font-weight: 600; }
.webinar-filter time { display: block; margin-top: 3px; color: #525e6d; font-size: 12px; }
.webinar-results { flex: 1; min-width: 0; }
.webinar-count { margin: 0 0 12px; color: #555; font-size: 13px; }
.webinar-catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; align-items: stretch; }
.webinar-card { display: flex; flex-direction: column; padding: 0; min-width: 0; border: 0; border-radius: 8px; overflow: hidden; background: #fff; text-align: left; font-family: inherit; box-shadow: 0 4px 12px rgba(0,0,0,.08); cursor: pointer; transition: transform .2s, box-shadow .2s; }
.webinar-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.webinar-card img { display: block; width: 100%; height: 180px; object-fit: contain; background: #edf3fa; }
.webinar-card-body { display: flex; flex: 1; flex-direction: column; padding: 15px; }
.webinar-card-event { display: block; color: #626c79; font-size: 11px; line-height: 1.5; margin-bottom: 7px; }
.webinar-card-title { display: block; color: #004b97; font-size: 16px; font-weight: 600; line-height: 1.45; margin-bottom: 7px; }
.webinar-card-description { display: block; color: #555; font-size: 13px; line-height: 1.6; margin-bottom: 15px; }
.webinar-card-download { display: flex; justify-content: space-between; gap: 10px; padding-top: 12px; margin-top: auto; border-top: 1px solid #e8edf3; color: #004b97; font-size: 13px; font-weight: 600; }
.webinar-empty { padding: 30px; background: #fff; border: 1px solid #e1e6ed; border-radius: 8px; color: #555; }
.webinar-empty h2 { color: #004b97; font: 600 18px/1.5 'Segoe UI', sans-serif; margin: 0 0 8px; }
.webinar-empty p { margin: 0; font-size: 14px; line-height: 1.6; }
.webinar-status { margin: 16px 0 0; color: #245b38; font-size: 14px; }
.webinar-status:empty { display: none; }
.webinar-error { color: #a52020; }
.webinar-overlay { position: fixed; inset: 0; z-index: 10020; padding: 20px; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.6); }
.webinar-dialog { position: relative; width: 430px; max-width: 100%; max-height: calc(100vh - 40px); overflow-y: auto; padding: 28px; background: #fff; border-radius: 10px; box-shadow: 0 15px 40px rgba(0,0,0,.3); }
.webinar-dialog h2 { padding-right: 28px; margin: 0 0 12px; font: 600 21px/1.4 'Segoe UI', sans-serif; color: #004b97; }
.webinar-dialog p { font-size: 14px; line-height: 1.6; color: #555; }
.webinar-dialog .webinar-selected-title { color: #00235f; font-weight: 600; margin: 0 0 12px; }
.webinar-close { position: absolute; right: 12px; top: 10px; width: 36px; height: 36px; padding: 0; border: 0; background: transparent; color: #555; font-size: 29px; line-height: 1; cursor: pointer; }
.webinar-dialog .webinar-question { background: #edf3fa; color: #00235f; border-radius: 6px; padding: 14px; text-align: center; font-size: 24px; font-weight: 600; margin: 16px 0; }
.webinar-dialog label { display: block; font-size: 14px; margin-bottom: 7px; }
.webinar-answer { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid #aab5c5; border-radius: 5px; font: 400 18px 'Segoe UI', sans-serif; color: #00235f; }
.webinar-dialog .webinar-message { min-height: 22px; margin: 10px 0; font-size: 13px; }
.webinar-dialog .webinar-message.webinar-error { color: #a52020; }
.webinar-submit { display: block; width: 100%; min-height: 44px; padding: 11px; border: 0; border-radius: 6px; background: #004b97; color: #fff; font: 600 14px/1.5 'Segoe UI', sans-serif; cursor: pointer; }
.webinar-submit:hover { background: #0066cc; }
.webinar-refresh { display: block; padding: 10px; margin: 6px auto 0; border: 0; background: transparent; color: #004b97; text-decoration: underline; font: 400 13px/1.5 'Segoe UI', sans-serif; cursor: pointer; }
.webinar-page button:disabled { opacity: .55; cursor: default; }
.webinar-page button:focus-visible, .webinar-answer:focus-visible { outline: 3px solid #e2aa19; outline-offset: 3px; }
@media (max-width: 767px) {
    .webinar-heading { padding: 25px 16px 16px; }
    .webinar-heading h1 { font-size: 22px; }
    .webinar-layout { flex-direction: column; padding: 20px 16px 30px; gap: 20px; }
    .webinar-sidebar { flex-basis: auto; width: 100%; }
    .webinar-sidebar ul { display: flex; overflow-x: auto; gap: 8px; padding: 3px 3px 8px; }
    .webinar-sidebar li { flex: 0 0 auto; max-width: 240px; margin: 0; }
    .webinar-filter { background: #fff; height: 100%; }
    .webinar-results { width: 100%; }
    .webinar-catalog { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
    .webinar-dialog { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { .webinar-card { transition: none; } .webinar-card:hover { transform: none; } }
