/* Event content only; the surrounding portal layout keeps its existing styles. */
.afisha-event-content { margin: 28px 0; padding: 24px; border: 1px solid #e7dccb; border-radius: 14px; background: #faf6ef; color: #30251f; }
.afisha-index .afisha-event-content .afisha-heading { margin: 14px 0 24px; color: #30251f; font-size: 32px; font-weight: 700; line-height: 1.25; letter-spacing: -.5px; overflow-wrap: anywhere; }
.afisha-index .afisha-event-content .afisha-detail__categories { margin: 0; gap: 8px; }
.afisha-index .afisha-event-content .afisha-detail__categories a { padding: 4px 12px; border: 0; border-radius: 20px; background: #f1e8da; color: #735841; font-size: 12px; }
.afisha-index .afisha-event-content .afisha-detail__summary { display: flex; align-items: stretch; gap: 0; margin: 0 0 16px; padding: 0; overflow: hidden; border: 1px solid #e7dccb; border-radius: 12px; background: #fffdf9; }
.afisha-index .afisha-event-content .afisha-detail__poster { flex: 0 0 36%; max-width: 300px; align-self: flex-start; padding: 16px; border-radius: 11px 0 11px 0; background: #f1e7d8; }
.afisha-index .afisha-event-content .afisha-detail__poster img { width: 100%; max-height: 440px; object-fit: contain; }
.afisha-index .afisha-event-content .afisha-detail__schedule { padding: 20px; }
.afisha-index .afisha-event-content .afisha-detail__schedule h2 { margin: 0 0 16px; color: #8c735a; font-size: 11px; font-weight: 700; line-height: 1.5; letter-spacing: 1px; text-transform: uppercase; }
.afisha-event-session + .afisha-event-session { margin-top: 18px; padding-top: 18px; border-top: 1px solid #e9dfd1; }
.afisha-event-day + .afisha-event-day { margin-top: 20px; padding-top: 18px; border-top: 1px solid #e9dfd1; }
.afisha-event-day--multiple .afisha-event-session { padding: 10px 0; }
.afisha-event-day--multiple .afisha-event-session + .afisha-event-session { margin-top: 0; border-top: 1px solid #e9dfd1; }
.afisha-event-day--multiple .afisha-event-venue { margin-bottom: 6px; }
.afisha-event-day--multiple .afisha-event-facts { gap: 8px 16px; }
.afisha-event-day--multiple .afisha-event-fact > span { display: inline; margin-right: 6px; }
.afisha-event-day--multiple .afisha-event-fact strong { display: inline; font-size: 16px; }
.afisha-event-day--multiple .afisha-event-session--event { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.afisha-event-day--multiple .afisha-event-session--event .afisha-event-venue { flex: 1; min-width: 70px; margin-bottom: 0; }
.afisha-event-day--multiple .afisha-event-session--event .afisha-event-facts { margin-left: auto; }
.afisha-event-day--multiple .afisha-event-session--event .afisha-event-fact > span { display: none; }
.afisha-event-day--multiple .afisha-event-session--event .afisha-event-duration { width: 100%; margin-top: 0; }
.afisha-index .afisha-event-content .afisha-session-date { margin-bottom: 8px; color: #30251f; font-size: 23px; line-height: 1.3; }
.afisha-event-venue { display: inline-block; margin-bottom: 16px; color: #735841; font-size: 14px; font-weight: 600; line-height: 1.5; }
.afisha-event-facts { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 24px; }
.afisha-event-facts + .afisha-event-facts { margin-top: 16px; padding-top: 12px; border-top: 1px solid #e9dfd1; }
.afisha-event-fact { min-width: 0; }
.afisha-event-fact > span { display: block; margin-bottom: 4px; color: #897765; font-size: 11px; line-height: 1.5; }
.afisha-event-fact strong { display: block; color: #30251f; font-size: 22px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.afisha-event-fact small { font-size: 13px; font-weight: 400; }
.afisha-fact-icon { display: inline-block; flex-shrink: 0; width: 16px; height: 16px; margin-right: 4px; vertical-align: -3px; color: #9b7752; }
.afisha-session-date .afisha-fact-icon { width: 20px; height: 20px; margin-right: 6px; vertical-align: -2px; }
.afisha-event-ticket { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; margin-left: auto; padding: 10px 16px; border-radius: 8px; background: #824329; color: #fff9f0; font-size: 13px; font-weight: 700; text-align: center; }
.afisha-index .afisha-event-ticket:hover { background: #69351f; color: #fff9f0; text-decoration: none; }
.afisha-event-duration { margin: 10px 0 0; color: #897765; font-size: 12px; }
.afisha-event-empty { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 1px dashed #ddccb7; border-radius: 8px; background: #faf6ef; }
.afisha-event-empty__icon { display: flex; flex: 0 0 36px; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9px; background: #efe3d1; color: #8c735a; }
.afisha-event-empty__icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.afisha-index .afisha-event-empty p { margin: 0 0 6px; color: #665343; font-size: 14px; font-weight: 600; line-height: 1.5; }
.afisha-event-empty a { color: #824329; font-size: 13px; line-height: 1.5; }
@media (max-width: 768px) {
    .afisha-event-empty { flex-direction: column; padding: 12px; gap: 10px; }
}
.afisha-event-date { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 22px; padding: 12px 16px; border-radius: 8px; background: #efe3d1; }
.afisha-event-date label { margin: 0; color: #735841; font-size: 13px; font-weight: 600; }
.afisha-event-date input { width: 150px; height: 38px; padding: 6px 10px; border: 1px solid #ddccb7; border-radius: 6px; background: #fffdf9; color: #483326; font: inherit; font-size: 13px; box-shadow: none; }
.afisha-event-date button { margin-left: auto; padding: 8px 0; border: 0; background: transparent; color: #824329; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.afisha-index .afisha-event-content .afisha-detail__description,
.afisha-index .afisha-event-content .afisha-detail__media { margin: 22px 0; padding: 22px; border-color: #e7dccb; border-radius: 12px; background: #fffdf9; }
.afisha-index .afisha-event-content .afisha-detail__description { color: #665343; font-size: 15px; line-height: 1.7; }
.afisha-index .afisha-event-content .afisha-detail__description :is(p, span, div, li, strong, b) { color: #665343 !important; }
.afisha-index .afisha-event-content .afisha-detail__description h2,
.afisha-index .afisha-event-content .afisha-detail__media h2,
.afisha-event-upcoming > h2 { margin: 0 0 16px; color: #30251f; font-size: 23px; font-weight: 700; line-height: 1.3; text-transform: none; }
.afisha-event-content .afisha-detail__media iframe { border-radius: 8px; }
.afisha-event-content .afisha-event-upcoming { margin-bottom: 8px; }
@media (max-width: 768px) {
    .afisha-event-content { margin: 20px 0; padding: 14px; border-radius: 12px; }
    .afisha-index .afisha-event-content .afisha-heading { margin: 14px 0 20px; font-size: 26px; }
    .afisha-index .afisha-event-content .afisha-detail__summary { flex-direction: column; }
    .afisha-index .afisha-event-content .afisha-detail__poster { flex: none; align-self: stretch; width: 100%; max-width: none; padding: 14px; border-radius: 11px 11px 0 0; }
    .afisha-index .afisha-event-content .afisha-detail__poster a { display: block; }
    .afisha-index .afisha-event-content .afisha-detail__poster img { display: block; width: 100%; height: auto; max-height: 360px; object-fit: contain; }
    .afisha-index .afisha-event-content .afisha-detail__schedule { padding: 14px 12px; }
    .afisha-index .afisha-event-content .afisha-session-date { font-size: 20px; }
    .afisha-event-facts { gap: 12px; }
    .afisha-event-fact strong { font-size: 19px; }
    .afisha-event-ticket { width: 100%; margin-left: 0; padding: 9px 10px; }
    .afisha-event-venue { margin-bottom: 12px; font-size: 13px; }
    .afisha-index .afisha-event-content .afisha-detail__description,
    .afisha-index .afisha-event-content .afisha-detail__media { padding: 16px; }
    .afisha-event-date { padding: 12px; gap: 8px; }
    .afisha-event-date label { width: 100%; }
    .afisha-event-date input { width: 140px; }
    .afisha-event-date button { margin-left: 0; font-size: 12px; }

    .afisha-event-content .afisha-detail__photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
