/* Lokalpride frontend refresh */
:root {
  --lp-bg: #070809;
  --lp-surface: #111418;
  --lp-surface-2: #181d22;
  --lp-border: #29313a;
  --lp-text: #f5f7fa;
  --lp-muted: #a7b0bc;
  --lp-dim: #74808f;
  --lp-accent: #ff365f;
  --lp-accent-2: #13c8c2;
  --lp-warn: #f5c542;
  --lp-radius: 8px;
  --lp-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
}

html {
  background: var(--lp-bg);
}

body.body {
  min-height: 100%;
  background-color: var(--lp-bg);
  color: var(--lp-text);
  font-family: Inter, "Source Sans Pro", Arial, sans-serif;
}

a {
  color: var(--lp-text);
}

a:hover {
  color: var(--lp-accent-2);
}

.lp-shell {
  min-height: calc(100vh - 86px);
  padding-top: 86px;
}

.container {
  max-width: 1220px;
}

.header {
  height: 72px;
  background: rgba(7, 8, 9, 0.94);
  border-bottom: 1px solid var(--lp-border);
  backdrop-filter: blur(14px);
}

.header__content {
  height: 72px;
}

.header__logo,
.footer__logo {
  width: auto;
  margin: 0;
  letter-spacing: 0;
}

.header__logo h1,
.footer__logo h2 {
  margin: 0;
  color: var(--lp-text);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.header__nav {
  top: 72px;
  background: var(--lp-surface);
  border-top: 1px solid var(--lp-border);
}

.header__nav-link {
  color: var(--lp-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.header__nav-link:hover,
.header__nav-link--active,
.header__nav-item.show .header__nav-link {
  color: var(--lp-text);
}

.header__nav-link:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--lp-accent-2);
  opacity: 0.65;
  vertical-align: 1px;
}

.header__auth {
  margin-left: auto;
}

.header__search {
  background: var(--lp-bg);
}

.header__search-input {
  height: 42px;
  border: 1px solid var(--lp-border);
  border-radius: 999px;
  background: var(--lp-surface);
  color: var(--lp-text);
  font-size: 14px;
  padding-left: 18px;
  padding-right: 48px;
}

.header__search-input:focus {
  border-color: var(--lp-accent-2);
}

.header__search-button,
.header__search-close,
.header__search-btn {
  color: var(--lp-text);
}

.header__search-button:hover,
.header__search-close:hover,
.header__search-btn:hover {
  color: var(--lp-accent-2);
}

.header__btn span {
  background-color: var(--lp-text);
}

.header__btn:hover span,
.header__btn--active span {
  background-color: var(--lp-accent-2);
}

.lp-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--lp-accent-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.content__title,
.section__title {
  margin: 0;
  color: var(--lp-text);
  font-size: 30px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0;
}

.lp-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--lp-border);
  border-radius: 999px;
  background: var(--lp-surface);
  color: var(--lp-muted);
  font-size: 13px;
  font-weight: 700;
}

.lp-chip:hover {
  border-color: var(--lp-accent-2);
  color: var(--lp-text);
}

.lp-sort {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.lp-sort__label {
  margin-right: 3px;
  color: var(--lp-muted);
  font-size: 13px;
  font-weight: 700;
}

.lp-chip--active {
  border-color: var(--lp-accent-2);
  background: var(--lp-accent-2);
  color: #0b0d10;
}

.lp-chip--active:hover {
  color: #0b0d10;
}

.lp-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 54, 95, 0.34);
  border-radius: var(--lp-radius);
  background: linear-gradient(100deg, rgba(255, 54, 95, 0.16), rgba(255, 54, 95, 0.03));
  color: var(--lp-text);
  font-size: 14px;
  line-height: 1.4;
}

.lp-notice__icon {
  position: relative;
  flex: 0 0 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--lp-accent);
}

.lp-notice__icon:before {
  content: "";
  position: absolute;
  top: 12px;
  left: 15px;
  width: 12px;
  height: 17px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
}

.lp-notice__label {
  display: block;
  margin-bottom: 2px;
  color: var(--lp-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.lp-notice__link {
  display: inline-block;
  margin-right: 8px;
  color: var(--lp-text);
  font-size: 16px;
  font-weight: 800;
}

.lp-notice__link:hover {
  color: var(--lp-accent-2);
}

.lp-notice__copy {
  color: var(--lp-muted);
}

.lp-ad-slot {
  margin: 18px 0;
  text-align: center;
}

.content,
.section {
  padding: 0;
}

.lp-catalog {
  padding: 26px 0 44px;
}

.row--grid {
  margin-left: -10px;
  margin-right: -10px;
}

.row--grid > [class*="col-"] {
  padding-left: 10px;
  padding-right: 10px;
}

.lp-video-col {
  margin-bottom: 24px;
}

.lp-latest-head {
  margin: 36px 0 18px;
}

.lp-latest-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-left: -10px;
  margin-right: -10px;
}

.lp-latest-col {
  min-width: 0;
  padding-left: 10px;
  padding-right: 10px;
}

@media (min-width: 768px) and (max-width: 991px) {
  .lp-latest-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--lp-radius);
  background: transparent;
}

.card:hover {
  border-color: var(--lp-border);
}

.card__cover {
  overflow: hidden;
  border-radius: var(--lp-radius);
  background: var(--lp-surface-2);
  aspect-ratio: 2 / 3;
}

.card__cover img {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.card__cover:hover img {
  opacity: 0.82;
  transform: scale(1.045);
}

.card__play {
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(7, 8, 9, 0.76);
  color: var(--lp-text);
  transform: scale(0.96);
}

.card__play i {
  display: none;
}

.card__play:before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid currentColor;
}

.card__play:hover {
  border-color: var(--lp-accent);
  background: var(--lp-accent);
  color: #fff;
}

.card__content {
  padding: 11px 2px 0;
}

.card__title {
  margin: 0;
  color: var(--lp-text);
  font-size: 15px !important;
  line-height: 1.32;
  font-weight: 700;
}

.card__title a {
  display: -webkit-box;
  overflow: hidden;
  color: var(--lp-text);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card__title a:hover {
  color: var(--lp-accent-2);
}

.card__category {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  margin-top: 2px;
  padding: 0 8px;
  border: 1px solid var(--lp-border);
  border-radius: 999px;
  background: var(--lp-surface);
  color: var(--lp-muted);
  font-size: 12px;
  font-weight: 700;
}

.card__category span,
.card__category a {
  color: var(--lp-muted) !important;
  font-size: 12px !important;
}

.lp-pager {
  padding: 8px 0 28px;
}

.catalog__paginator-wrap {
  justify-content: center;
}

.section__nav-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.section__nav-wrap > a,
.section__nav-wrap > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  margin: 0 !important;
  border: 1px solid var(--lp-border);
  border-radius: 999px;
  background: var(--lp-surface);
  color: var(--lp-muted) !important;
  font-size: 13px;
  font-weight: 800;
}

.section__nav-wrap > a:hover {
  border-color: var(--lp-accent-2);
  color: var(--lp-text) !important;
}

.section__nav-wrap > a.disabled {
  border-color: var(--lp-accent);
  background: var(--lp-accent);
  color: #fff !important;
}

.section__nav-wrap > a.is-hidden {
  display: none;
}

.section__nav-wrap > a.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.lp-details {
  padding: 26px 0 40px;
}

.lp-details__title {
  margin-bottom: 18px;
  color: var(--lp-text);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
}

.lp-player {
  overflow: hidden;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  background: #000;
  box-shadow: var(--lp-shadow);
  aspect-ratio: 16 / 9;
}

.lp-player iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.lp-player-lazy {
  position: relative;
}

.lp-player-load {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: radial-gradient(circle, rgba(31, 214, 173, 0.13), #07090c 62%);
  color: var(--lp-text);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.lp-player-load__icon {
  display: block;
  width: 66px;
  height: 66px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: var(--lp-accent);
  position: relative;
}

.lp-player-load__icon:after {
  content: "";
  position: absolute;
  top: 21px;
  left: 27px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid #fff;
}

.lp-player-lazy.is-loaded .lp-player-load {
  display: none;
}

.card--details {
  height: 100%;
  padding: 14px;
  border: 1px solid var(--lp-border);
  background: var(--lp-surface);
}

.card--details .card__cover {
  aspect-ratio: 2 / 3;
}

.card__meta {
  margin: 0;
  padding: 0;
}

.card__meta li {
  padding: 12px 0;
  border-bottom: 1px solid var(--lp-border);
  color: var(--lp-muted);
  font-size: 14px;
  line-height: 1.45;
}

.card__meta li span {
  display: block;
  margin-bottom: 4px;
  color: var(--lp-text);
  font-weight: 800;
}

.lp-copy-block {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  background: var(--lp-surface);
  color: var(--lp-muted);
}

.lp-copy-block p {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.65;
}

.lp-copy-block p:last-child {
  margin-bottom: 0;
}

.lp-watch-simple {
  background: var(--lp-bg);
}

.lp-watch-page {
  padding: 24px 0 34px;
}

.lp-watch-page .container {
  max-width: 980px;
}

.lp-back-link {
  display: inline-flex;
  align-items: center;
  margin: 8px 0 12px;
  color: var(--lp-muted);
  font-size: 13px;
  font-weight: 800;
}

.lp-back-link:before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.lp-back-link:hover {
  color: var(--lp-accent-2);
}

.lp-watch-simple__title {
  margin: 0 0 18px;
  color: var(--lp-text);
  font-size: 28px;
  line-height: 1.22;
  font-weight: 850;
  letter-spacing: 0;
}

.lp-watch-simple .lp-player {
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  box-shadow: none;
}

.lp-watch-media {
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.lp-watch-media .lp-player {
  flex: 1 1 auto;
  min-width: 0;
}

.lp-watch-poster {
  flex: 0 0 220px;
  overflow: hidden;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  background: var(--lp-surface);
}

.lp-watch-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-related {
  padding-top: 28px;
}

.lp-related-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.section--border {
  padding: 34px 0 42px;
  border-top: 1px solid var(--lp-border);
  background: #0b0d10;
}

.section__title-wrap {
  margin-bottom: 22px;
}

.home__nav {
  width: 38px;
  height: 38px;
  border: 1px solid var(--lp-border);
  border-radius: 999px;
  background: var(--lp-surface);
  color: var(--lp-text);
}

.home__nav:hover {
  border-color: var(--lp-accent-2);
  color: var(--lp-accent-2);
}

.lp-static {
  padding: 32px 0 54px;
}

.lp-static__panel {
  max-width: 860px;
  padding: 22px;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  background: var(--lp-surface);
  color: var(--lp-muted);
}

.lp-static__panel h2,
.lp-static__panel h3,
.lp-static__panel legend {
  color: var(--lp-text);
  letter-spacing: 0;
}

.lp-static__panel p,
.lp-static__panel li {
  color: var(--lp-muted);
  font-size: 15px;
  line-height: 1.72;
}

.contacts__list {
  padding: 0;
  list-style: none;
}

.footer {
  border-top: 1px solid var(--lp-border);
  background: #08090b;
}

.footer__content {
  padding: 24px 0;
  border-bottom: 1px solid var(--lp-border);
}

.footer__nav a {
  color: var(--lp-muted);
  font-size: 13px;
  font-weight: 700;
}

.footer__nav a:hover {
  color: var(--lp-accent-2);
}

.footer__back {
  border: 1px solid var(--lp-border);
  border-radius: 999px;
  background: var(--lp-surface);
  color: var(--lp-text);
}

.footer__back:hover {
  border-color: var(--lp-accent-2);
  color: var(--lp-accent-2);
}

@media (min-width: 768px) {
  .header__nav {
    position: static;
    flex-direction: row;
    align-items: center;
    width: auto;
    height: auto;
    padding: 0;
    margin-left: 34px;
    background: transparent;
    border: 0;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .header__nav-item {
    margin: 0 18px 0 0;
  }

  .header__search {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 280px;
    padding: 0;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .header__search-close,
  .header__search-btn,
  .header__btn {
    display: none;
  }
}

@media (max-width: 767px) {
  .lp-shell {
    padding-top: 72px;
  }

  .header__logo h1 {
    font-size: 19px;
  }

  .header__nav {
    padding: 18px;
  }

  .header__nav-item {
    margin-bottom: 10px;
  }

  .content__title,
  .section__title,
  .lp-details__title {
    font-size: 24px;
  }

  .lp-notice {
    align-items: flex-start;
    margin-bottom: 18px;
    padding: 12px 14px;
  }

  .lp-notice__copy {
    display: block;
  }

  .row--grid {
    margin-left: -6px;
    margin-right: -6px;
  }

  .row--grid > [class*="col-"] {
    padding-left: 6px;
    padding-right: 6px;
  }

  .lp-video-col {
    margin-bottom: 18px;
  }

  .lp-latest-head {
    margin: 28px 0 16px;
  }

  .lp-latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-left: -6px;
    margin-right: -6px;
  }

  .lp-latest-col {
    padding-left: 6px;
    padding-right: 6px;
  }

  .card__title {
    font-size: 13px !important;
  }

  .card__play {
    width: 42px;
    height: 42px;
    margin: -21px 0 0 -21px;
  }

  .card__play:before {
    margin-left: 3px;
    border-top-width: 8px;
    border-bottom-width: 8px;
    border-left-width: 13px;
  }

  .card--details {
    margin-top: 18px;
  }

  .lp-watch-page {
    padding: 16px 0 28px;
  }

  .lp-watch-simple__title {
    font-size: 20px;
    line-height: 1.28;
  }

  .lp-watch-media {
    display: block;
  }

  .lp-watch-poster {
    display: none;
  }

  .lp-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .footer__content {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .footer__nav {
    order: 2;
    margin: 0;
  }

  .footer__back {
    position: absolute;
    right: 15px;
  }
}
