/* public/assets/events.css */
/* =========================================================
   EVENTS / АФИША
   Под общий утвержденный светлый стиль сайта
   ========================================================= */

/* =========================================================
   LIST VIEW
   ========================================================= */

.events-list_view{
  width: 100%;
  max-width: var(--container, 1440px);
  margin-left: auto;
  margin-right: auto;
  padding-top: 14px;
  padding-bottom: 24px;
  box-sizing: border-box;
}

.app-main:not(.container) .events-list_view,
.app-main:not(.container) .events-single_view{
  padding-left: calc(var(--gutter, 16px) + var(--safe-area-inset-x, 0px));
  padding-right: calc(var(--gutter, 16px) + var(--safe-area-inset-x, 0px));
}

.events-list_view h1,
.events-title{
  margin: 0 0 20px;
  padding-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -.02em;
  color: #204f85;
  text-align: center;
  border-bottom: 0;
  text-shadow: 0 1px 0 rgba(255,255,255,.38);
}

/* === Сетка карточек === */
.events-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

/* === Карточка === */
.event-card{
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;

  background: rgba(255,255,255,.64);
  border: 1px solid rgba(190,205,227,.24);
  border-radius: 22px;
  box-shadow:
    0 8px 22px rgba(71,85,105,.04),
    inset 0 1px 0 rgba(255,255,255,.42);
  overflow: hidden;

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  transition:
    transform .16s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    background .18s ease;
}

.event-card:hover{
  transform: translateY(-2px);
  box-shadow:
    0 14px 28px rgba(71,85,105,.055),
    inset 0 1px 0 rgba(255,255,255,.48);
  border-color: rgba(167,188,221,.30);
  background: rgba(255,255,255,.72);
}

/* === Постер === */
.event-thumb{
  position: relative;
  display: block;
  overflow: hidden;
  background: rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(190,205,227,.18);
  padding: 10px;
  text-align: center;
}

.event-thumb img{
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: unset;
  object-position: center;
  border-radius: 16px;
  transition: transform .2s ease;
}

.event-card:hover .event-thumb img{
  transform: scale(1.015);
}

/* === Информация === */
.event-info{
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}

.event-info h3{
  font-size: 1.04rem;
  line-height: 1.28;
  font-weight: 850;
  margin: 0 0 8px;
  color: var(--text, #111827);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.event-info a{
  color: var(--text, #111827);
  text-decoration: none;
  transition: color .18s ease;
}

.event-info a:hover{
  color: var(--theme-color, #0088cc);
}

/* === Место === */
.event-location{
  color: rgba(15,23,42,.64);
  font-size: 0.92rem;
  line-height: 1.42;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* === Сеансы === */
.event-sessions{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  overflow: hidden;
}

.session-time{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  min-width: 0;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.15;

  background: rgba(255,255,255,.78);
  color: rgba(15,23,42,.92);
  padding: 7px 10px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 800;
  border: 1px solid rgba(190,205,227,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.42);

  transition:
    filter .15s ease,
    background .15s ease,
    color .15s ease,
    border-color .15s ease,
    box-shadow .15s ease;
}

.session-time:hover{
  background: rgba(0,136,204,.10);
  color: rgba(0,136,204,.98);
  border-color: rgba(0,136,204,.18);
  box-shadow: 0 8px 18px rgba(0,136,204,.08);
}

.session-places{
  font-weight: 900;
  font-size: 0.82rem;
  opacity: .95;
  white-space: nowrap;
}

/* === Кнопка покупки внизу карточки === */
.event-actions-row{
  margin-top: auto;
  padding-top: 12px;
}

.event-actions-left{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  width: 100%;
  min-width: 0;
}

.event-buy-row{
  margin-top: 10px;
  display: flex;
}

.event-buy-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;

  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 900;
  text-decoration: none;
  background: linear-gradient(180deg, var(--theme-color, #0088cc), #006fa8);
  color: #fff;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    0 8px 18px rgba(0,136,204,.12);
  transition: filter .15s ease, transform .08s ease, box-shadow .15s ease;
}

.event-buy-btn:hover{
  filter: brightness(1.02);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    0 10px 22px rgba(0,136,204,.15);
}

.event-buy-btn:active{
  transform: translateY(1px);
}

.event-remind-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 900;
  text-decoration: none;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(190,205,227,.28);
  color: rgba(15,23,42,.92);
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.42);
  transition: filter .15s ease, border-color .15s ease, background .15s ease;
}

.event-remind-btn:hover{
  filter: brightness(.99);
  border-color: rgba(0,136,204,.18);
  background: rgba(255,255,255,.84);
}

.event-remind-form{
  display: inline;
  margin: 0;
}
.event-remind-form .event-buy-btn{
  border: 0;
  cursor: pointer;
}

.single-ticket-buy{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.event-ticket-link-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 900;
  text-decoration: none;
  background: #b43d3d;
  border: 1px solid rgba(120, 24, 24, .35);
  color: #fff;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(180, 61, 61, .22);
  transition: filter .15s ease, transform .15s ease;
}

.event-ticket-link-btn:hover{
  filter: brightness(1.05);
  color: #fff;
}

.event-ticket-link-btn:active{
  transform: translateY(1px);
}

.single-ticket-buy-hint{
  font-size: 13px;
  color: rgba(71, 85, 105, .9);
}

.event-places-badge{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(190,205,227,.26);
  background: rgba(255,255,255,.74);
  font-weight: 900;
  line-height: 1;
  color: rgba(15,23,42,.92);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.38);
}

/* =========================================================
   MOBILE / RESPONSIVE
   ========================================================= */

@media (max-width: 768px){
  .desktop-only{ display: none !important; }
  .mobile-only{ display: block !important; }

  .events-list_view h1,
  .events-title{
    text-align: left;
    margin-left: 0;
    margin-bottom: 16px;
    font-size: 1.55rem;
  }

  .events-slider{
    overflow: hidden;
    width: 100%;
  }

  .events-slider .swiper-slide{
    width: 100% !important;
    max-width: 100% !important;
  }

  .events-slider .event-card{
    width: 100%;
  }

  .events-grid{
    gap: 14px;
  }

  .event-card{
    border-radius: 18px;
  }

  .event-info{
    padding: 12px 13px 14px;
  }

  .session-time{
    font-size: 0.8rem;
    padding: 6px 8px;
  }

  .event-thumb{
    padding: 8px;
  }

  .event-thumb img{
    border-radius: 14px;
  }
}

@media (min-width: 769px){
  .mobile-only{ display: none !important; }
}

@media (max-width: 420px){
  .event-location{
    white-space: normal;
  }

  .event-actions-left{
    gap: 8px;
    flex-wrap: wrap;
  }

  .event-places-badge{
    font-size: 0.85rem;
    padding: 8px 8px;
    width: 100%;
    justify-content: center;
  }

  .event-buy-btn{
    padding: 10px 10px;
    width: 100%;
  }
}

/* === Стили для слайдера === */
.events-slider{
  width: 100%;
  padding-bottom: 30px;
}

.events-slider .swiper-slide{
  width: clamp(240px, 86vw, 360px);
  max-width: 360px;
  display: flex;
  justify-content: center;
}

@media (max-width: 360px){
  .events-slider .swiper-slide{
    width: 92vw;
    max-width: 92vw;
  }
}

@media (max-width: 1024px) and (orientation: landscape){
  .events-slider .swiper-slide{
    width: clamp(320px, 70vw, 520px);
    max-width: 520px;
  }
  .event-info{
    padding: 12px 12px;
  }
}

.swiper-pagination-bullet{
  background: var(--theme-color, #0088cc);
  opacity: .32;
}

.swiper-pagination-bullet-active{
  opacity: 1;
  background: var(--theme-color, #0088cc);
}

/* =========================================================
   SINGLE VIEW
   ========================================================= */

.events-single_view{
  width: 100%;
  max-width: var(--container, 1440px);
  margin-left: auto;
  margin-right: auto;
  padding-top: 14px;
  padding-bottom: 24px;
  box-sizing: border-box;
}

.event-single{
  background: rgba(255,255,255,.68);
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(190,205,227,.24);
  box-shadow:
    0 8px 22px rgba(71,85,105,.04),
    inset 0 1px 0 rgba(255,255,255,.44);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    background .18s ease;
}

.event-single:hover{
  transform: translateY(-1px);
  box-shadow:
    0 14px 28px rgba(71,85,105,.055),
    inset 0 1px 0 rgba(255,255,255,.48);
  border-color: rgba(167,188,221,.30);
  background: rgba(255,255,255,.74);
}

/* === Заголовок и мета === */
.event-header{
  text-align: center;
  margin-bottom: 18px;
}

.event-header h1{
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: #204f85;
  margin: 0 0 10px;
  font-weight: 950;
  letter-spacing: -.02em;
  text-shadow: 0 1px 0 rgba(255,255,255,.36);
}

.event-meta{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--muted, #6b7280);
  font-size: 1rem;
}

.event-date,
.event-loc{
  display: flex;
  align-items: center;
  gap: 6px;
}

/* === Изображение === */
.event-img_wrap{
  margin: 20px 0;
  text-align: center;
}

.event-img{
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(71,85,105,.06);
  transition: transform .18s ease;
  display: inline-block;
}

.event-img:hover{
  transform: scale(1.01);
}

/* === Описание === */
.event-desc{
  background: rgba(255,255,255,.56);
  border-radius: 18px;
  padding: 18px 20px;
  color: var(--text, #111827);
  font-size: 1.03rem;
  line-height: 1.72;
  border: 1px solid rgba(190,205,227,.22);
  white-space: pre-line;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.34);
}

.event-desc a{
  color: var(--theme-color, #0088cc);
  text-decoration: underline;
  word-break: break-word;
}

.event-desc a:hover{
  filter: brightness(0.97);
}

.event-desc ul,
.event-desc ol{
  margin: 0 0 1em 1.5em;
  padding: 0;
}

.event-desc li{
  margin-bottom: 0.5em;
}

/* === Кнопка назад === */
.event-back{
  text-align: center;
  margin-top: 24px;
}

.btn-back{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--theme-color, #0088cc), #006fa8);
  color: #fff;
  padding: 10px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 900;
  transition: filter .15s ease, transform .08s ease, box-shadow .15s ease;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    0 8px 18px rgba(0,136,204,.12);
}

.btn-back:hover{
  filter: brightness(1.02);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    0 10px 22px rgba(0,136,204,.15);
}

.btn-back:active{
  transform: translateY(1px);
}

/* === SINGLE: постер слева, инфо справа === */
.single-layout{
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  align-items: start;
  min-width: 0;
}

.single-layout > .single-poster,
.single-layout > .single-info{
  min-width: 0;
}

.events-single_view .event-header h1,
.events-single_view .event-desc,
.events-single_view .single-theater-subtitle{
  overflow-wrap: anywhere;
  word-break: break-word;
}

.single-poster-img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(190,205,227,.24);
  box-shadow: 0 8px 18px rgba(71,85,105,.06);
  object-fit: unset;
  object-position: center;
  background: rgba(255,255,255,.36);
  padding: 8px;
}

.single-header{
  text-align: left !important;
  margin-bottom: 12px;
}

.single-meta{
  align-items: flex-start !important;
}

.single-desc{
  margin-top: 12px;
}

.single-sessions{
  margin-top: 10px;
}

.single-sessions-title{
  font-weight: 900;
  margin-bottom: 8px;
  color: rgba(15,23,42,.92);
}

.single-sessions-empty{
  color: rgba(107,114,128,.95);
  font-weight: 600;
  padding: 8px 0;
}

.single-trailer{
  margin-top: 14px;
}

.single-trailer-title{
  font-weight: 900;
  margin: 0 0 10px;
}

.single-video-wrap{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(190,205,227,.22);
  background: #000;
  box-shadow: 0 8px 18px rgba(71,85,105,.05);
}

.single-video{
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px){
  .events-single_view{
    min-width: 0;
    overflow-x: clip;
    padding-top: 8px;
    padding-bottom: 16px;
  }

  .events-single_view .event-single{
    padding: 14px 12px;
    border-radius: 18px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .events-single_view .single-layout{
    grid-template-columns: 1fr;
    gap: 14px;
    min-width: 0;
  }

  .events-single_view .single-poster,
  .events-single_view .single-info{
    min-width: 0;
    max-width: 100%;
  }

  .events-single_view .event-header h1{
    font-size: clamp(1.35rem, 5.2vw, 1.55rem);
    line-height: 1.22;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  .events-single_view .event-meta,
  .events-single_view .single-meta{
    font-size: 0.92rem;
    align-items: flex-start;
    width: 100%;
  }

  .events-single_view .event-date,
  .events-single_view .event-loc{
    align-items: flex-start;
    max-width: 100%;
  }

  .events-single_view .event-date span,
  .events-single_view .event-loc span{
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
  }

  .events-single_view .event-desc,
  .events-single_view .single-desc{
    font-size: 0.98rem;
    padding: 14px 12px;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .events-single_view .single-theater-subtitle{
    font-size: 0.95rem;
    line-height: 1.55;
    color: #475569;
  }

  .events-single_view .single-cast-list{
    overflow-wrap: anywhere;
    word-break: break-word;
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .events-single_view .single-poster-img{
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .events-single_view .event-ticket-link-btn{
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .events-single_view .single-ticket-buy-hint{
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .events-single_view .event-single-topbar{
    margin-bottom: 10px;
  }
}

/* =========================================================
   KINOWIDGET MODAL
   ========================================================= */

html.kw-modal-open,
html.kw-modal-open body{
  overflow: hidden !important;
}

.kw-modal{
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
}

.kw-modal.is-open{
  display: block !important;
}

.kw-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,.54);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.kw-modal__dialog{
  position: absolute;
  inset: 5% 5%;
  background: rgba(255,255,255,.96);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(190,205,227,.22);
  box-shadow: 0 20px 60px rgba(71,85,105,.16);
}

.kw-modal__close{
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(190,205,227,.24);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 900;
  background: rgba(255,255,255,.88);
  color: rgba(15,23,42,.92);
  box-shadow: 0 6px 16px rgba(71,85,105,.08);
}

.kw-modal__frame{
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px){
  .kw-modal__dialog{
    inset: 0;
    border-radius: 0;
  }
}

/* =========================================================
   HARD FIX 2: постеры полностью + без наезда на сеансы
   ========================================================= */

.events-grid .event-card .event-thumb,
.events-slider .event-card .event-thumb{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 360px !important;
  min-height: 360px !important;
  max-height: 360px !important;
  overflow: hidden !important;
  padding: 12px !important;
  background: rgba(255,255,255,.18) !important;
  border-bottom: 1px solid rgba(190,205,227,.18) !important;
  box-sizing: border-box !important;
}

.events-grid .event-card .event-thumb img,
.events-slider .event-card .event-thumb img{
  display: block !important;
  width: auto !important;
  height: auto !important;
  min-width: 80px !important;
  min-height: 120px !important;
  max-width: 100% !important;
  max-height: 100% !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 14px !important;
  margin: 0 auto !important;
  transform: none !important;
}

.events-grid .event-card:hover .event-thumb img,
.events-slider .event-card:hover .event-thumb img{
  transform: none !important;
}

.single-poster-img,
.event-img{
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 520px !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
}

@media (max-width: 1024px){
  .events-grid .event-card .event-thumb,
  .events-slider .event-card .event-thumb{
    height: 330px !important;
    min-height: 330px !important;
    max-height: 330px !important;
  }
}

@media (max-width: 768px){
  .events-grid .event-card .event-thumb,
  .events-slider .event-card .event-thumb{
    height: 300px !important;
    min-height: 300px !important;
    max-height: 300px !important;
    padding: 10px !important;
  }
}

/* =========================================================
   HARD FIX 3: постер не перекрывает кнопки/сеансы
   ========================================================= */

.events-grid .event-card,
.events-slider .event-card{
  position: relative !important;
}

.events-grid .event-card .event-thumb,
.events-slider .event-card .event-thumb{
  position: relative !important;
  z-index: 1 !important;
  flex: 0 0 auto !important;
}

.events-grid .event-card .event-info,
.events-slider .event-card .event-info{
  position: relative !important;
  z-index: 2 !important;
}

.events-grid .event-card .event-actions-row,
.events-slider .event-card .event-actions-row,
.events-grid .event-card .event-actions-left,
.events-slider .event-card .event-actions-left,
.events-grid .event-card .event-buy-btn,
.events-slider .event-card .event-buy-btn,
.events-grid .event-card .session-time,
.events-slider .event-card .session-time{
  position: relative !important;
  z-index: 3 !important;
}

/* =========================================================
   EVENTS DESIGN REFINEMENT
   Matches afisha pages to the calmer site style.
   ========================================================= */

.events-list_view h1,
.events-title{
  font-size: clamp(26px, 2.35vw, 36px);
  line-height: 1.16;
  font-weight: 820;
  letter-spacing: 0;
  color: #215f9a;
  text-shadow: 0 1px 0 rgba(255,255,255,.42);
}

.events-grid{
  gap: 16px;
}

.event-card,
.event-single{
  background:
    linear-gradient(180deg, rgba(255,255,255,.90), rgba(255,255,255,.76));
  border-color: rgba(175,193,222,.30);
  box-shadow:
    0 12px 30px rgba(44,62,92,.06),
    inset 0 1px 0 rgba(255,255,255,.62);
}

.event-card{
  border-radius: 20px;
}

.event-card:hover,
.event-single:hover{
  border-color: rgba(126,156,198,.40);
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.86));
  box-shadow:
    0 18px 42px rgba(44,62,92,.085),
    inset 0 1px 0 rgba(255,255,255,.70);
}

.event-thumb{
  background: rgba(255,255,255,.34);
  border-bottom-color: rgba(175,193,222,.22);
}

.events-grid .event-card .event-thumb,
.events-slider .event-card .event-thumb{
  background: rgba(255,255,255,.34) !important;
  border-bottom-color: rgba(175,193,222,.22) !important;
}

.event-info{
  padding: 15px;
}

.event-info h3{
  font-size: 1rem;
  line-height: 1.38;
  font-weight: 760;
  letter-spacing: 0;
  color: #18243a;
}

.event-location{
  color: #64748b;
  line-height: 1.5;
}

.session-time,
.event-remind-btn{
  background: rgba(255,255,255,.72);
  border-color: rgba(175,193,222,.30);
  box-shadow: 0 8px 18px rgba(44,62,92,.04);
  font-weight: 760;
}

.event-buy-btn{
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.24),
    0 10px 22px rgba(5,118,173,.16);
}

.event-single{
  border-radius: 22px;
}

@media (max-width: 768px){
  .events-list_view{
    padding-top: 8px;
  }

  .events-list_view h1,
  .events-title{
    font-size: clamp(24px, 7vw, 31px);
    margin-bottom: 14px;
  }

  .events-grid{
    gap: 12px;
  }

  .event-info{
    padding: 14px;
  }
}

/* =========================================================
   EVENTS TYPOGRAPHY SOFTENING
   Makes afisha list and event pages calmer.
   ========================================================= */

.events-list_view,
.events-single_view{
  font-weight: 480;
  color: #18243a;
}

.events-list_view h1,
.events-title,
.event-header h1{
  font-size: clamp(25px, 2.15vw, 33px);
  line-height: 1.2;
  font-weight: 760;
  letter-spacing: 0;
}

.event-info h3,
.event-info h3 a{
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 680;
}

.event-location,
.event-meta,
.single-meta,
.event-desc{
  font-weight: 500;
}

.event-desc{
  font-size: 1rem;
  line-height: 1.7;
  color: #243248;
}

.session-time,
.event-buy-btn,
.event-remind-btn,
.event-backlink,
.single-sessions-title{
  font-weight: 680 !important;
  letter-spacing: 0;
}

.session-places{
  font-weight: 620;
}

.event-header{
  margin-bottom: 12px;
}

.single-sessions-title{
  font-size: 1rem;
  line-height: 1.25;
}

@media (max-width: 768px){
  .events-list_view h1,
  .events-title,
  .event-header h1{
    font-size: clamp(23px, 6.2vw, 29px);
  }

  .event-desc{
    font-size: 15.5px;
    line-height: 1.66;
  }
}

.events-list_view [class*="title"],
.events-single_view [class*="title"],
.events-list_view [class*="Title"],
.events-single_view [class*="Title"],
.events-list_view h1,
.events-single_view h1,
.events-list_view h2,
.events-single_view h2,
.events-list_view h3,
.events-single_view h3{
  font-weight: 700;
  letter-spacing: 0;
}

.events-list_view [class*="btn"],
.events-single_view [class*="btn"],
.events-list_view [class*="Btn"],
.events-single_view [class*="Btn"],
.events-list_view [class*="time"],
.events-single_view [class*="time"],
.events-list_view button,
.events-single_view button{
  font-weight: 660;
  letter-spacing: 0;
}

.events-list_view [class*="meta"],
.events-single_view [class*="meta"],
.events-list_view [class*="desc"],
.events-single_view [class*="desc"],
.events-list_view [class*="location"],
.events-single_view [class*="location"]{
  font-weight: 500;
}

.events-single_view .event-header h1{
  font-size: clamp(25px, 2vw, 31px);
  line-height: 1.22;
  font-weight: 700;
  color: #21517f;
}

.events-single_view .event-desc strong,
.events-single_view .event-desc b{
  font-weight: 680;
}

.events-single_view .single-meta{
  font-size: .96rem;
  color: #5f7088;
}

.events-single_view .single-poster-img{
  box-shadow: 0 10px 24px rgba(44,62,92,.07);
}

.events-single_view .single-desc{
  display: grid;
  gap: 10px;
  padding: 18px 20px;
}

.events-single_view .single-desc > div{
  line-height: 1.5;
}

.events-single_view .single-desc hr{
  margin: 6px 0 !important;
  border-top-color: rgba(175,193,222,.34) !important;
}

/* =========================================================
   EVENTS FINAL POLISH
   Removes inline spacing and evens out cards/forms.
   ========================================================= */

.events-flash{
  margin: 10px 0 14px;
}

.events-bottom-back{
  margin-top: 14px;
}

.event-places-badge.is-muted{
  opacity: .6;
}

.event-single-topbar{
  margin: 6px 0 12px;
}

.event-backlink{
  text-decoration: none;
  font-weight: 660;
  letter-spacing: 0;
  color: #21517f;
}

.single-remind{
  margin: 10px 0 6px;
}

.single-price-line{
  margin-top: 8px;
}

.single-desc-sep{
  margin: 14px 0;
  border: 0;
  border-top: 1px solid rgba(175,193,222,.34);
}

.events-list_view .ui-alert,
.events-single_view .ui-alert,
.single-sessions,
.single-trailer{
  border-color: rgba(175,193,222,.28);
  box-shadow:
    0 10px 24px rgba(44,62,92,.045),
    inset 0 1px 0 rgba(255,255,255,.58);
}

.event-sessions{
  align-items: center;
}

.session-time{
  min-height: 34px;
}

.event-places-badge{
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 12px;
  border: 1px solid rgba(175,193,222,.30);
  background: rgba(255,255,255,.70);
  color: #5f7088;
  font-weight: 620;
  white-space: nowrap;
}

.event-actions-left{
  align-items: stretch;
}

.event-remind-form{
  flex: 1 1 auto;
  min-width: 0;
}

.event-card .event-buy-btn,
.event-card .event-remind-form .event-buy-btn{
  min-height: 40px;
}

.single-video-wrap{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(175,193,222,.24);
  background: rgba(255,255,255,.46);
}

@media (max-width: 768px){
  .event-actions-left{
    gap: 8px;
  }

  .event-card .event-buy-btn{
    padding-left: 10px;
    padding-right: 10px;
  }
}
