@charset "UTF-8";

button,
label,
input,
select,
textarea {
  font-family: var(--default-font-family);
}

.survey__banner {
  background: #B7CCBA url(../img/survey.png) no-repeat -8px 0;
  box-shadow: 0px 4px 4px 0px #00000040;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 98;
}

.survey__banner .survey__container {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.survey__banner .survey__copy {
  display: flex;
  align-items: center;
  gap: 31px;
  padding-left: 5vw;
}

.survey__banner .text {
  line-height: 1.2;
}

.survey__banner .text span {
  text-transform: uppercase;
}

.survey__banner .survey__btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  margin-top: 0;
  font-size: 16px;
}

.survey__banner .survey__close {
  width: 24px;
  height: 24px;
  background: url(../img/close-banner.svg) no-repeat 50%/contain;
  border: 0;
  padding: 0;
  background-color: transparent;
  cursor: pointer;
  flex: 0 0 auto;
  filter: brightness(0) saturate(100%);
}

.our-friend {
  max-width: -webkit-max-content;
  max-width: -moz-max-content;
  max-width: max-content;
  margin: 0 auto 40px;
}

.our-friend .our-friend__media {
  position: relative;
  display: inline-block;
  line-height: 0;
  --corner-size: 20px;
}

.our-friend .our-friend__media::before,
.our-friend .our-friend__media::after {
  content: "";
  position: absolute;
  width: var(--corner-size);
  height: var(--corner-size);
  background: #fff;
  z-index: 2;
  pointer-events: none;
}

.our-friend .our-friend__media::before {
  top: 0;
  left: 0;
}

.our-friend .our-friend__media::after {
  bottom: 0;
  left: 0;
}

.our-friend .our-friend__media > a,
.our-friend .our-friend__media > img {
  position: relative;
  display: block;
}

.our-friend .our-friend__media > a::before,
.our-friend .our-friend__media > a::after,
.our-friend .our-friend__media > img::before,
.our-friend .our-friend__media > img::after {
  content: "";
  position: absolute;
  width: var(--corner-size);
  height: var(--corner-size);
  background: #fff;
  z-index: 2;
  pointer-events: none;
}

.our-friend .our-friend__media > a::before,
.our-friend .our-friend__media > img::before {
  top: 0;
  right: 0;
}

.our-friend .our-friend__media > a::after,
.our-friend .our-friend__media > img::after {
  bottom: 0;
  right: 0;
}

.our-friend .our-friend__media img {
  max-width: 100%;
  height: auto;
}

.our-friend figcaption {
  margin-top: 4px;
  font-size: 14px;
  line-height: 140%;
  color: #9F9F9F;
}

.single-afisha-wrapper + .afisha-inline-widget .our-friend {
  margin: 60px auto 0;
  padding: 0 17px;
}

.about-page__partner-tech {
  background: white;
}

.about-page__partner-tech img {
  opacity: 0.5;
}

.about-page__partner-tech a:hover img {
  opacity: 1;
}

.about-page__people .people_list .item:nth-child(8) .photo {
  background: #B7CCBA;
}

.anndim-expandable {
  margin: 30px 0;
  border-left: 4px solid var(--main);
  background: #F7F7F7;
}

.anndim-expandable__summary {
  display: flex;
  align-items: center;
  min-height: 108px;
  padding: 28px 26px;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
}

.anndim-expandable__summary::-webkit-details-marker {
  display: none;
}

.anndim-expandable__summary::marker {
  content: "";
}

.anndim-expandable__summary:focus-visible {
  box-shadow: inset 0 0 0 2px #080808;
}

.anndim-expandable__title {
  min-width: 0;
}

.anndim-expandable__icon {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 28px;
  margin-left: 14px;
  background: no-repeat 50% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Crect width='4' height='4' transform='matrix(0 -1 -1 0 15 14)' fill='%23080808'/%3E%3Crect width='4' height='4' transform='matrix(0 -1 -1 0 18 11)' fill='%23080808'/%3E%3Crect width='4' height='4' transform='matrix(0 -1 -1 0 4 11)' fill='%23080808'/%3E%3Crect width='4' height='4' transform='matrix(0 -1 -1 0 7 14)' fill='%23080808'/%3E%3Crect width='18' height='4' transform='matrix(0 -1 -1 0 11 18)' fill='%23080808'/%3E%3C/svg%3E");
  transition: transform var(--transition);
  transform: rotate(180deg);
}

.anndim-expandable[open] .anndim-expandable__icon {
  transform: rotate(0deg);
}

.anndim-expandable__content {
  padding: 0 26px 28px;
  font-size: 16px;
}

.anndim-expandable__content ul li {
  font-size: 16px;
}

.anndim-expandable__content > :first-child {
  margin-top: 0;
}

.anndim-expandable__content > :last-child {
  margin-bottom: 0;
}

.anndim-info-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin: 0 3px;
  line-height: 1;
  vertical-align: super;
  cursor: default;
}

.anndim-info-tooltip::after {
  content: "";
  position: absolute;
  top: -30px;
  left: 100%;
  width: 24px;
  bottom: -30px;
  background: transparent;
}

.anndim-info-tooltip:hover .anndim-info-tooltip__bubble,
.anndim-info-tooltip:focus .anndim-info-tooltip__bubble,
.anndim-info-tooltip:focus-within .anndim-info-tooltip__bubble {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%);
  visibility: visible;
  transition: opacity var(--transition), transform var(--transition), visibility 0s linear 0s;
}

.anndim-info-tooltip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 2px solid var(--main);
  background: #f7f7f7 no-repeat 50% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='14' viewBox='0 0 7 14' fill='none'%3E%3Cpath d='M5 10.7686H7V13.8457H0V10.7686H1.5V7.69238H0V4.61523H5V10.7686ZM5 3.07715H2V0H5V3.07715Z' fill='%23D75632'/%3E%3C/svg%3E");
  font-size: 0;
  cursor: help;
}

.anndim-info-tooltip__bubble {
  --tooltip-cut: 20px;
  --tooltip-border: 1px;
  position: absolute;
  top: 50%;
  left: calc(100% + 20px);
  z-index: 30;
  width: 400px;
  padding: var(--tooltip-border);
  background: var(--main);
  color: #080808;
  -webkit-clip-path: polygon(var(--tooltip-cut) 0, calc(100% - var(--tooltip-cut)) 0, calc(100% - var(--tooltip-cut)) var(--tooltip-cut), 100% var(--tooltip-cut), 100% calc(100% - var(--tooltip-cut)), calc(100% - var(--tooltip-cut)) calc(100% - var(--tooltip-cut)), calc(100% - var(--tooltip-cut)) 100%, var(--tooltip-cut) 100%, var(--tooltip-cut) calc(100% - var(--tooltip-cut)), 0 calc(100% - var(--tooltip-cut)), 0 var(--tooltip-cut), var(--tooltip-cut) var(--tooltip-cut));
  clip-path: polygon(var(--tooltip-cut) 0, calc(100% - var(--tooltip-cut)) 0, calc(100% - var(--tooltip-cut)) var(--tooltip-cut), 100% var(--tooltip-cut), 100% calc(100% - var(--tooltip-cut)), calc(100% - var(--tooltip-cut)) calc(100% - var(--tooltip-cut)), calc(100% - var(--tooltip-cut)) 100%, var(--tooltip-cut) 100%, var(--tooltip-cut) calc(100% - var(--tooltip-cut)), 0 calc(100% - var(--tooltip-cut)), 0 var(--tooltip-cut), var(--tooltip-cut) var(--tooltip-cut));
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility 0s linear 0.25s;
}

.anndim-info-tooltip__bubble,
.anndim-info-tooltip__bubble-inner {
  cursor: default;
}

.anndim-info-tooltip__bubble-inner {
  display: block;
  padding: 20px;
  background: #fff;
  -webkit-clip-path: inherit;
  clip-path: inherit;
  font-family: var(--default-font-family);
  font-weight: 300;
  font-size: 14px;
  line-height: 150%;
  text-decoration: none;
}

.anndim-info-tooltip__bubble-inner a {
  cursor: pointer;
  color: var(--main);
  text-decoration: underline;
  text-underline-offset: 8%;
  text-decoration-thickness: 7.5%;
  -webkit-text-decoration-skip: ink;
  text-decoration-skip-ink: auto;
}

.post__label-text--mobile {
  display: none;
}

.event__header--with-label {
  padding-top: 52px;
}

.home_affiche .event__details-link {
  display: contents;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

section.affiche .events-wrapper .event__header {
  padding: 16px 20px;
}

section.affiche .events-wrapper .event.js-event-link {
  cursor: pointer;
}

.search-results-list .search-result--afisha {
  display: block;
  gap: 0;
}

.search-results-list .search-result--afisha .category_affiche__content {
  gap: 0;
}

.search-results-list .search-result--afisha .event__image a,
.search-results-list .search-result--afisha .event__image img {
  display: block;
}

.search-results-list .search-result--afisha .event__image img {
  width: 100%;
  height: auto;
}

.page_afisha_header {
  display: grid;
  grid-template-columns: -webkit-max-content minmax(0, 1fr);
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: start;
  gap: 30px;
}

.page_afisha_header h1 {
  margin: 0;
}

.page_afisha_header .filter-afisha {
  width: 100%;
  max-width: 900px;
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.page_afisha_header .filter-afisha__presets,
.page_afisha_header .filter-afisha__categories {
  justify-content: flex-end;
}

.filter-afisha__presets {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 4px;
}

.filter-afisha__date-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 22px;
  padding: 7px 8px 7px 12px;
  background: #D75632;
  color: #080808;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.filter-afisha__date-badge[hidden] {
  display: none;
}

.filter-afisha__date-badge-text {
  font-variant-numeric: tabular-nums;
}

.filter-afisha__date-badge-clear {
  position: relative;
  z-index: 1;
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.9;
  transition: opacity 0.18s ease;
}

.filter-afisha__date-badge-clear:hover {
  opacity: 1;
}

.filter-afisha__calendar {
  font-family: var(--default-font-family);
}

.filter-afisha__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 18px;
}

.filter-afisha__category {
  display: inline-grid;
  grid-template-columns: 18px -webkit-max-content;
  grid-template-columns: 18px max-content;
  -moz-column-gap: 10px;
  column-gap: 10px;
  align-items: center;
  cursor: pointer;
  padding: 6px 10px;
  margin: -6px -10px;
  border-radius: 4px;
  transition: background-color 0.18s ease;
}

.filter-afisha__category::before {
  content: "";
  grid-column: 1;
  grid-row: 1;
  width: 16px;
  height: 16px;
  box-sizing: border-box;
  border: 1px solid #9F9F9F;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 9px;
  pointer-events: none;
  transition: border-color 0.18s ease, background-color 0.18s ease, background-image 0.18s ease;
}

.filter-afisha__category:has(.filter-afisha__category-input:checked)::before {
  border-color: #e85a2a;
  background-color: #e85a2a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='9' viewBox='0 0 11 9' fill='none'%3E%3Cpath d='M1 4.25L4.12 7.62L10 1' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.filter-afisha__category:not(:has(.filter-afisha__category-input:checked)):hover::before,
.filter-afisha__category:not(:has(.filter-afisha__category-input:checked)):has(.filter-afisha__category-input:focus-visible)::before {
  border-color: #080808;
  background-color: transparent;
}

.filter-afisha__category:has(.filter-afisha__category-input:focus-visible)::before {
  outline: 2px solid rgba(232, 90, 42, 0.45);
  outline-offset: 2px;
}

.filter-afisha__category:has(.filter-afisha__category-input:checked) .filter-afisha__category-text {
  color: #333;
}

.filter-afisha__category:not(:has(.filter-afisha__category-input:checked)):hover .filter-afisha__category-text,
.filter-afisha__category:not(:has(.filter-afisha__category-input:checked)):has(.filter-afisha__category-input:focus-visible) .filter-afisha__category-text {
  color: #080808;
}

.filter-afisha__preset:hover {
  border-color: transparent;
}

.filter-afisha__category-input {
  grid-column: 1;
  grid-row: 1;
  width: 16px;
  height: 16px;
  margin: 0;
  opacity: 0;
  z-index: 1;
  cursor: pointer;
}

.filter-afisha__category-text {
  grid-column: 2;
  grid-row: 1;
  font-size: 14px;
  line-height: 1.25;
  color: #9F9F9F;
  transition: color 0.18s ease;
}

.filter-afisha__toggle:hover {
  background-color: #080808;
}

.search-empty {
  max-width: 970px;
  margin: 0 auto;
  padding: 20px 0 60px;
}

.search-empty__title {
  margin: 0 0 12px;
  text-align: center;
}

.search-empty__text {
  margin: 0 0 24px;
  font-size: 20px;
  line-height: 1.4;
  text-align: center;
}

.search-empty__form {
  display: flex;
  width: 100%;
  max-width: none;
  margin: 0 auto 60px;
  background-color: #F7F7F7;
  padding: 10px 18px;
  align-items: center;
  gap: 12px;
}

.search-empty__form .search-field {
  min-width: 0;
  width: 100%;
  height: 48px;
  padding: 12px;
  border: none;
  background-color: #fff;
  font: 500 16px var(--heading-font-family);
}

.search-empty__form .search-field::-moz-placeholder {
  color: #9F9F9F;
}

.search-empty__form .search-field:-ms-input-placeholder {
  color: #9F9F9F;
}

.search-empty__form .search-field::placeholder {
  color: #9F9F9F;
}

.search-empty__form .search-field:focus {
  outline: none;
}

.search-empty__form .search-submit {
  position: static;
  flex: 0 0 auto;
}

.search-empty__news {
  max-width: 970px;
  margin: 0 auto;
}

.search-empty__subtitle {
  margin: 0 0 40px;
}

.search-empty__news-list {
  margin: 0;
}

.search-empty__news-list .posts-news-biglist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.search-empty__news-list .posts-news-biglist li:last-child {
  margin-bottom: 0;
}

.search-empty__pagination {
  margin-top: 40px;
}

.search-empty__pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.single-afisha-wrapper .single__date {
  flex-wrap: wrap;
}

.single-afisha-wrapper .single__date span.post__label {
  position: static !important;
  top: auto;
  left: auto;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
  background-color: #D75632;
  position: unset !important;
  height: 40px;
  padding: 9.5px 18.5px;
}

.single-afisha-wrapper .single__date .post__label[data-title="Партнерський матеріал"] {
  background: #E8DE6D;
}

.single-afisha-wrapper .single__date .post__label[data-title=Реклама] {
  background: #496E99;
  color: #fff;
}

.single-afisha-wrapper .single__date .post__label[data-title=Промо] {
  background: #B7CCBA;
}

.single-afisha-wrapper .single__date .post__label[data-title=Ексклюзив] {
  background: #D75632;
}

.single-afisha-wrapper .single__date .post__label[data-title=Оновлюється],
.single-afisha-wrapper .single__date .post__label[data-title=Оновлено] {
  background: #080808;
  color: #fff;
}

.single-afisha-wrapper .single__date .post__label .post__label-text {
  padding: 0;
  background: transparent;
  color: inherit;
}

.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption),
.wp-block-gallery.has-nested-images figure.wp-block-image:has(.wp-element-caption) {
  display: block;
  align-self: flex-start;
  flex-grow: 0;
  height: auto;
}

.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption)::before,
.wp-block-gallery.has-nested-images figure.wp-block-image:has(.wp-element-caption)::before {
  display: none !important;
  content: none !important;
}

.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption) > a,
.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption) > div:not(.components-drop-zone),
.wp-block-gallery.has-nested-images figure.wp-block-image:has(.wp-element-caption) > a,
.wp-block-gallery.has-nested-images figure.wp-block-image:has(.wp-element-caption) > div:not(.components-drop-zone) {
  display: block !important;
  flex-grow: 0 !important;
}

.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption) img,
.wp-block-gallery.has-nested-images figure.wp-block-image:has(.wp-element-caption) img {
  display: block !important;
  flex: none !important;
  height: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  -o-object-fit: unset !important;
  object-fit: unset !important;
}

.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption) .wp-element-caption,
.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption) .wp-caption-text,
.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption) figcaption,
.wp-block-gallery.has-nested-images figure.wp-block-image:has(.wp-element-caption) .wp-element-caption,
.wp-block-gallery.has-nested-images figure.wp-block-image:has(.wp-element-caption) .wp-caption-text,
.wp-block-gallery.has-nested-images figure.wp-block-image:has(.wp-element-caption) figcaption {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  flex: initial !important;
  color: #9F9F9F;
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 120%;
  text-align: left;
  text-shadow: none;
  background: none;
  padding: 0;
  overflow: visible;
  max-height: none;
  scrollbar-width: auto;
}

.wp-block-gallery.has-nested-images > .blocks-gallery-caption {
  color: #9F9F9F;
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 120%;
}

@media (min-width: 760px) {
  .anndim-expandable {
    margin: 70px 0;
  }

  .anndim-expandable__summary {
    min-height: 80px;
    padding: 20px 17px;
    font-size: 20px;
  }

  .anndim-expandable__icon {
    flex-basis: 18px;
    width: 18px;
    height: 18px;
    margin-left: 10px;
  }

  .anndim-expandable__content {
    padding: 18px 20px 18px 17px;
    font-size: 18px;
  }

  .post-content .anndim-expandable__content ul li {
    font-size: 18px;
  }

  .anndim-info-tooltip {
    margin: 0 6px;
  }

  .anndim-info-tooltip__bubble-inner {
    padding: 20px 30px;
    font-size: 16px;
  }

  section.affiche .events-wrapper .event__header {
    padding: 18px 30px;
  }
}

@media (max-width: 1450px) {
  .survey__banner .survey__copy {
    padding-left: 165px;
  }
}

@media (max-width: 760px) {
  .survey__banner {
    background-position: 0 100%;
    background-size: 125px;
  }

  .survey__banner .survey__container {
    flex-wrap: wrap;
    padding: 20px;
  }

  .survey__banner .survey__copy {
    padding-left: 0;
  }

  .survey__banner .survey__date {
    max-height: 58px;
    margin-right: 30px;
  }

  .survey__banner .survey__close {
    position: absolute;
    top: 20px;
    right: 20px;
  }

  .survey__banner .survey__btn {
    font-size: 14px;
  }

  .survey__banner .text {
    font-size: 14px;
  }

  .anndim-info-tooltip {
    anchor-name: --anndim-info-tooltip;
  }

  .anndim-info-tooltip:hover .anndim-info-tooltip__bubble,
  .anndim-info-tooltip:focus .anndim-info-tooltip__bubble,
  .anndim-info-tooltip:focus-within .anndim-info-tooltip__bubble {
    transform: translateY(0);
  }

  .anndim-info-tooltip__bubble {
    position: fixed;
    position-anchor: --anndim-info-tooltip;
    top: calc(anchor(bottom) + 12px);
    left: 17px;
    right: 17px;
    width: auto;
    transform: translateY(8px);
  }

  .page_afisha_header {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page_afisha_header .filter-afisha {
    max-width: none;
    justify-self: stretch;
    align-items: flex-start;
  }

  .page_afisha_header .filter-afisha__presets,
  .page_afisha_header .filter-afisha__categories {
    justify-content: flex-start;
  }

  .event__day_different {
    line-height: 1;
  }

  .event__title {
    font-size: 16px;
  }

  .filter-afisha__categories {
    gap: 10px;
    margin-top: 16px;
  }

  .filter-afisha__category {
    width: 100%;
  }

  .search-empty__form {
    margin-bottom: 40px;
    padding: 12px;
  }

  .search-empty__form .search-submit {
    margin-left: 0;
  }

  .search-empty__form .search-field {
    min-width: 0;
  }

  .search-empty__title,
  .search-empty__subtitle {
    font-size: 30px;
  }

  .search-empty__text {
    font-size: 16px;
  }

  .search-empty__news-list .posts-news-biglist {
    margin-bottom: 0;
  }

  .search-empty__news-list .posts-news-biglist li .image {
    height: 167px;
  }

  .our-friend .our-friend__media {
    --corner-size: 10px;
  }

  .post__label[data-title="Партнерський матеріал"] .post__label-text--default {
    display: none;
  }

  .post__label[data-title="Партнерський матеріал"] .post__label-text--mobile {
    display: inline;
  }
}