.afisha-index .afisha-heading { margin: 32px 0 20px; color: #4a0d00; font-size: 30px; font-weight: 700; }
.afisha-index .afisha-controls { margin-bottom: 28px; padding: 18px; border: 1px solid #dec19a; border-radius: 8px; background: #fff9f0; }
.afisha-index .afisha-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid #ecdac2; }
.afisha-index .afisha-toolbar a, .afisha-index .afisha-toolbar button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 13px; border: 1px solid #dec19a; border-radius: 6px; background: #f8ead7; color: #4a0d00; font: inherit; font-size: 14px; font-weight: 600; line-height: 20px; cursor: pointer; }
.afisha-index .afisha-toolbar a[aria-current="date"] { background: #efd3ad; border-color: #cba16f; }
.afisha-index .afisha-toolbar button { background: #824329; border-color: #824329; color: #fff9f0; }
.afisha-index .afisha-toolbar a:hover { background: #efd3ad; text-decoration: none; }
.afisha-index .afisha-toolbar button:hover { background: #68321d; border-color: #68321d; }
.afisha-index .afisha-date-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-left: auto; }
.afisha-index .afisha-date-form label { margin: 0; color: #765238; font-size: 13px; font-weight: 600; }
.afisha-index .afisha-date-form input { width: 155px; max-width: 100%; height: 40px; padding: 7px 9px; border: 1px solid #dec19a; border-radius: 6px; background: #fffdf8; font: inherit; font-size: 14px; color: #4a0d00; box-shadow: none; }
.afisha-index .afisha-jump-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.afisha-index .afisha-jump-links a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid #ecd6b7; border-radius: 6px; background: #f8ead7; color: #654026; font-size: 13px; font-weight: 600; line-height: 20px; }
.afisha-index .afisha-jump-links a:hover { background: #efd3ad; border-color: #d7b48a; text-decoration: none; }
.afisha-index .afisha-jump-links span { display: inline-flex; align-items: center; justify-content: center; min-width: 23px; height: 22px; padding: 0 6px; border-radius: 4px; background: #ead5b5; color: #654026; font-size: 12px; line-height: 1; }
.afisha-index .afisha-section { scroll-margin-top: 20px; }
.afisha-index .afisha-section { margin: 0 0 32px; }
.afisha-index .afisha-section__heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 2px solid #4a0d00; }
.afisha-index .afisha-section__link { margin-left: auto; color: #4a0d00; font-size: 13px; }
.afisha-index .afisha-section__heading h2 { margin: 0; font-size: 24px; color: #4a0d00; font-weight: 700; }
.afisha-index .afisha-section__heading h2 a { color: inherit; text-decoration: none; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.afisha-index .afisha-section__heading h2 a:hover { text-decoration: underline; }
.afisha-index .afisha-section__heading span { font-size: 14px; color: #6e615b; }
.afisha-index .afisha-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.afisha-index .afisha-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #e7ded9; border-radius: 6px; background: #fff; }
.afisha-index .afisha-card__poster { display: flex; flex-shrink: 0; align-items: center; justify-content: center; height: 260px; padding: 12px; background: #fff9f0; }
.afisha-index .afisha-card__poster img { display: block; width: 100%; height: 100%; object-fit: contain; }
.afisha-index .afisha-card__placeholder { display: flex; flex-direction: column; align-items: center; gap: 12px; color: #8b7569; font-size: 16px; }
.afisha-index .afisha-card__placeholder span { font-size: 64px; line-height: 1; }
.afisha-index .afisha-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.afisha-index .afisha-card__categories { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 8px; }
.afisha-index .afisha-card__categories a { font-size: 12px; font-weight: 600; color: #826251; }
.afisha-index .afisha-card__title { margin: 0 0 12px; font-size: 19px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.afisha-index .afisha-card__title a, .afisha-index .afisha-card__venue-name, .afisha-index .afisha-card__details { color: #4a0d00; }
.afisha-index .afisha-card__description { margin: 0 0 14px; font-size: 14px; line-height: 1.6; color: #655b55; }
.afisha-index .afisha-card__schedule summary { padding: 10px 0; border-top: 1px solid #eee7e3; color: #4a0d00; font-size: 14px; font-weight: 600; cursor: pointer; }
.afisha-index .afisha-card__schedule summary:focus-visible { outline: 3px solid #a6724f; outline-offset: 3px; }
.afisha-index .afisha-card__venue { padding: 10px 0; border-top: 1px solid #eee7e3; }
.afisha-index .afisha-card__venue-name { display: inline-block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.afisha-index .afisha-card__session { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-bottom: 4px; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.afisha-index .afisha-card__format { padding: 0 5px; background: #f2efec; border-radius: 3px; font-size: 11px; color: #6e615b; }
.afisha-index .afisha-card__time { font-weight: 600; color: #322720; }
.afisha-index .afisha-card__price { color: #6e615b; }
.afisha-index .afisha-card__tickets { color: #4a0d00; text-decoration: underline; }
.afisha-index .afisha-card__details { display: inline-block; align-self: flex-start; margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 600; }
.afisha-index .afisha-empty { padding: 24px; background: #fff9f0; border-radius: 6px; color: #765238; line-height: 1.6; }
.afisha-index a:hover { text-decoration: underline; }
.afisha-index a:focus-visible, .afisha-index button:focus-visible, .afisha-index input:focus-visible { outline: 3px solid #a6724f; outline-offset: 3px; }
@media (max-width: 768px) {
    .afisha-index .afisha-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .afisha-index .afisha-heading { font-size: 26px; }
    .afisha-index .afisha-date-form { margin-left: 0; width: 100%; }
    .afisha-index .afisha-controls { padding: 14px; }
    .afisha-index .afisha-card__poster { height: 280px; }
    .afisha-index .afisha-card__body { padding: 16px; }
    .afisha-index .afisha-section__heading { flex-wrap: wrap; gap: 6px 12px; }
}
