.events-page { background: #fff; color: #252a31; }
.events-page__intro { padding-bottom: 12px; }
.events-page__intro .eyebrow { color: #757e89; font-size: 12px; font-weight: 700; letter-spacing: 0; }
.events-page__intro h1.sh-h1 { font-size: 42px; font-weight: 700; color: #252a31; line-height: 1.1; letter-spacing: 0; margin-top: 8px; }
.events-page__intro p { font-size: 17px; line-height: 1.5; max-width: 680px; }
.events-page .btn { min-height: 42px; border-radius: 6px; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 0; }
.events-page .btn-primary { background: #c81024; border-color: #c81024; }
.events-page .btn-primary:hover { background: #a70d1e; border-color: #a70d1e; }
.events-page .btn-outline-primary { color: #343c47; border-color: #d5dbe2; background: #fff; }
.events-page .btn-outline-primary:hover { color: #252a31; border-color: #a9afb7; background: #f4f6f8; }
.events-page .events-filter { background: #f7f8fa; border-top: 1px solid #e0e4e9; border-bottom: 1px solid #e0e4e9; border-radius: 0; }
.events-filter__body { padding: 24px; }
.events-page .events-filter .form-label { font-size: 13px; color: #616974; font-weight: 600; margin-bottom: 8px; }
.events-page .form-select { min-height: 44px; border-radius: 6px; border-color: #dce1e6; font-size: 14px; }
.events-page .form-select:focus { border-color: #a9afb7; box-shadow: 0 0 0 3px rgba(40, 46, 55, 0.08); }
.events-page .form-check-label { font-size: 13px; color: #59616c; }
.events-page .form-check-input:checked { background-color: #c81024; border-color: #c81024; }
.events-page .event-card { border-radius: 8px; border-color: #e1e5e9; box-shadow: 0 3px 12px rgba(25, 31, 40, 0.035); transition: border-color 180ms ease, box-shadow 180ms ease; }
.events-page .event-card:hover,
.events-page .event-card:focus-within { border-color: #b9c1cb; box-shadow: 0 10px 26px rgba(25, 31, 40, 0.08); }
.events-page .event-card__image { aspect-ratio: 4 / 3; object-fit: contain; background: #f8f9fa; border-bottom: 1px solid #edf0f3; display: block; }
.events-page .event-card__body { padding: 24px; min-width: 0; }
.events-page .event-card__date { color: #c81024; font-size: 14px; font-weight: 700; line-height: 1.4; }
.events-page .event-card h2 { font-size: 24px; line-height: 1.2; letter-spacing: 0; overflow-wrap: anywhere; }
.events-page .event-card p { font-size: 15px; line-height: 1.6; color: #606a76; overflow-wrap: anywhere; }
.events-page .event-card .badge { align-self: flex-start; border-radius: 4px; font-size: 12px; font-weight: 600; padding: 6px 8px; }
.events-page .event-card .text-bg-primary { background-color: #eef2f6 !important; color: #46566c !important; }
.events-page .event-card .text-bg-success { background-color: #e8f3ed !important; color: #246446 !important; }
.events-page .event-card .text-bg-warning { background-color: #fff2d9 !important; color: #856119 !important; }
.events-page .event-card .btn { align-self: flex-start; max-width: 100%; }
.events-page a:focus-visible { outline: 2px solid #c81024; outline-offset: 4px; }
.events-page .pagination { gap: 8px; flex-wrap: wrap; }
.events-page .page-link { min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 6px; color: #3b424c; border-color: #e0e4e9; }
.events-page .page-item.active .page-link { background: #c81024; border-color: #c81024; color: #fff; }
@media (min-width: 768px) {
  .events-filter .row { display: grid; grid-template-columns: 1.2fr 1.2fr 0.7fr 1fr 1fr; gap: 20px; margin: 0; }
  .events-filter .row > div { width: auto; padding: 0; margin: 0; min-width: 0; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .events-filter .row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .events-page__intro h1.sh-h1 { font-size: 34px; }
  .events-page__intro p { font-size: 16px; }
  .events-page__intro > .d-flex { flex-wrap: wrap; }
  .events-filter__body { padding: 20px 16px; }
  .events-filter .row { --bs-gutter-y: 16px; }
  .events-page .event-card__body { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .events-page .event-card { transition: none; }
}

.event-show { color: #252a31; background: #fff; }
.event-show .event-show__image { aspect-ratio: auto; height: auto; max-height: 620px; object-fit: contain; border-radius: 8px; background: #f8f9fa; display: block; }
.event-show .event-show__panel { padding: 0 0 0 28px; border: 0; border-left: 1px solid #e2e6eb; border-radius: 0; background: transparent; box-shadow: none; }
.event-show .event-card__date { font-size: 14px; font-weight: 700; color: #c81024; line-height: 1.5; }
.event-show h1.sh-h1 { font-size: 34px; font-weight: 700; color: #252a31; line-height: 1.15; letter-spacing: 0; overflow-wrap: anywhere; }
.event-show .lead { font-size: 17px; color: #606a76; line-height: 1.6; }
.event-show .event-show__info { padding: 12px 0; margin-top: 0; border-bottom: 1px solid #edf0f3; color: #59636f; font-size: 15px; line-height: 1.5; }
.event-show .event-show__info span { min-width: 0; overflow-wrap: anywhere; }
.event-show .event-show__info i { color: #8b939e; flex-shrink: 0; }
.event-show .btn-primary { background: #c81024; border-color: #c81024; min-height: 44px; border-radius: 6px; font-size: 15px; font-weight: 700; max-width: 100%; white-space: normal; }
.event-show .btn-primary:hover { background: #a70d1e; border-color: #a70d1e; }
.event-show .badge { border-radius: 4px; font-size: 12px; font-weight: 600; padding: 6px 8px; white-space: normal; }
.event-show .text-bg-primary { background-color: #eef2f6 !important; color: #46566c !important; }
.event-show .text-bg-success { background-color: #e8f3ed !important; color: #246446 !important; }
.event-show .text-bg-warning { background-color: #fff2d9 !important; color: #856119 !important; }
.event-show .event-show__description { border: 0; border-top: 1px solid #e2e6eb; border-radius: 0; background: transparent; padding: 32px 0 0; }
.event-show .event-show__description h2 { font-size: 26px; letter-spacing: 0; }
.event-show .rich-text { color: #59636f; line-height: 1.7; font-size: 16px; overflow-wrap: anywhere; }
.event-show .rich-text img { max-width: 100%; height: auto; }
.event-show a:focus-visible { outline: 2px solid #c81024; outline-offset: 4px; }
@media (max-width: 991.98px) {
  .event-show .event-show__panel { border-left: 0; border-top: 1px solid #e2e6eb; padding: 24px 0 0; }
}
@media (max-width: 575.98px) {
  .event-show h1.sh-h1 { font-size: 30px; }
  .event-show .event-show__image { max-height: none; }
}

.event-show__container { max-width: 1140px; }
.event-show__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.event-show__actions .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; }
.event-show__section { padding-top: 28px; border-top: 1px solid #e2e6eb; margin-bottom: 32px; }
.event-show__section h2 { font-size: 25px; letter-spacing: 0; }
.event-show__logo { display: block; max-width: 180px; max-height: 110px; width: auto; height: auto; object-fit: contain; }
.event-show__links { display: grid; gap: 12px; }
.event-show__link { display: flex; align-items: center; gap: 16px; padding: 18px; border: 1px solid #e2e6eb; border-radius: 8px; color: #252a31; text-decoration: none; transition: background-color 150ms, border-color 150ms; }
.event-show__link:hover { background: #f8f9fa; border-color: #b9c1cb; color: #a70d1e; }
.event-show__link > i:first-child { color: #c81024; font-size: 20px; width: 24px; text-align: center; flex-shrink: 0; }
.event-show__link > i:last-child { margin-left: auto; color: #8b939e; font-size: 13px; }
.event-show__link span { min-width: 0; overflow-wrap: anywhere; }
.event-show__link strong { display: block; font-size: 16px; }
.event-show__link small { display: block; color: #606a76; margin-top: 4px; line-height: 1.5; }
.event-show__organizer { background: #f7f8fa; border: 1px solid #e2e6eb; border-radius: 8px; padding: 24px; }
.event-show__contacts > div + div { margin-top: 18px; }
.event-show__contacts dt { font-size: 12px; color: #616974; font-weight: 600; margin-bottom: 4px; }
.event-show__contacts dd { font-size: 15px; line-height: 1.6; margin: 0; overflow-wrap: anywhere; }
.event-show__contacts a, .event-show__source a { color: #a70d1e; text-underline-offset: 3px; }
.event-show__map { height: 380px; width: 100%; border: 1px solid #e2e6eb; border-radius: 8px; z-index: 0; background: #f2f4f6; }
@media (max-width: 575.98px) {
  .event-show__map { height: 300px; }
  .event-show__actions .btn { width: 100%; }
  .event-show__organizer { padding: 20px; }
  .event-show__link { padding: 16px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .event-show__link { transition: none; }
}
