/* ZP Sport, modern layer (17.11.2026, Dmytro: «блоки залишимо такі, як є, але зробимо більш сучасними і в стилі брендбуку»).
   The same blocks and markup as the old sport.zp.ua, but: no diagonal triangle backgrounds, flat brand colours,
   rounded cards with soft shadows, pill chips, the brand checker pattern as the only decoration.
   Loaded last (after brand.css). Hover effects only for a mouse. */
:root { --m-r: 20px; --m-r-sm: 14px; --m-shadow: 0 1px 2px rgba(11, 11, 12, .06), 0 8px 24px rgba(11, 11, 12, .06); --m-line: #E6E9ED; }

/* 1. the old diagonal triangles are gone; sections are flat white / mist / blue */
.main-top-container:after, .artists-top-list:after, .home-blog-section:after, .athletes:after, .locations-top-title-box:after,
.page-long:before, .page-long:after, .type-articles .page-long:before, .inner-header.artists-header:before,
.type-pages .profile-header-bg:after, .type-trainers .profile-header-bg:after { background-image: none !important; }
.map-nav-col.list-col, .modal-content { background-image: none !important; }
.home-blog-section { background: var(--b-mist) !important; padding: 56px 0 40px !important; }
.locations-top-title-box { background: #fff !important; }

/* checker strip: the brand pattern used as a section edge */
.artists-top-list, .main-top-container { position: relative; }
.artists-top-list::before, .main-top-container > .m-checker {
  content: ''; position: absolute; left: 0; right: 0; height: 20px; z-index: 1; pointer-events: none;
  background: conic-gradient(#fff 90deg, transparent 90deg 180deg, #fff 180deg 270deg, transparent 270deg) 0 0 / 20px 20px;
}
.artists-top-list::before { top: 0; }

/* 2. hero: the photo under a blue brand veil, the search form a white floating card */
.main-top-container { background-color: var(--b-blue) !important; background-position: center 30% !important; }
.main-top-container:before { background: linear-gradient(180deg, rgba(0, 60, 130, .55) 0%, rgba(0, 110, 220, .55) 55%, rgba(0, 136, 255, .92) 100%) !important; }
.search-form h1 { color: #fff !important; text-transform: uppercase; font-size: clamp(34px, 5.2vw, 64px) !important; line-height: 1 !important; text-shadow: none !important; }
.search-form h1 span, .search-form h1 .x1, .search-form h1 b { color: var(--b-green) !important; }
.search-form .subtitle, .search-form h1 + p, .search-form .sub { color: #fff !important; opacity: .95; }

.search-form .search-tabs, .search-form .search-cols-main { max-width: 1100px; margin-left: auto !important; margin-right: auto !important; }
.search-form .search-tabs { display: flex; gap: 8px; background: transparent !important; padding: 0 !important; margin-bottom: 0 !important; border: 0 !important; }
.search-form .search-tabs .tab {
  float: none !important; width: auto !important; flex: 0 0 auto; padding: 12px 22px !important; margin: 0 !important; border: 0 !important;
  border-radius: 16px 16px 0 0 !important; background: rgba(255, 255, 255, .22) !important; height: auto !important; line-height: 1.2 !important;
}
.search-form .search-tabs .tab span { color: #fff !important; font-weight: 700 !important; font-size: 14px !important; text-transform: uppercase; letter-spacing: .02em; border: 0 !important; padding: 0 !important; }
.search-form .search-tabs .tab:after, .search-form .search-tabs .tab span:after, .search-form .search-tabs .tab:before { display: none !important; }
.search-form .search-tabs .tab.tab-active { background: #fff !important; }
.search-form .search-tabs .tab.tab-active span { color: var(--b-blue) !important; }
.search-form .search-cols-main {
  background: #fff !important; border-radius: 0 var(--m-r) var(--m-r) var(--m-r) !important; padding: 16px !important;
  box-shadow: 0 18px 40px rgba(0, 40, 90, .22) !important;
}
.search-form .search-cols-main .col-city, .search-form .search-cols-main .col-styles {
  background: var(--b-mist) !important; border-radius: 999px !important; border: 0 !important; overflow: hidden;
}
.search-form .search-cols-main .search-location > .col { padding-left: 6px !important; padding-right: 6px !important; }
.search-form .search-cols-main .search-location { display: flex; flex-wrap: wrap; align-items: stretch; margin: 0 -6px; }
.search-form .search-cols-main .search-location > .col-sm-3 { float: none; }
.search-form .search-cols-main .col-city, .search-form .search-cols-main .col-styles { background-clip: content-box !important; }
#btnSearchMain, #near-me { border-radius: 999px !important; height: 52px !important; font-weight: 800 !important; text-transform: uppercase; letter-spacing: .03em; }
#near-me { background: #fff !important; border: 2px solid var(--b-blue) !important; color: var(--b-blue) !important; }

/* 3. cards: news, places, athletes — white, rounded, soft shadow, image on top */
.blog-item .blog-item-wrap, .events-container .event, .artist-item .artist-item-wrap {
  background: #fff !important; border-radius: var(--m-r) !important; overflow: hidden; box-shadow: var(--m-shadow) !important; border: 0 !important;
}
.blog-item .thmb { border-radius: 0 !important; background-color: #DCE9F7 !important; }
.blog-item .caption { padding: 18px 20px 22px !important; background: #fff !important; }
.blog-item .caption .h3, .blog-item .caption h3 { font-weight: 800 !important; line-height: 1.25 !important; }
.blog-item .desc { color: #4A4F57 !important; }
.blog-item .article-meta .date, .blog-item .date.article-param {
  display: inline-block; background: #EAF6E0; color: var(--b-green-deep) !important; border-radius: 999px; padding: 4px 10px !important;
  font-weight: 700; font-size: 12px !important; line-height: 1.2 !important;
}
.blog-item .date span + span { margin-left: 4px; }
.blog-item .views-count { color: #8A9099 !important; }
.blog-item .btn-show-more { display: none !important; }
@media (hover: hover) and (pointer: fine) {
  .blog-item .blog-item-wrap, .events-container .event, .artist-item .artist-item-wrap { transition: transform .2s ease, box-shadow .2s ease; }
  .blog-item:hover .blog-item-wrap, .events-container .event:hover, .artist-item .artist-item-wrap:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(11, 11, 12, .06), 0 16px 36px rgba(11, 11, 12, .1) !important; }
}

/* place / organisation cards: category as a chip over the photo */
.events-container .thumbnail { border-radius: 0 !important; margin: 0 !important; position: relative; border: 0 !important; padding: 0 !important; background: #DCE9F7 !important; }
.events-container .thumbnail .style {
  position: absolute !important; left: 12px; bottom: 12px; top: auto !important; right: auto !important; background: #fff !important; color: var(--b-ink) !important;
  border-radius: 999px; padding: 5px 12px !important; font-size: 12px !important; font-weight: 700 !important; line-height: 1.2 !important;
  box-shadow: 0 2px 8px rgba(11, 11, 12, .12); max-width: calc(100% - 24px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; height: auto !important;
}
.events-container .thumbnail .style:empty { display: none; }
.events-container .caption { padding: 16px 18px 18px !important; }
.events-container .caption .h3 { font-weight: 800 !important; font-size: 18px !important; line-height: 1.25 !important; margin: 0 0 8px !important; }
.events-container .caption .info p { color: #4A4F57 !important; }

/* athlete cards: no empty «Оцінка / Відгуки 0», the sport as green chips */
.artist-item .user-rate { display: none !important; }
.artist-item .thmb, .artist-item .thmb a { border-radius: 0 !important; }
.artist-item .caption { padding: 14px 16px 18px !important; background: #fff !important; }
.artist-item .caption h3, .artist-item .caption h3 a { color: var(--b-ink) !important; font-weight: 800 !important; font-size: 16px !important; line-height: 1.25 !important; }
.artist-item .artist-tags span {
  display: inline-block; background: #EAF6E0; color: var(--b-green-deep) !important; border-radius: 999px; padding: 3px 10px; margin: 6px 4px 0 0;
  font-size: 12px; font-weight: 700; line-height: 1.3;
}
.artist-item .artist-tags span:after { content: none !important; }

/* 4. «Дошка пошани»: flat blue band, white cards, round white arrows */
.artists-top-list { background: var(--b-blue) !important; padding-top: 72px !important; padding-bottom: 56px !important; }
.artists-top-list .btn-show-more, .box-title-top .btn-show-more { border-radius: 999px !important; }
.artists-top-list .btn-show-more span { color: #fff !important; }

/* section headings: big bold uppercase with a short green bar under them */
.box-title-top .main-h2, .locations-top-title-box .main-h2, .cc-seo .main-h2 { position: relative; padding-bottom: 18px !important; }
.box-title-top .main-h2::after, .locations-top-title-box .main-h2::after, .cc-seo .main-h2::after {
  content: ''; position: absolute; left: 50%; bottom: 0; width: 56px; height: 6px; margin-left: -28px; border-radius: 3px; background: var(--b-green);
}
.artists-top-list .main-h2::after { background: var(--b-orange); }
.box-title-top .btn-show-more, .locations-top-title-box .btn-show-more { color: var(--b-blue) !important; font-weight: 700 !important; }

/* 5. «Рекомендовані місця»: rounded photo tiles, name as a white pill */
.top-locations-tags .btn-tag { border-radius: var(--m-r) !important; overflow: hidden; background-color: #DCE9F7 !important; }
.top-locations-tags .btn-tag:after { display: none !important; }
.top-locations-tags .btn-tag span {
  left: 16px !important; right: auto !important; bottom: 16px !important; width: auto !important; padding: 10px 18px !important; border-radius: 999px;
  background: #fff !important; color: var(--b-ink) !important; font-weight: 800 !important; font-size: 18px !important; text-transform: uppercase; letter-spacing: .01em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}
.top-locations-tags .btn-tag.tag-1 span, .top-locations-tags .btn-tag-big span { background: var(--b-green) !important; color: #fff !important; font-size: 22px !important; }
@media (hover: hover) and (pointer: fine) {
  .top-locations-tags .btn-tag { transition: transform .2s ease; }
  .top-locations-tags .btn-tag:hover { transform: scale(1.015); }
}

/* 6. SEO text and FAQ: readable column, FAQ as rounded cards */
.cc-seo { padding: 64px 0 72px !important; }
.cc-seo-text { max-width: 820px; margin: 0 auto 48px; font-size: 17px; line-height: 1.6; color: #2B2F35; }
.cc-faq { max-width: 820px; margin: 0 auto; }
.cc-faq details { background: var(--b-mist) !important; border: 0 !important; border-radius: var(--m-r-sm) !important; margin: 0 0 10px !important; padding: 0 !important; }
.cc-faq summary { padding: 18px 56px 18px 22px !important; font-weight: 700 !important; font-size: 16px !important; position: relative; list-style: none; cursor: pointer; }
.cc-faq summary::-webkit-details-marker { display: none; }
.cc-faq summary::after {
  content: '+' !important; position: absolute; right: 16px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--b-blue); color: #fff; font-size: 20px; line-height: 27px; text-align: center; font-weight: 600;
}
.cc-faq details[open] summary::after { content: '–' !important; background: var(--b-green); }
.cc-faq details > *:not(summary) { padding: 0 22px 18px !important; margin: 0 !important; color: #3A3F46; }

/* 7. lists: mist page, white rounded filter panel, pills */
.map-nav-col.list-col { background-color: var(--b-mist) !important; }
.search-tags .search-tags-wrap > div { border-radius: 999px !important; }
.btn-show-more, .cc-more .btn-show-more, .pagination > li > a, .pagination > li > span { border-radius: 999px !important; }
.pagination > .active > a, .pagination > .active > span { background: var(--b-blue) !important; border-color: var(--b-blue) !important; }

/* inner pages: rounded photos and info blocks */
.location-page .image, .article .image, .profile-header .slick-slide img, .location-header .image { border-radius: var(--m-r) !important; overflow: hidden; }
.form-control { border-radius: var(--m-r-sm) !important; }

@media (max-width: 767px) {
  .home-blog-section { padding: 36px 0 20px !important; }
  .search-form .search-cols-main { border-radius: 0 16px 16px 16px !important; padding: 12px !important; }
  .search-form .search-tabs .tab { padding: 10px 16px !important; }
  .search-form .search-cols-main .search-location > .col { width: 100%; margin-bottom: 8px; }
  .top-locations-tags .btn-tag span { font-size: 15px !important; padding: 8px 14px !important; left: 10px !important; bottom: 10px !important; }
  .top-locations-tags .btn-tag.tag-1 span { font-size: 17px !important; }
  .artists-top-list { padding-top: 56px !important; }
  .cc-seo { padding: 44px 0 52px !important; }
  .cc-faq summary { font-size: 15px !important; }
}

/* news cards (home and /news): photo on top, text under it, equal heights; 4 in a row on the home page */
.home-blog-section .blog-item-wrap, .blog-plate .blog-item-wrap { padding-bottom: 0 !important; height: 100% !important; display: flex; flex-direction: column; }
.home-blog-section .blog-item-wrap .thmb, .blog-plate .blog-item-wrap .thmb { position: relative !important; order: -1; width: 100% !important; height: auto !important; aspect-ratio: 16 / 10; bottom: auto; flex: 0 0 auto; background-size: cover !important; background-position: center !important; }
.home-blog-section .blog-item, .blog-plate .blog-item { display: block; height: 100%; }
.home-blog-section .blog-item-wrap .caption, .blog-plate .blog-item-wrap .caption { flex: 1 1 auto; }
.home-blog-section .blog-list { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-left: 0 !important; margin-right: 0 !important; }
.home-blog-section .blog-list::before, .home-blog-section .blog-list::after { content: none !important; }
.home-blog-section .blog-col { width: auto !important; max-width: none !important; flex: none !important; float: none !important; padding: 0 !important; margin: 0 !important; }
.home-blog-section .blog-col .desc { display: none; }
@media (max-width: 1100px) { .home-blog-section .blog-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 560px) { .home-blog-section .blog-list { grid-template-columns: 1fr; } }

/* slider arrows: white circles with a blue arrow (were dark purple discs) */
.slick-prev:after, .slick-next:after { background-color: #fff !important; box-shadow: 0 6px 18px rgba(0, 40, 90, .25); width: 52px !important; height: 52px !important; top: 9px !important; }
.slick-prev:after { left: -26px !important; } .slick-next:after { right: -26px !important; }
.slick-prev:before, .slick-next:before { filter: invert(37%) sepia(97%) saturate(2500%) hue-rotate(196deg) brightness(101%); background-size: auto 20px !important; }
.artists-top-list .slick-prev, .artists-top-list .slick-next { width: auto !important; height: 70px !important; background: transparent !important; box-shadow: none !important; border-radius: 0 !important; }
.slick-dots li button::before { opacity: .45 !important; } .slick-dots li.slick-active button::before { opacity: 1 !important; }

.cc-seo-text p, .cc-seo-text li { font-size: 17px !important; line-height: 1.6 !important; color: #2B2F35 !important; }
.home-blog-section .blog-item-wrap, .blog-plate .blog-item-wrap { height: auto !important; min-height: 100%; max-height: none !important; }
.home-blog-section .blog-item-wrap .caption, .blog-plate .blog-item-wrap .caption { max-height: none !important; overflow: visible !important; height: auto !important; }
.home-blog-section .blog-item-wrap .caption .h3, .blog-plate .blog-item-wrap .caption .h3 { max-height: none !important; overflow: visible !important; height: auto !important; font-size: 17px !important; }
.blog-item .thmb, .top-locations-tags .btn-tag, .events-container .thmb-link { background-size: cover !important; background-position: center !important; }
.slick-prev:before, .slick-next:before { filter: brightness(0) invert(37%) sepia(97%) saturate(2500%) hue-rotate(196deg) brightness(101%) !important; }

/* 8. inner pages: light page, content in rounded white cards, black bold headings */
.page-long, .page-long.artists, .page-long.blog-plate { background-color: var(--b-mist) !important; }
.single-view.body-view, .people-card, .location-page .info-col, .cc-contacts-page .container-fluid > div:first-child { border-radius: var(--m-r) !important; box-shadow: var(--m-shadow); overflow: hidden; }
.single-view.body-view { background: #fff !important; padding: 8px 8px 24px !important; }
.single-body h1, .people-card h1, .profile-name h1, .blog-plate h1, .page-long h1, .page-long .main-h2, .single-header + * h2,
.next-to-title, .see-also-title, .page-long h2 { color: var(--b-ink) !important; font-weight: 800 !important; letter-spacing: -.01em; }
.single-body h1 { font-size: clamp(26px, 3.2vw, 40px) !important; line-height: 1.12 !important; }
.single-body .article-meta .date { display: inline-block; background: #EAF6E0; border-radius: 999px; padding: 4px 12px !important; font-weight: 700; }
.single-body .image-main img, .single-body img { border-radius: var(--m-r-sm); }
.single-body, .single-body p { font-size: 17px; line-height: 1.6; color: #2B2F35; }
.btn-share, .event-view-buttons .btn { border-radius: 999px !important; }

/* athlete profile */
.people-card { background: #fff !important; padding: 24px !important; margin-bottom: 32px; }
.people-card .profile-header { background: transparent !important; }
.profile-avatar { border-radius: var(--m-r) !important; }
.people-card .data-container h4 { color: #8A9099 !important; font-size: 12px !important; text-transform: uppercase; letter-spacing: .04em; font-weight: 700 !important; border-color: var(--m-line) !important; }
.awwards.awwards-view { background: #EEF6FF !important; border-radius: var(--m-r-sm) !important; margin: 20px 0 !important; padding: 18px !important; }
.awwards.awwards-view h2, .awwards.awwards-view h3, .awwards-view .title { color: var(--b-ink) !important; }
.awwards-view .row > div > *, .awwards-view .awward { border-radius: var(--m-r-sm) !important; }

/* place / organisation page: section headings, the «Поруч з…» band in brand blue */
.next-to-title { background: var(--b-blue) !important; color: #fff !important; border-radius: var(--m-r-sm); margin: 16px 20px !important; padding: 14px 20px !important; font-size: 18px !important; }
.location-page h3, .location-page .h3, .about-title, .reviews-title { color: var(--b-ink) !important; font-weight: 800 !important; }
.map-button, .btn-map, .show-on-map, a.btn.map { border-radius: 999px !important; }

/* lists: «НОВИНИ» etc. black; filters column as a white rounded panel */
.blog-plate > .container-fluid > h1, .blog-plate .main-h2, .page-long .box-title-top h1 { color: var(--b-ink) !important; text-transform: uppercase; }
.list-col .cc-filter, .map-nav-col .cats, .cc-places aside, .cc-aside { border-radius: var(--m-r) !important; }

/* pagination: round numbers, the current one blue */
.pagination { display: flex !important; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; }
.pagination > li > a, .pagination > li > span { min-width: 40px; height: 40px; line-height: 38px !important; padding: 0 12px !important; text-align: center; border: 1px solid var(--m-line) !important; background: #fff !important; color: var(--b-ink) !important; font-weight: 700; margin: 0 !important; }
.pagination > .active > a, .pagination > .active > span { background: var(--b-blue) !important; color: #fff !important; border-color: var(--b-blue) !important; }
.box-title-top h3, .small-title-container, .page-long .box-title-top h1 { color: var(--b-ink) !important; font-weight: 800 !important; text-transform: uppercase; font-style: normal !important; letter-spacing: -.01em; }
.events-container .thumbnail .style { width: auto !important; display: inline-block !important; }
.events-container .caption .h3 { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; height: auto !important; max-height: none !important; }

/* 9. phones (26.11.2026, Dmytro: «плитки рівненько, гарні відступи, 2 в ряд, кнопки й теги заокруглені») */
/* «Зберегти» of a place page sat fixed under the tab bar and showed through it: keep it in the page */
.follow-container, .follow-container .event-button { position: static !important; display: contents !important; }
.cc-tabbar { background: #fff !important; }

/* a card without a photo: the brand sign on blue instead of an empty pale block */
.events-container .thumbnail, .blog-item .thmb:not([style*="url("]), .artist-item div.thmb {
  background: var(--b-blue) url(/images/brand/sign-white.svg) center 42% / auto 34% no-repeat !important;
}
.events-container .thmb-link, .artist-item a.thmb { background-color: transparent !important; }

/* equal tiles: every card fills its grid cell, address at the bottom */
.cc-nomap #event-list-container > li, .places-list-nearby > .location-item-wrap { display: flex; }
.cc-nomap #event-list-container > li > .location-item, .places-list-nearby .location-item { flex: 1 1 auto; display: flex; width: 100% !important; margin: 0 !important; }
.events-container .event { display: flex; flex-direction: column; width: 100%; height: 100%; }
.events-container .caption { flex: 1 1 auto; display: flex; flex-direction: column; }
.events-container .caption .info { margin-top: auto; }
.events-container .thumbnail, .events-container .thmb-link { aspect-ratio: 16 / 10; height: auto !important; }
.events-container .thmb-link { display: block; width: 100%; height: 100% !important; background-size: cover !important; background-position: center !important; }
.places-list-nearby { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; padding: 0 20px 24px !important; }
.places-list-nearby > .location-item-wrap { width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; }

/* tags and buttons: always rounded */
.view-tags { display: flex !important; flex-wrap: wrap; gap: 8px; margin: 10px 0 !important; padding: 0 !important; }
.view-tags .view-tag, .view-tag {
  display: inline-block; margin: 0 !important; padding: 6px 14px !important; border-radius: 999px !important; background: #EAF6E0 !important;
  color: var(--b-green-deep) !important; font-weight: 700 !important; font-size: 14px !important; line-height: 1.3 !important; border: 0 !important;
}
.view-tag:before, .view-tag:after { content: none !important; }
.btn, button.btn, .cc-filter a, .search-tags .search-tags-wrap > div, .ccm-bar button, .cc-map-toggle, .tabs-tags a, .tags a, .event-view-buttons .btn,
.respond-header .btn, .comment-this { border-radius: 999px !important; }
.cc-filter a { display: inline-block; }

@media (max-width: 767px) {
  .cc-nomap #event-list-container, .places-list-nearby { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  .places-list-nearby { padding: 0 16px 24px !important; }
  .cc-nomap #event-list-container { margin: 0 !important; }
  .cc-nomap #event-list-container > li { padding: 0 !important; }
  .events-container .event { border-radius: 16px !important; }
  .events-container .caption { padding: 10px 12px 12px !important; }
  .events-container .caption .h3 { font-size: 15px !important; line-height: 1.22 !important; margin-bottom: 6px !important; -webkit-line-clamp: 3; }
  .events-container .caption .info p { font-size: 12px !important; line-height: 1.3 !important; margin: 0 !important; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .events-container .caption .info p.addr { padding-left: 18px !important; background-size: 12px auto !important; background-position: 0 1px !important; }
  .events-container .thumbnail .style { left: 8px; bottom: 8px; font-size: 11px !important; padding: 4px 9px !important; max-width: calc(100% - 16px); }
  .next-to-title { margin: 16px !important; font-size: 17px !important; }
  /* place page: no indents around the title block */
  .afisha-footer .style { padding: 16px !important; }
  .afisha-footer h1 { font-size: 26px !important; line-height: 1.15 !important; margin: 4px 0 8px !important; }
  .place-cat { margin: 0 !important; color: #5B616B !important; font-size: 15px !important; }
  /* home news and athletes: 2 in a row too */
  .home-blog-section .blog-list { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  .home-blog-section .blog-item .caption { padding: 10px 12px 14px !important; }
  .home-blog-section .blog-item .caption .h3 { font-size: 14px !important; }
}

/* place page buttons: one row of pills (Зберегти, Маршрут, Поділитись) */
.event-view-buttons { display: flex !important; flex-wrap: wrap; gap: 8px; align-items: center; }
.event-view-buttons > span:empty, .event-view-buttons > .desctop-only:not(:has(*:not(.desctop-only))) { display: none; }
.event-view-buttons .btn, .follow-container .btn.like-button {
  display: inline-flex !important; align-items: center; gap: 6px; height: 40px; padding: 0 16px 0 14px !important; margin: 0 !important; width: auto !important;
  border: 1.5px solid var(--m-line) !important; background: #fff !important; color: var(--b-ink) !important; font-weight: 700 !important; font-size: 14px !important; line-height: 1 !important;
}
.event-view-buttons .btn:before, .follow-container .like-button:before { position: static !important; display: inline-block; width: 18px !important; height: 18px !important; margin: 0 !important; background-size: contain !important; flex: 0 0 18px; }
.event-view-buttons .btn span { padding: 0 !important; }
@media (max-width: 767px) { .event-view-status { padding: 8px 16px 16px !important; } }
/* athletes: an even grid, 2 in a row on phones */
.artist-row { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin: 0 !important; }
.artist-row::before, .artist-row::after { content: none !important; }
.artist-row > .artist-item { width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; display: flex; }
.artist-row .artist-item-wrap { width: 100%; display: flex; flex-direction: column; }
.artist-row .artist-item .caption { flex: 1 1 auto; }
.artist-item div.thmb { aspect-ratio: 4 / 5; height: auto !important; }
.artist-item a.thmb { display: block; width: 100%; height: 100% !important; background-size: cover !important; background-position: center 25% !important; }
.search-results { color: #5B616B !important; padding: 8px 0 16px !important; }
.search-results strong { color: var(--b-ink) !important; }
@media (max-width: 767px) {
  .artist-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .artist-item .caption { padding: 10px 12px 12px !important; }
  .artist-item .caption h3, .artist-item .caption h3 a { font-size: 14px !important; }
  .artist-item .artist-tags span { font-size: 11px; padding: 2px 8px; }
}
.artist-row .artist-item-wrap { margin: 0 !important; height: 100% !important; }
.artist-item .caption h3, .artist-item .caption h3 a { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; height: auto !important; max-height: none !important; }
/* filter chips: grey outline, the chosen one filled blue */
.cc-filter a { border: 1.5px solid var(--m-line) !important; background: #fff !important; color: var(--b-ink) !important; font-weight: 600; }
.cc-filter a.active { background: var(--b-blue) !important; border-color: var(--b-blue) !important; color: #fff !important; }
.cc-filter h2, .cc-filter h3, .cc-filter .cc-filter-title { margin-top: 18px !important; }
/* athlete photo fills the whole 4:5 frame (in the «Дошка пошани» slider the link kept its old fixed height) */
.artist-item div.thmb { position: relative !important; overflow: hidden; }
.artist-item div.thmb > a.thmb { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; max-height: none !important; }
/* filter chips (desktop sidebar too): padding inside, gaps between, wrap in rows */
/* (the sidebar is shown on desktop only; on phones it is the bottom panel below — an unconditional display:block kept it open there, 01.12) */
.cc-filter a { display: inline-block !important; padding: 7px 14px !important; margin: 0 6px 8px 0 !important; line-height: 1.25 !important; font-size: 14px !important; white-space: nowrap; width: auto !important; }
.cc-filter h4 { margin: 22px 0 12px !important; font-weight: 800 !important; }
.cc-filter h4:first-of-type { margin-top: 4px !important; }
/* no frame around a card on hover (old site drew a 6px blue border; Dmytro 26.11) */
.locations-sub-list li:hover .events-container, .events-container:hover, .events-container { border: 0 !important; outline: 0 !important; }

/* filters panel: desktop sidebar keeps plain chips; «Фільтри»/«Скинути»/«Показати N» exist only in the phone panel */
.cc-filter-head b, .cc-filter-foot { display: none; }
@media (min-width: 801px) { .cc-nomap .cc-filter { display: block; } }
@media (max-width: 800px) {
  .cc-filter { display: none !important; flex-direction: column; padding: 0 !important; max-height: 86vh; overflow: hidden !important; border-radius: 20px 20px 0 0 !important; z-index: 1002 !important; }
  .cc-filter.open { display: flex !important; }
  .cc-filter-bg.open { z-index: 1001 !important; }
  .cc-filter-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 10px 16px; border-bottom: 1px solid var(--m-line); }
  .cc-filter-head b { display: block; font-size: 17px; font-weight: 800; color: var(--b-ink); }
  .cc-filter .cc-filter-close { display: flex !important; position: static !important; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #F1F3F6 !important; color: var(--b-ink) !important; font-size: 22px !important; }
  .cc-filter-body { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 2px 16px 10px; }
  .cc-filter h4, .cc-filter h4:first-of-type { margin: 12px 0 8px !important; font-size: 12px !important; letter-spacing: .04em; color: #5B616B !important; }
  .cc-filter a[data-f] { padding: 6px 12px !important; margin: 0 6px 6px 0 !important; font-size: 13px !important; }
  .cc-filter-foot { display: flex; gap: 10px; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--m-line); background: #fff; }
  .cc-filter .cc-filter-foot a { display: block !important; margin: 0 !important; padding: 12px 16px !important; border-radius: 999px; text-align: center; font-size: 15px !important; font-weight: 700; white-space: nowrap; }
  .cc-filter .cc-filter-foot a.cc-filter-reset { flex: 0 0 auto; }
  .cc-filter .cc-filter-foot a.cc-filter-apply { flex: 1 1 auto; background: var(--b-blue) !important; border-color: var(--b-blue) !important; color: #fff !important; }
  .cc-filter .cc-filter-foot a.cc-filter-apply.none { background: #9AA3AE !important; border-color: #9AA3AE !important; }
}

/* phones: denser lists — smaller titles, smaller gaps, news 2 in a row (Dmytro 01.12: «дрібніше, відступи менше») */
@media (max-width: 767px) {
  .filter-header .section-header h1, .locations-header .section-header h1 { font-size: 26px !important; line-height: 1.15 !important; margin: 0 !important; }
  .filter-header.locations-header, .contacts-header { padding: 18px 16px 12px !important; min-height: 0 !important; height: auto !important; }
  .filter-header .section-header { padding: 0 !important; margin: 0 !important; min-height: 0 !important; }
  .blog-plate .blog-section { padding: 0 0 24px !important; }
  .blog-plate .container-fluid { padding: 0 12px !important; }
  .blog-plate .blog-list { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 !important; }
  .blog-plate .blog-list::before, .blog-plate .blog-list::after { content: none !important; }
  .blog-plate .blog-list > * { width: auto !important; float: none !important; padding: 0 !important; margin: 0 !important; }
  .blog-plate .blog-item-wrap { border-radius: 14px !important; }
  .blog-plate .blog-item .caption { padding: 8px 10px 12px !important; }
  .blog-plate .blog-item-wrap .caption .h3 { font-size: 13.5px !important; line-height: 1.25 !important; margin: 4px 0 0 !important; }
  .blog-plate .blog-item .article-meta .date, .blog-plate .blog-item .date.article-param { font-size: 11px !important; padding: 2px 8px !important; }
  .blog-plate .blog-item .desc { display: none !important; }
  /* «Читати більше» under a news item */
  .read-more { padding: 12px 0 24px !important; margin: 0 !important; }
  .box-title-top { padding: 0 !important; margin: 0 0 10px !important; }
  .box-title-top h3, .read-more h3 { font-size: 20px !important; line-height: 1.2 !important; margin: 0 !important; padding: 0 !important; text-align: left !important; }
}

/* home on phones (01.12): news fit 375 px — side gutter, smaller titles; «Дошка пошани» 2 cards per screen */
@media (max-width: 767px) {
  .home-blog-section .container-fluid { padding: 0 12px !important; }
  .home-blog-section .container-fluid > .row { margin: 0 !important; }
  .home-blog-section .blog-list { gap: 10px !important; }
  .home-blog-section .blog-list > .blog-col { width: auto !important; min-width: 0; float: none !important; padding: 0 !important; margin: 0 !important; }
  .home-blog-section .blog-item .caption { padding: 8px 10px 12px !important; }
  .home-blog-section .blog-item .caption h3 { font-size: 13.5px !important; line-height: 1.25 !important; margin: 4px 0 0 !important; overflow-wrap: anywhere; }
  .home-blog-section .blog-item .desc { display: none !important; }
  .home-blog-section .blog-item .article-meta .date { font-size: 11px !important; padding: 2px 8px !important; }
  #cc-artists-slider .slick-slide > div { padding: 0 5px; }
  #cc-artists-slider .artist-item .caption { padding: 8px 10px 10px !important; }
  #cc-artists-slider .artist-item .caption h3, #cc-artists-slider .artist-item .caption h3 a { font-size: 13px !important; line-height: 1.25 !important; }
  .artists-top-list .container-narrow { padding: 0 11px !important; }
  #cc-artists-slider .artist-item, #cc-artists-slider .artist-item-wrap, #cc-artists-slider .artist-item .caption { height: auto !important; max-height: none !important; }
  #cc-artists-slider .artist-item .caption { overflow: visible !important; }
  #cc-artists-slider .artist-item-wrap { overflow: hidden !important; border-radius: 16px !important; }
  .artists-top-list .box-wrap, .artists-top-list .tops, .artists-top-list .artists { padding-bottom: 0 !important; margin-bottom: 0 !important; min-height: 0 !important; height: auto !important; }
  .artists-top-list { padding: 24px 0 20px !important; }
  .artists-top-list .tops { padding-top: 12px !important; padding-bottom: 0 !important; }
  .artists-top-list .main-h2 { font-size: 26px !important; margin-bottom: 4px !important; }
  #cc-artists-slider .slick-dots { position: static !important; margin: 12px 0 0 !important; }
  #cc-artists-slider .artist-tags span { white-space: normal !important; border-radius: 10px !important; line-height: 1.25 !important; font-size: 11px !important; padding: 3px 8px !important; }
}
/* «Дошка пошани»: square photos (Dmytro 01.12) */
#cc-artists-slider .artist-item div.thmb { aspect-ratio: 1 / 1 !important; height: auto !important; }
/* same gutters as the news above: 12 px at the sides, 10 px between cards */
@media (max-width: 767px) {
  .artists-top-list .container-narrow { padding: 0 7px !important; }
  #cc-artists-slider .slick-slide > div { padding: 0 5px !important; }
  #cc-artists-slider .artist-item { padding: 0 !important; margin: 0 !important; }
}
