/*
	Main styles
*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
    border: 0;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #dfe6e9;
}

a {
    background-color: transparent;
}

a:focus {
    outline: unset;
}

b,
strong {
    font-weight: 700;
}

small {
    font-size: 0.875em
}

main img {
    max-width: 100%;
    height: auto;
    border-style: none;
    border-radius: 5px;
}

picture img {
    display: block;
}

button,
input {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
    overflow: visible;
}

button {
    text-transform: none;
    -webkit-appearance: button;
}

button::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.screen-reader-text,
.screen-reader-text span,
.screen-reader-shortcut {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;
    color: #333;
    background: #fff
}

/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/
/* oswald-700 - cyrillic_latin */
@font-face {
    font-display: swap;
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/oswald-v53-cyrillic_latin-700.woff2') format('woff2'),
        url('../fonts/oswald-v53-cyrillic_latin-700.ttf') format('truetype');
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

body {
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: var(--main_font);
    line-height: 1.76;
    background-color: var(--body_bg);
    overflow-x: hidden;
}

p {
    margin-block: 20px;
}

p:empty,
p:last-child {
    margin-bottom: 0;
}

p:empty,
p:first-child {
    margin-top: 0;
}

.site-wrapper {
    position: relative;
    height: 100%;
}

.site-container {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: auto;
    min-height: 100vh;
    width: 1240px;
    max-width: 100%;
    background-color: var(--main_bg);
    border-radius: 5px;
}

.top-holder+.site-container {
    min-height: calc(100vh - 250px);
}

.hide {
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
}

@media screen and (max-width: 1024px) {
    .site-container {
        margin: 0 auto;
        width: calc(100% - 20px);
    }
}

@media screen and (max-width: 768px) {
    .site-container {
        width: 100%;
    }

    .site-wrapper {
        overflow-x: hidden;
    }
}

/* ## Bg */

.top-holder {
    height: 250px;
}

.site-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
    overflow: hidden;
    height: 100vh;
    pointer-events: none;
}

.site-background:before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--body_bg);
}

.site-background div {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: max-content;
    max-width: 100%;
    height: auto;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
}

.site-background div span {
    position: absolute
}

.site-background div span:nth-of-type(1) {
    height: 50%;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, var(--body_bg), transparent)
}

.site-background div span:nth-of-type(2) {
    width: 30%;
    height: 100%;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--body_bg), transparent)
}

.site-background div span:nth-of-type(3) {
    width: 30%;
    height: 100%;
    bottom: 0;
    right: 0;
    background: linear-gradient(-90deg, var(--body_bg), transparent)
}

.site-background img {
    height: auto;
}

.site-background--fallback {
    height: 360px;
}

.site-background--fallback div {
    width: 100%;
    max-width: none;
    height: 100%;
}

.site-background--fallback img {
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

@media screen and (max-width: 768px) {

    .top-holder,
    .site-background {
        display: none
    }
}

/* ## Headings */

h2,
h3,
h4,
h5,
.h2 {
    font-weight: 700;
    color: var(--main_font);
    line-height: normal;
}

h1 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: clamp(20px, 3vw, 24px);
    color: var(--main_font);
    line-height: 1.2;
}

h2,
.h2 {
    font-size: clamp(20px, 3vw, 24px);
}

h3,
.h3 {
    font-size: clamp(18px, 3vw, 20px);
}

h4,
.h3,
.h4 {
    font-weight: 700;
    line-height: 1.4;
}

h4,
.h4 {
    font-size: 18px;
}

h5,
.h5,
.h6,
.h7 {
    font-weight: 700;
    line-height: 1.4;
}

.h5 {
    font-size: 18px;
}

.h6 {
    font-size: 16px;
}

.h7 {
    font-size: 15px;
}

/* ## Links */

a,
button,
input:focus {
    transition: .3s
}

a {
    color: var(--accent);
    text-decoration: none;
}

.post a:not([class]):visited {
    color: #666666;
}

.post a {
    text-decoration: underline;
}

.post a:hover {
    text-decoration: none;
}

/* ## Buttons */

.button,
:where(button),
input[type="button"],
input[type="reset"],
input[type="submit"] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 15px 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent_font);
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    background-color: var(--accent);
    box-shadow: inset 0 -3px var(--accent_hover);
    border: 0;
    border-radius: 3px;
    cursor: pointer;
    transition: .3s;
    white-space: nowrap;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus {
    outline: unset;
}

button:disabled,
input[type="button"]:disabled,
input[type="reset"]:disabled,
input[type="submit"]:disabled {
    color: #a4aeb9;
    background-color: #e4e8ec;
    cursor: not-allowed;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.button:hover {
    background-color: var(--accent_hover);
}

.button svg {
    flex-shrink: 0;
    fill: var(--accent_font);
    transition: .3s;
}

.cross {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cross:before,
.cross:after {
    content: "";
    width: 1px;
}

.cross:before {
    transform: rotate(45deg);
}

.cross:after {
    transform: rotate(-45deg);
}

/* ## Form */

input[type="text"],
input[type="email"],
input[type="search"],
input[type="tel"],
input[type="date"],
textarea,
select {
    --border: #e3e3e3;
    display: block;
    margin: 0;
    padding: 15px 20px;
    width: 100%;
    font-size: 15px;
    color: var(--card_font);
    line-height: 1.3;
    background-color: var(--card_bg);
    border: 1px solid var(--border);
    border-radius: 5px;
}

.dark input,
.dark textarea {
    --border: rgba(227, 232, 238, 0.1);
}

input.error,
textarea.error {
    --border: #eb3154;
}

select:hover {
    cursor: pointer;
}

input[type="text"]:disabled,
input[type="email"]:disabled,
input[type="search"]:disabled,
input[type="number"]:disabled,
input[type="tel"]:disabled,
input[type="date"]:disabled,
textarea:disabled,
select:disabled {
    color: rgba(164, 174, 185, 1);
    background-color: #eceff2;
    cursor: not-allowed;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
    border: 1px solid #e7eaee;
    outline: none;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
    width: auto
}

label {
    display: block;
}

/* ## Input select */

select {
    padding-right: 50px;
    color: #808080;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAFCAYAAACXU8ZrAAAANUlEQVQImYXMuw0AIAwD0Qv7ZVoGPBqK8BGksWw9JYDO52LmC2aUcoMJ0NRl2AEAKgUeH1UGNA0P+kwys8wAAAAASUVORK5CYII=);
    background-position: right 20px center;
    background-repeat: no-repeat;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none !important;
}

select::-ms-expand {
    display: none;
}

.popup-form .selectric {
    border-color: #e3e3e3;
}

.popup-form .selectric-items {
    z-index: 9999;
}

.form-bg .selectric {
    border-color: transparent;
}

/* ## Placeholder */

::placeholder {
    font-size: 14px;
    font-weight: 400;
    color: var(--main_font);
    text-overflow: ellipsis;
    opacity: 0.5;
    transition: opacity ease 0.3s;
}

input:focus::placeholder,
textarea:focus::placeholder {
    opacity: 0;
}

/* ## Overlay */

.menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99;
    background: #0b0c0e;
    visibility: hidden;
    opacity: 0;
    transition: opacity .35s ease-in;
}

.menu-overlay.active {
    visibility: visible;
    opacity: .8;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.site-top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-inline: 20px;
    background-color: var(--card_bg);
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, .15);
    border-radius: 4px 4px 0 0;
}

@media screen and (max-width: 1140px) {
    .site-top {
        gap: 10px;
    }
}

@media screen and (max-width: 768px) {
    .site-top {
        padding-inline: 10px;
    }
}

/* ## Logo */

.logo {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 10px;
    margin-block: 17px;
}

.light .logo {
    color: #000;
}

.dark .logo {
    color: #fff;
}

.logo-image {
    display: flex;
}

.logo-image svg {
    max-height: 50px;
    fill: var(--accent);
}

.logo-title {
    display: flex;
    flex-direction: column;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
}

.logo img {
    margin-right: 20px;
    height: auto;
}

@media screen and (max-width: 1140px) {
    .site-top .logo {
        margin-right: auto;
    }
}

@media screen and (max-width: 375px) {
    .site-top .logo {
        gap: 5px;
    }

    .logo-title {
        font-size: 18px;
    }
}

/* ## Random film */

.random-film {
    display: flex;
    align-items: center;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    white-space: nowrap;
    background-color: var(--main);
    background-size: 250% 100%;
    box-shadow: inset 0px 0px 0px 2px var(--accent);
    border-radius: 7px;
    transition: .5s cubic-bezier(0.615, 0, 0.07, 1);
    cursor: pointer;
}

.random-film:hover {
    color: #fff;
    box-shadow: inset 0px 0px 0px 2px #fbbf14;
    background-position: 90% 0;
}

.random-film-svg {
    display: none;
}

@media screen and (max-width: 1140px) {
    .random-film {
        font-size: 12px;
    }
}

@media screen and (max-width: 768px) {
    .site-top>.random-film {
        display: none;
    }
}

/* ## Search */

.site-top-search {
    position: relative;
    width: 270px;
}

.content-search {
    position: relative;
    margin-block: 20px;
    width: 100%;
}

.dark .content-search .search-form {
    background-color: var(--card_bg);
}

.mobile-search-button {
    display: none;
}

.search-button {
    display: flex;
    align-items: center;
    margin-right: 30px;
    transition: .3s;
    cursor: pointer;
}

.search-button:hover {
    opacity: .7;
}

.search-button svg {
    stroke: var(--menu_font);
}

#searchform .popup-inner {
    display: flex;
    flex-direction: column;
    padding: 40px;
    width: 650px;
}

#searchform .popup-inner>span {
    margin-bottom: 10px;
    color: #fff;
}

.search-form {
    display: flex;
    padding-right: 10px;
    min-width: 180px;
    width: 100%;
    border-radius: 3px;
}

.light .search-form {
    background-color: #fff;
    box-shadow: inset 0 0 0 1px #e3e3e3, inset 1px 2px 5px rgba(0, 0, 0, .2);
}

.dark .search-form {
    background-color: var(--main_bg);
    box-shadow: inset 0 0 0 1px #111, inset 1px 2px 5px rgba(0, 0, 0, .2);
}

.search-form input[type="search"] {
    padding: 10px 0 10px 10px;
    height: 100%;
    color: var(--main_font);
    background-color: transparent;
    border: 0;
    border-radius: 3px;
}

.search-form input[type="search"]::placeholder {
    font-size: 15px;
}

.search-form .input-text {
    position: relative;
    flex: 1;
}

.search-form button {
    padding: 0;
    width: 30px;
    background-color: transparent;
    box-shadow: none;
}

.search-form button svg {
    fill: var(--accent);
    transition: fill .3s;
}

.search-form button:hover svg {
    fill: var(--accent_hover);
}

.search-form .loader {
    --size: 2px;
    --width: 20px;
    top: calc(50% - 9px);
    right: 15px;
    left: unset;
}

@media screen and (max-width: 980px) {
    .site-top-search {
        flex: 1;
    }

    .search-button {
        margin-left: auto;
    }
}

@media screen and (max-width: 800px) {
    .site-top>.site-top-search {
        display: none;
        flex: unset;
        order: 4;
        margin-right: 0;
        margin-top: 10px;
        width: 100%;
    }

    .mobile-search-button {
        display: flex;
        align-items: center;
        cursor: pointer;
    }

    .mobile-search-button svg {
        fill: var(--accent);
    }

    .search-form input[type="search"] {
        font-size: 16px;
    }
}

@media screen and (max-width: 420px) {
    .search-button {
        margin-right: 15px;
    }
}

/* ### Search results */

.ajax-search-results-wrap {
    position: absolute;
    left: 0;
    z-index: 100;
    display: none;
    margin-top: 5px;
    padding: 10px 5px 10px 10px;
    width: 400px;
    background-color: var(--card_bg);
    box-shadow: 0 0 13px 0 rgba(100, 120, 164, 0.25);
    border-radius: 5px;
    overflow: hidden;
}

.search-block.active .ajax-search-results-wrap {
    display: block;
}

.ajax-search-results {
    max-height: 320px;
    font-size: 14px;
    color: var(--card_font);
    overflow-y: scroll;
}

.ajax-search-results::-webkit-scrollbar-track {
    border-radius: 5px;
    background-color: var(--card_bg);
}

.ajax-search-results::-webkit-scrollbar {
    width: 10px;
    background-color: var(--card_bg);
}

.ajax-search-results::-webkit-scrollbar-thumb {
    width: 20px;
    height: 50px;
    background-color: var(--accent);
    border-radius: 5px;
}

.ajax-search-results .item {
    justify-content: center;
    padding-left: 50px;
    min-height: 50px;
    border-radius: 5px;
}

.ajax-search-results .item:hover {
    background-color: #ebf0f4;
}

.dark .ajax-search-results .item:hover {
    background-color: var(--main_bg);
}

.ajax-search-results .item:not(:last-child) {
    margin-bottom: 15px;
}

.ajax-search-results .h7 {
    font-size: 14px;
}

.ajax-search-results .item-image {
    position: absolute;
    left: 0;
    width: auto;
    height: 50px;
    border-radius: 3px;
    aspect-ratio: 2 / 3;
}

.item-bottom {
    display: flex;
    gap: 5px;
    margin-top: 5px;
    font-size: 11px;
    font-weight: 500;
    color: var(--card_font);
    line-height: 1;
}

.item-bottom>div {
    padding: 3px 5px;
}

.item-bottom .item-score {
    border: 2px solid rgb(0, 194, 0);
}

.item-bottom .item-imdb {
    border: 2px solid #fbbf14;
}

.item-bottom .item-kp {
    border: 2px solid #ff5500;
}

.ajax-search-results .highlight {
    background-color: #ffe400;
}

.dark .ajax-search-results .highlight {
    color: #000;
}

@media screen and (max-width: 980px) {
    .ajax-search-results-wrap {
        left: 0;
        margin-top: 10px;
        width: 100%;
    }
}

/* ## Color scheme */

.theme-switcher {
    --radius: 20px;
    --gap: 7px;
    --toggle-h: 30px;
    --toggle-w: 54px;
    --round: 22px;
    --shift: 22px;

    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--gap);
}

.theme-switcher--type-1 {
    padding: 5px;
    background-color: var(--main_bg);
    border-radius: var(--radius);
    overflow: hidden;
}

.theme-switcher--type-2 {
    color: var(--menu_font);
}

@media screen and (max-width: 375px) {
    .theme-switcher--type-2 {
        --gap: 4px;
        --toggle-h: 22px;
        --toggle-w: 40px;
        --round: 14px;
        --shift: 14px;
    }
}

.theme-switcher--type-3 {
    color: #fff;
}

.theme-switcher--type-4 {
    --toggle-w: 85px;
    --toggle-h: 38px;
    --round: 28px;
    --shift: 47px;

    color: var(--accent);
}

@media screen and (max-width: 375px) {
    .theme-switcher--type-4 {
        --toggle-w: 75px;
        --toggle-h: 30px;
        --round: 22px;
        --shift: 44px;
    }
}

.theme-switcher--type-5 {
    --toggle-w: 85px;
    --toggle-h: 38px;

    color: var(--accent);
}

.theme-switcher--type-6 {
    --toggle-w: 35px;
    --toggle-h: 38px;

    color: var(--accent);
}

.theme-switcher--type-1::before,
.theme-switcher--type-1::after {
    content: '';
    position: absolute;
    border-radius: var(--radius);
}

.theme-switcher--type-1:before {
    inset: 0;
    z-index: 2;
    border: 5px solid var(--main_bg);
}

.theme-switcher--type-1:after {
    inset: 5px;
    z-index: 1;
    background-color: var(--accent);
    transform: translateX(calc(-50% + 5px));
    transition: transform .45s ease;
}

.dark .theme-switcher--type-1:after {
    transform: translateX(calc(50% - 5px))
}

/* ### items */

.theme-switcher__item {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 30px;
    color: #b2b2b2;
    border-radius: 15px;
    transition: color .3s;
    cursor: pointer;
}

.theme-switcher__item--light {
    margin-right: -7px;
}

.theme-switcher__item--light.theme-switcher__item--active,
.theme-switcher__item--dark.theme-switcher__item--active {
    color: #fff;
}

/* ### Toggle */

.theme-switcher__toggle {
    position: relative;
    flex-shrink: 0;
    width: var(--toggle-w);
    height: var(--toggle-h);
}

/* ### Slider */

.theme-switcher__slider {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background-color: var(--accent);
    border-radius: 34px;
    transition: background-color .3s, box-shadow .3s;
    cursor: pointer;
}

.light .theme-switcher__slider {
    box-shadow: inset 0 0 0 1px #e3e3e3, inset 1px 2px 5px rgba(0, 0, 0, .2);
}

.dark .theme-switcher__slider {
    box-shadow: inset 0 0 0 1px #111, inset 1px 2px 5px rgba(0, 0, 0, .2);
}

.theme-switcher--type-3 .theme-switcher__slider,
.theme-switcher--type-4 .theme-switcher__slider,
.theme-switcher--type-5 .theme-switcher__slider {
    background-color: var(--main_bg);
}

.theme-switcher--type-5 .theme-switcher__slider {
    box-shadow: none;
    border-radius: 3px;
}

.theme-switcher--type-6 .theme-switcher__slider {
    background-color: transparent;
    box-shadow: none;
}

/* ### Round */

.theme-switcher__slider-round {
    content: "";
    position: absolute;
    left: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--round);
    height: var(--round);
    background-color: #fff;
    border-radius: 50%;
    transition: 0.3s;
}

.theme-switcher--type-3 .theme-switcher__slider-round {
    background-color: var(--accent);
}

.theme-switcher--type-4 .theme-switcher__slider-round {
    background-color: var(--card_bg);
}

.theme-switcher__checkbox:checked+.theme-switcher__slider .theme-switcher__slider-round {
    transform: translateX(var(--shift)) rotate(360deg);
}

/* ### Text */

.theme-switcher__slider-text {
    position: absolute;
    font-size: 12px;
    color: var(--menu_font);
    text-transform: uppercase;
    opacity: .7;
    transition: opacity .3s;
}

.theme-switcher--type-4 .theme-switcher__slider-text--light {
    right: 12px;
}

.theme-switcher--type-4 .theme-switcher__slider-text--dark {
    left: 12px;
    opacity: 0;
}

.theme-switcher--type-4 .theme-switcher__checkbox:checked+.theme-switcher__slider .theme-switcher__slider-text--dark {
    opacity: .7;
}

.theme-switcher--type-4 .theme-switcher__checkbox:checked+.theme-switcher__slider .theme-switcher__slider-text--light {
    opacity: 0;
}

.theme-switcher--type-5 .theme-switcher__slider-text {
    right: 12px;
    color: var(--main_font);
}

/* ### Icons */

.theme-switcher__slider-icons {
    position: absolute;
    top: 0;
    left: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 100%;
}

.theme-switcher__icon {
    stroke: currentColor;
    fill: currentColor;
}

.theme-switcher--type-2 .theme-switcher__icon {
    opacity: .7;
}

.theme-switcher--type-3 .theme-switcher__icon--dark,
.theme-switcher--type-4 .theme-switcher__icon--dark {
    display: none;
}

.theme-switcher--type-3 .theme-switcher__checkbox:checked+.theme-switcher__slider .theme-switcher__icon--dark,
.theme-switcher--type-4 .theme-switcher__checkbox:checked+.theme-switcher__slider .theme-switcher__icon--dark {
    display: block;
}

.theme-switcher--type-3 .theme-switcher__checkbox:checked+.theme-switcher__slider .theme-switcher__icon--light,
.theme-switcher--type-4 .theme-switcher__checkbox:checked+.theme-switcher__slider .theme-switcher__icon--light {
    display: none;
}

.theme-switcher--type-5 .theme-switcher__icon,
.theme-switcher--type-6 .theme-switcher__icon {
    position: absolute;
    opacity: 0;
    transform: translateX(-70%);
    transition: 0.3s;
}

.theme-switcher--type-5 .theme-switcher__checkbox:checked+.theme-switcher__slider .theme-switcher__icon--dark,
.theme-switcher--type-6 .theme-switcher__checkbox:checked+.theme-switcher__slider .theme-switcher__icon--dark {
    opacity: 1;
    transform: translateX(0);
}

.theme-switcher--type-5 .theme-switcher__checkbox:not(:checked)+.theme-switcher__slider .theme-switcher__icon--light,
.theme-switcher--type-6 .theme-switcher__checkbox:not(:checked)+.theme-switcher__slider .theme-switcher__icon--light {
    opacity: 1;
    transform: translateX(0);
}

/*--------------------------------------------------------------
# Menu
--------------------------------------------------------------*/

.menu {
    position: relative;
    display: flex;
    margin: 0;
    padding: 0;
    line-height: 1;
    list-style: none;
}

.mobile-search {
    display: none;
}

@media screen and (min-width: 1025px) {
    .site-top-menu {
        position: relative;
        display: flex;
        justify-content: center;
        align-self: stretch;
        flex-grow: 1;
    }

    /* ## Primary menu */

    .main-menu {
        position: relative;
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .main-menu .top {
        display: none;
    }

    .main-menu>ul {
        justify-content: center;
        gap: 20px;
        width: 100%;
    }

    .main-menu>ul>li {
        position: relative;
        display: flex;
        align-items: center;
        height: 100%;
        white-space: nowrap;
        border-top: 3px solid transparent;
        border-bottom: 3px solid transparent;
        transition: .3s;
    }

    .main-menu a {
        color: #000;
    }

    .main-menu>ul>li>a,
    .main-menu>ul>li>span {
        position: relative;
        display: flex;
        align-items: center;
        height: 100%;
        font-family: 'Oswald', sans-serif;
        font-size: 14px;
        font-weight: 700;
        color: var(--menu_font);
        text-transform: uppercase;
        opacity: .7;
    }

    .main-menu>ul>li.current-menu-item,
    .main-menu>ul>li:hover {
        border-bottom-color: var(--accent);
    }

    .main-menu>ul>li.current-menu-item a,
    .main-menu>ul>li:hover a {
        color: var(--accent);
        opacity: 1;
    }

    .main-menu a:hover {
        text-decoration: unset;
    }

    .site-top-menu .main-menu li:hover>.sub-menu {
        display: flex;
    }

    .main-menu li ul {
        position: absolute;
        top: 55px;
        z-index: 999;
        display: none;
        flex-direction: column;
        margin: 0;
        padding: 15px;
        min-width: 170px;
        height: auto;
        list-style: none;
        background-color: #fff;
        box-shadow: 0 0 13px 0 rgba(100, 120, 164, 0.25);
        border-radius: 10px;
    }

    .main-menu li ul:before {
        content: '';
        display: block;
        position: absolute;
        top: -6px;
        left: 30px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 6px 6px 6px;
        border-color: transparent transparent white transparent;
        -webkit-filter: drop-shadow(1px 2px 1px rgba(100, 120, 164, 0.25));
        filter: drop-shadow(1px -1px 1px rgba(100, 120, 164, 0.25));
    }

    .main-menu li ul li {
        position: relative;
    }

    .main-menu li ul a,
    .main-menu li ul span,
    .main-menu .hide-menu a {
        display: block;
        padding: 10px 20px;
        font-size: 15px;
        font-weight: 400;
        color: #000;
        line-height: 1;
        border-radius: 20px;
    }

    .main-menu li ul a:hover {
        color: var(--accent_font);
        background-color: var(--accent);
    }

    .main-menu li ul ul {
        top: -10px;
        left: 100%;
        background-color: #fff;
        transform: translateX(0);
    }

    .main-menu li ul ul:before {
        content: none;
    }

    /* ## Hide menu */

    .main-menu .hide-menu {
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        cursor: pointer;
    }

    .main-menu .hide-menu .burger {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px 20px 10px;
        height: 100%;
        background-color: transparent;
        border-radius: 20px;
        transition: 0.3s;
    }

    .main-menu .hide-menu:hover .burger {
        background-color: var(--accent);
    }

    .main-menu .hide-menu .burger span:before,
    .main-menu .hide-menu .burger span:after {
        width: 15px;
        height: 3px;
        background-color: var(--menu_font);
        border-radius: 2px;
        transition: 0.3s;
    }

    .main-menu .hide-menu:hover .burger span:before,
    .main-menu .hide-menu:hover .burger span:after {
        background-color: var(--accent_font);
    }

    .main-menu .hide-menu .burger span {
        position: relative;
        width: 15px;
    }

    .main-menu .hide-menu .burger span:before,
    .main-menu .hide-menu .burger span:after {
        content: "";
        position: absolute;
    }

    .main-menu .hide-menu .burger span:before {
        top: -6px;
    }

    .main-menu .hide-menu .burger span:after {
        top: 1px;
    }

    .main-menu .hide-menu ul {
        right: 0;
        left: unset;
        transform: unset;
    }

    .main-menu .hide-menu ul:before {
        right: 22px;
        left: unset;
        transform: unset;
    }
}

@media screen and (min-width: 1141px) {

    .main-menu>ul>li>a,
    .main-menu>ul>li>span {
        font-size: 16px;
    }
}

/* ## TV menu */

.main-menu-tv {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.main-menu-tv .top {
    display: none;
}

.main-menu-tv>ul {
    justify-content: center;
    width: 100%;
}

.main-menu-tv>ul>li {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    transition: .3s;
}

.main-menu-tv>ul>li.menu-tv-hidden {
    display: none;
}

.main-menu-tv>ul>li:not(:last-child) {
    margin-right: 20px;
}

.main-menu-tv a {
    color: #000;
}

.main-menu-tv>ul>li>a,
.main-menu-tv>ul>li>span {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--menu_font);
    text-transform: uppercase;
    opacity: .7;
}

.main-menu-tv>ul>li.current-menu-item,
.main-menu-tv>ul>li:hover {
    border-bottom-color: var(--accent);
}

.main-menu-tv>ul>li.current-menu-item a,
.main-menu-tv>ul>li:hover a {
    color: var(--accent);
    opacity: 1;
}

.main-menu-tv a:hover {
    text-decoration: unset;
}

.main-menu-tv li ul {
    display: none;
}

/* ## Mobile menu */

.site-top-menu .main-menu .cross,
.mobile-menu-button,
#mobile-menu-toggle {
    display: none;
}

.main-menu > .top {
    display: none;
}

@media screen and (max-width: 1024px) {
    .site-top-menu {
        order: 4;
    }

    .mobile-menu-button {
        display: flex;
        flex-direction: column;
        gap: 5px;
        transition: 0.3s;
        cursor: pointer;
    }

    .mobile-menu-button span {
        width: 35px;
        height: 5px;
        background-color: var(--main);
        border-radius: 3px;
        transition: 0.3s;
        opacity: .8;
    }

    .dark .mobile-menu-button span {
        background-color: var(--main_font);
    }

    .site-top-menu .main-menu {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 999;
        display: flex;
        flex-direction: column;
        padding-top: 55px;
        width: 400px;
        max-width: 100%;
        font-size: 1em;
        color: #e2e2e2;
        background-color: var(--card_bg);
        box-shadow: 0px 0px 29px 0px rgba(104, 136, 209, 0.16);
        transition: transform 0.35s ease-out;
        transform: translate3d(-400px, 0, 0);
        overflow-y: scroll;
    }

    .site-top-menu .main-menu ul {
        display: block;
        line-height: 1.3;
    }

    .site-top-menu .main-menu li {
        position: relative;
    }

    .site-top-menu .main-menu ul>li:first-child {
        border-top: 0;
    }

    .site-top-menu .main-menu li a,
    .site-top-menu .main-menu li span {
        display: flex;
        padding: 15px;
        font-family: 'Oswald', sans-serif;
        font-size: 18px;
        font-weight: 700;
        color: var(--card_font);
    }

    .site-top-menu .main-menu li span {
        text-decoration: underline;
    }

    .site-top-menu .main-menu .sub-menu {
        display: none;
        padding: 0;
        list-style: none;
    }

    .site-top-menu .main-menu .sub-menu li {
        text-transform: none;
    }

    .site-top-menu .main-menu .sub-menu li a,
    .site-top-menu .main-menu .sub-menu li span {
        align-items: center;
        padding-left: 15px;
    }

    .site-top-menu .main-menu .sub-menu li a:before {
        content: "";
        flex-shrink: 0;
        margin-right: 10px;
        width: 3px;
        height: 10px;
        background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFAQMAAAC6v8ThAAAABlBMVEVHcEwAmqjMic0bAAAAAXRSTlMAQObYZgAAABBJREFUeNpjaGA4wPAAiBsAEOoDYca3kSkAAAAASUVORK5CYII=);
        filter: grayscale(100%);
        opacity: 0.8;
        background-position: center;
        background-repeat: no-repeat;
    }

    #mobile-menu-toggle:checked~.main-menu {
        transform: translate3d(0, 0, 0);
    }

    .site-top-menu .main-menu .cross {
        position: absolute;
        top: 0;
        right: 10px;
        z-index: 100;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 5px;
        margin-top: 10px;
        width: 36px;
        height: 36px;
        background-color: var(--accent);
        fill: var(--accent_font);
        cursor: pointer;
    }

    body.mobile-menu-active {
        overflow: hidden;
    }

    /* ## Menu toggle */
    .toggle {
        position: absolute;
        right: 0;
        top: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        background-color: rgba(255, 255, 255, 0.09);
        cursor: pointer;
    }

    .toggle:hover {
        background-color: rgba(255, 255, 255, 0.13);
    }

    .toggle:before {
        content: "";
        position: absolute;
        width: 20px;
        height: 20px;
        background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgPHBhdGggZmlsbD0iIzM2Mzg1MyIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNNi40NyA4Ljk3YS43NS43NSAwIDAgMSAxLjA2IDBMMTIgMTMuNDRsNC40Ny00LjQ3YS43NS43NSAwIDEgMSAxLjA2IDEuMDZsLTUgNWEuNzUuNzUgMCAwIDEtMS4wNiAwbC01LTVhLjc1Ljc1IDAgMCAxIDAtMS4wNiIgY2xpcC1ydWxlPSJldmVub2RkIi8+Cjwvc3ZnPgo=);
        background-position: center;
        background-repeat: no-repeat;
        background-size: 25px;
        opacity: .5;
        transition: .3s;
    }

    .dark .toggle:before {
        filter: invert(1);
    }

    .toggle.active:before {
        transform: scale(-1);
    }

    .main-menu .sub-menu {
        display: none;
    }

    /* ## Top */

    .main-menu .top {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 0 15px 10px;
    }

    .main-menu .top .site-top-search {
        width: 100%;
    }

    .main-menu .top .random-film {
        font-size: 13px;
        height: 42px;
    }
}

@media screen and (max-width: 400px) {
    .main-menu {
        width: 100%;
    }
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

.site-content-sidebar {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: minmax(580px, 1fr) minmax(280px, 300px);
    gap: 50px 65px;
    padding: 20px;
}

.no-sidebar {
    padding: 20px;
}

.full-width {
    grid-column: span 2;
}

.site-content {
    position: relative;
}

.home .site-content {
    padding: 20px;
}

.card-bg {
    padding: 20px;
    background-color: var(--card_bg);
}

.no-sidebar .post {
    margin: 0 auto;
    max-width: 850px;
}

.no-sidebar-full .post {
    margin: 0;
    max-width: none;
}

.post-content {
    font-size: 16px;
    color: var(--text_font);
    line-height: 1.6;
}

.post-content>*:first-child {
    margin-top: 0;
}

.post-excerpt {
    margin-bottom: 30px;
}

@media screen and (max-width: 1240px) {
    .site-content-sidebar {
        gap: 40px;
    }
}

@media screen and (max-width: 980px) {
    .site-content-sidebar {
        grid-template-columns: minmax(250px, 1fr);
    }

    .full-width {
        grid-column: unset;
    }
}

@media screen and (max-width: 768px) {
    .home .site-content {
        padding: 10px;
    }

    .card-bg {
        padding: 10px;
    }
}

@media screen and (max-width: 420px) {
    .post-content {
        font-size: 14px;
    }
}

/* ## TOC */

#toc_container {
    position: relative;
    margin: 40px 0;
    padding: 35px 50px 40px;
    width: 100%;
    background-color: var(--card_bg);
    border-radius: 20px
}

.toc_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    font-size: 26px;
    font-weight: 700;
    line-height: 1
}

#toc_container .toc_toggle {
    margin-left: 30px;
    font-size: 0;
    text-transform: none;
    font-weight: 300
}

#toc_container .toc_toggle a {
    display: block;
    padding: 6px 15px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent_font);
    font-style: normal;
    line-height: 1;
    text-decoration: none;
    background-color: var(--accent);
    border-radius: 7px
}

#toc_container .toc_toggle a:hover {
    opacity: .7
}

#toc_container ul.toc_list {
    margin-top: 35px;
    column-count: 2;
    column-gap: 30px;
    font-size: 16px;
}

#toc_container ul {
    margin: 0
}

#toc_container li ul {
    margin-top: 10px
}

#toc_container ul li {
    display: block;
    padding-left: 30px;
    width: 100%;
    line-height: 1.5
}

#toc_container ul li:before {
    top: 1px;
    left: 0;
    width: 8px;
    height: 20px;
    background-color: unset;
    background-image: url(../img/toc.png);
    background-position: center;
    background-repeat: no-repeat;
    border: none
}

#toc_container ul li a {
    color: #000;
    text-decoration: none
}

#toc_container ul li a:hover {
    text-decoration: underline
}

@media screen and (max-width: 768px) {
    #toc_container {
        padding: 25px 30px
    }

    #toc_container ul.toc_list {
        column-count: 1
    }
}

@media screen and (max-width: 400px) {
    .toc_title {
        flex-direction: column
    }

    #toc_container .toc_toggle {
        margin-top: 10px;
        margin-left: 0
    }
}

/* ## Images */

.post img {
    content-visibility: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption img {
    display: block;
    border-radius: 20px 20px 0 0;
}

.wp-caption-text {
    padding: 10px;
    font-size: 15px;
    line-height: 1.3;
    text-align: center;
    background-color: var(--card_bg);
    border-radius: 0 0 20px 20px;
}

.aligncenter {
    display: block;
    margin: 30px auto;
}

.alignright {
    float: right;
    margin: 30px 0 30px 30px;
}

.alignleft {
    float: left;
    margin: 30px 30px 30px 0;
}

.alignnone {
    display: block;
    margin: 30px auto;
}

@media screen and (max-width: 728px) {

    .alignright:not(.wp-caption),
    .alignleft:not(.wp-caption) {
        display: table;
    }

    .alignright,
    .alignleft {
        float: none;
        margin: 0 auto 30px;
    }
}

/* ## Lists */

.post ul,
.post ol {
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.post ul li,
.post ol li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 10px;
}

.post ul li:last-child,
.post ol li:last-child {
    margin-bottom: 0;
}

.post ul>li:before {
    content: '';
    position: absolute;
    left: 10px;
    top: 9px;
    width: 10px;
    height: 10px;
    border: 2px solid var(--accent);
    border-radius: 50%;
}

.post ol {
    counter-reset: listCounter;
}

ol[start] {
    counter-reset: listCounter calc(var(--start) - 1);
}

.post ol>li {
    counter-increment: listCounter;
}

.post ol>li:before {
    content: counter(listCounter);
    position: absolute;
    left: 0;
    top: 4px;
    display: flex;
    justify-content: center;
    width: 23px;
    height: 23px;
    font-family: 'Ruberoid', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: var(--accent_font);
    line-height: 25px;
    background-color: var(--accent);
    border-radius: 50%;
}

.post li ul,
.post li ol {
    margin: 10px 0;
}

/* ## Table */

.post-table {
    margin: 40px 0;
    max-width: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.post table {
    width: 100%;
    font-size: 15px;
    line-height: 1.3;
    border: unset;
    border-collapse: collapse;
    border-spacing: 0;
}

.post tbody tr:nth-child(odd) {
    background-color: var(--table_row_bg);
}

.post table thead tr,
.post table thead+tbody tr:first-child {
    color: var(--table_header_font);
    background-color: var(--table_header_bg);
}

.post table thead+tbody tr:nth-child(even) {
    background-color: transparent;
}

.post table thead+tbody tr:nth-child(odd) {
    background-color: var(--table_row_bg);
}

.post td,
.post th {
    padding: 10px 20px;
    text-align: center;
    border: unset
}

.post table thead th {
    font-weight: 600;
}

.post td:first-of-type,
.post th:first-of-type {
    text-align: left;
}

.post table tr:first-child>td:first-child,
.post table tr:first-child>th:first-child {
    border-top-left-radius: 10px;
}

.post table tr:first-child>td:last-child,
.post table tr:first-child>th:last-child {
    border-top-right-radius: 10px;
}

.post table tr:last-child>td:last-child,
.post table tr:last-child>th:last-child {
    border-bottom-right-radius: 10px;
}

.post table tr:last-child>td:first-child,
.post table tr:last-child>th:first-child {
    border-bottom-left-radius: 10px;
}

.post table thead tr:last-child>td:last-child,
.post table thead tr:last-child>th:last-child {
    border-bottom-right-radius: 0;
}

.post table thead tr:last-child>td:first-child,
.post table thead tr:last-child>th:first-child {
    border-bottom-left-radius: 0;
}

.post table thead+tbody tr:first-child>td:first-child,
.post table thead+tbody tr:first-child>th:first-child {
    border-top-left-radius: 0;
}

.post table thead+tbody tr:first-child>td:last-child,
.post table thead+tbody tr:first-child>th:last-child {
    border-top-right-radius: 0;
}

/* ## Standard gallery */

.gallery {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin: 30px 0;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    margin: 0;
    margin-bottom: 5px;
    text-align: center;
}

.gallery-icon.landscape {
    height: 100%;
}

.gallery-item a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.gallery-item a:hover {
    opacity: 0.8;
}

.gallery-icon img {
    margin: 0 auto;
    display: block;
    max-width: unset;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gallery-icon:not(:only-child) img {
    border-radius: 20px 20px 0 0;
}

@media screen and (min-width: 768px) {
    .gallery-columns-1 .gallery-item {
        flex-basis: calc(100% - 5px);
    }

    .gallery-columns-2 .gallery-item {
        flex-basis: calc(50% - 5px);
    }

    .gallery-columns-3 .gallery-item {
        flex-basis: calc(33.3333333333% - 5px);
    }

    .gallery-columns-4 .gallery-item {
        flex-basis: calc(25% - 5px);
    }

    .gallery-columns-5 .gallery-item {
        flex-basis: calc(20% - 5px);
    }

    .gallery-columns-6 .gallery-item {
        flex-basis: calc(16.6666666667% - 5px);
    }

    .gallery-columns-7 .gallery-item {
        flex-basis: calc(14.2857142857% - 5px);
    }

    .gallery-columns-8 .gallery-item {
        flex-basis: calc(12.5% - 5px);
    }

    .gallery-columns-9 .gallery-item {
        flex-basis: calc(11.1111111111% - 5px);
    }
}

@media screen and (max-width: 768px) {
    .gallery-item {
        flex-basis: calc(50% - 5px);
    }
}

@media screen and (max-width: 400px) {
    .gallery-item {
        flex-basis: calc(100% - 5px);
    }
}

/* ## Blockquote, blocks */

blockquote p:last-of-type {
    margin-bottom: 0;
}

blockquote:not([class]),
blockquote.custom {
    position: relative;
    margin: 60px 0 50px;
    padding: 40px 50px;
    width: 100%;
    font-size: 26px;
    text-align: center;
    border-top: 1px solid #d4dde7;
    border-bottom: 1px solid #d4dde7;
}

blockquote.custom svg {
    position: absolute;
    top: -16px;
    left: calc(50% - 40px);
    width: 80px;
    height: 34px;
    background-color: var(--main_bg);
    fill: var(--accent);
}

.card-bg blockquote.custom svg {
    background-color: var(--card_bg);
}

.info-box {
    position: relative;
    margin: 20px 0;
    font-size: 14px;
    background-color: var(--main_bg);
    border-width: 1px;
    border-style: solid;
    border-color: var(--color);
    border-radius: 10px;
}

.dark .info-box {
    background-color: var(--card_bg);
}

.info-box:not(:last-child) {
    margin-bottom: 20px;
}

.info-box:not(:first-child) {
    margin-top: 20px;
}

@media screen and (min-width: 641px) {
    .info-box {
        padding: 20px 30px;
    }
}

@media screen and (max-width: 768px) {
    blockquote {
        padding: 20px;
    }

    blockquote:not([class]),
    blockquote.custom {
        font-size: 20px;
    }

    .info-box {
        padding: 20px;
    }
}

/* ## Related */

.film-related {
    padding: 20px;
    background-color: var(--dark_bg);
}

.film-related h2 {
    margin-top: 0;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.film-related.bg-white h2 {
    color: #000;
}

.dark .film-related.bg-white h2 {
    color: #fff;
}

@media screen and (max-width: 768px) {
    .film-related {
        padding: 10px;
    }
}

/* ## Carousel */

.film-carousel {
    position: relative;
    padding: 20px;
}

.film-carousel h2 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 600;
}

.carousel-inner {
    position: relative;
}

@media screen and (max-width: 768px) {
    .film-carousel {
        padding: 10px;
    }
}

/* ## Share */

.film-share {
    position: relative;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, .15);
}

.film-share .ya-share2__list.ya-share2__list_direction_horizontal {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    width: 100%;
}

.film-share .ya-share2__list.ya-share2__list_direction_horizontal>.ya-share2__item {
    margin: 0;
    transition: .3s;
}

.film-share .ya-share2__link {
    display: block;
    width: 100%;
    height: 44px;
}

.film-share .ya-share2__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    border-radius: 0;
}

.film-share .ya-share2__container_size_l .ya-share2__badge .ya-share2__icon {
    height: 100%;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 70%;
}

.film-share .ya-share2__container_mobile .ya-share2__badge {
    border-radius: 0 !important;
}

@media screen and (max-width: 480px) {
    .film-share {
        padding: 0;
    }
}

/* ## Share sticky */

.share-sticky {
    position: fixed;
    top: 50%;
    right: 16px;

    transform: translateY(-50%);
    z-index: 100;
}

.share-sticky .ya-share2__title {
    display: none;
}

.share-sticky .ya-share2__link {
    display: block;
    width: 45px;
    height: 45px;
}

.share-sticky .ya-share2__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    border-radius: 0;
}

.share-sticky .ya-share2__icon {
    height: 100%;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 70%;
}

@media screen and (max-width: 1366px) {
    .share-sticky {
        display: none;
    }
}

/* ## Reactions */

#reactions-block {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.reaction-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    cursor: pointer;
}

.reaction-button.disabled {
    cursor: not-allowed;
}

.reaction-emoji {
    font-size: 30px;
    line-height: 1;
    transition: .3s;
}

.reaction-button.active .reaction-emoji,
.reaction-button:not(.disabled):hover .reaction-emoji {
    transform: scale(1.2);
}

.reaction-count {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    color: var(--text_font);
    transition: .3s;
}

.reaction-button.active .reaction-count,
.reaction-button:not(.disabled):hover .reaction-count {
    color: var(--accent);
}

@media screen and (max-width: 480px) {
    .reaction-emoji {
        font-size: 20px;
    }

    .reaction-count {
        font-size: 12px;
    }
}

/*--------------------------------------------------------------
# Comments
--------------------------------------------------------------*/

.site-comments {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
    padding: 20px;
}

.comments-header--type-1 {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.comments-header--type-2 {
    display: flex;
    justify-content: space-between;
    grid-column: 1 / -1;
}

@media screen and (max-width: 768px) {
    .comments-header--type-2 {
        flex-wrap: wrap;
    }
}

.comments-title {
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: 600;
}

.comments-number {
    font-size: 14px;
    color: var(--text_font);
    line-height: 1.5;
}

.comments-load-target {
    position: relative;
}

.comments-load-target .loader-bg {
    --margin: -15px;
    --radius: 15px;
}

@media screen and (max-width: 768px) {
    .site-comments {
        grid-template-columns: minmax(250px, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .site-comments {
        padding: 10px;
    }
}

/* ## Sort */

.comment-sorting-buttons {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: var(--text_font);
    line-height: 1.5;
}

.sort-comments {
    transition: .3s;
    cursor: pointer;
}

.comments-header--type-1 .sort-comments {
    opacity: .8;
}

.comments-header--type-1 .sort-comments:hover,
.comments-header--type-1 .sort-comments.active {
    color: var(--accent);
    text-decoration: underline;
}

.comments-header--type-2 .sort-comments {
    padding: 10px 20px;
    font-size: 15px;
    line-height: 1.4;
    background-color: var(--card_bg);
    border-radius: 5px;
}

.comments-header--type-2 .sort-comments:hover,
.comments-header--type-2 .sort-comments.active {
    color: var(--accent_font);
    background-color: var(--accent);
}

@media screen and (max-width: 768px) {
    .comment-sorting-buttons {
        margin-left: 0;
    }

    .comments-header--type-2 .sort-comments {
        padding: 8px 10px;
        font-size: 13px;
    }
}

/* ## Load more */

.load-more-comments {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.load-more-comments .button {
    width: 270px;
}

/* ## List */

ol.comment-list,
ol.children {
    margin: 0;
    padding: 0;
    list-style: none;
}

ol.comment-list {
    margin-bottom: 30px;
}

.comment-list .children li {
    margin-left: 30px;
}

.comment-list .comment>div {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.comment-list .comment>div>*:not(:last-child) {
    margin-bottom: 10px;
}

.comment .avatar {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.comment .comment-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.comment .comment-inner>*:not(:last-child) {
    margin-bottom: 10px;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    line-height: 1;
}

.comment-author {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
}

.comment-reply-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 3px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    background-color: transparent;
    box-shadow: none;
    color: var(--text_font);
    fill: var(--text_font);
    font: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: none;
    opacity: .6;
    transition: .3s;
    cursor: pointer;
    white-space: normal;
}

.comment-reply-link:hover,
.comment-reply-link:focus,
.comment-reply-link:active {
    outline: 0;
    background: transparent;
    background-color: transparent;
    box-shadow: none;
    color: var(--accent);
    fill: var(--accent);
    opacity: 1;
}

.comment-text-wrap {
    position: relative;
}

.comment-text-wrap:not(.full) {
    position: relative;
}

.comment-text {
    color: var(--text_font);
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    word-break: break-all;
    hyphens: auto;
    overflow: hidden;
}

.comment-text-wrap.full .comment-text {
    max-height: unset;
}

.comment-text p:last-of-type {
    margin-bottom: 0;
}

.comment-text-more {
    display: none;
    margin-top: 5px;
    font-size: 14px;
    color: var(--accent);
    cursor: pointer;
}

.comment-text-more.visible {
    display: block;
}

.comment-text-more:hover {
    text-decoration: underline;
}

.comment-hide {
    transition: .3s;
    opacity: .2;
}

.comment-hide:hover {
    opacity: .7;
}

.comment-smile {
    height: 50px;
    width: auto;
    vertical-align: middle;
}

#reply-info {
    display: none;
}

#cancel-reply {
    padding: 0;
    color: var(--accent);
    text-transform: none;
    background-color: transparent;
    box-shadow: none;
}

#cancel-reply:hover {
    text-decoration: underline;
}

@media screen and (max-width: 728px) {
    .comment .avatar {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    .comment-list .children li {
        margin-left: 0;
    }

    .comment-course {
        margin-top: 5px;
        margin-left: unset;
        font-size: 10px;
    }

    .comment-rating-info {
        margin-right: 20px;
    }
}

/* ### Spoiler */

.comment-spoiler {
    position: relative;
    cursor: pointer;
    color: transparent;
    transition: color 0.3s, text-shadow 0.3s;
}

.light .comment-spoiler {
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.dark .comment-spoiler {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.comment-spoiler:hover,
.comment-spoiler.visible {
    color: inherit;
    text-shadow: none;
}

/* ### Comment bottom */

.comment-bottom {
    display: flex;
    align-items: center;
    gap: 6px 20px;
}

.comment-time {
    margin-left: auto;
    font-size: 12px;
    color: var(--main_font);
    opacity: 0.5;
}

.comment-rate-it {
    display: flex;
    align-items: center;
    gap: 7px;
}

.comment-rate-it.disabled {
    cursor: not-allowed;
}

.comment-rating {
    font-size: 14px;
    font-weight: 600;
    color: var(--text_font);
    line-height: 1;
    opacity: .5;
}

.comment-rate-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    fill: var(--text_font);
    opacity: .5;
    transition: .3s;
}

.comment-rate-it.disabled .comment-rate-button:not(.active) {
    opacity: .3;
}

.comment-rate-it:not(.disabled) .comment-rate-button {
    cursor: pointer;
}

.comment-rate-button.active,
.comment-rate-it:not(.disabled) .comment-rate-button:hover {
    fill: var(--accent);
    opacity: 1;
}

.comment-dislike {
    transform: scale(-1, -1);
}

/* ## Comment form */

.comment-respond {
    position: relative;
}

.comment-respond:only-child {
    display: flex;
    grid-column: span 2;
    justify-content: center;
}

.comment-respond:only-child form {
    width: 850px;
    max-width: 100%;
}

.comment-respond form {
    position: sticky;
    top: 0;
}

#cancel-comment-reply-link {
    position: absolute;
    right: 0;
    top: -20px;
    font-size: 12px;
}

.comment-respond form>div:not(:last-of-type) {
    margin-bottom: 10px;
}

.form-row.col-2 {
    display: flex;
    gap: 10px;
}

.form-row.col-2>div {
    flex: 1;
}

#author {
    padding: 12px 15px;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, .1);
    border-radius: 4px;
}

.comment-form-comment-bg {
    background-color: var(--card_bg);
    box-shadow: 3px 3px 6px rgba(0, 0, 0, .1);
    border-radius: 4px;
}

.comment-form-comment-bg textarea {
    padding: 12px 15px;
    border: 0;
}

.form-submit {
    margin-top: 20px;
}

.form-submit .button {
    width: 270px;
}

.comment-login {
    font-size: 14px;
    margin-bottom: 20px;
}

.comment-awaiting-moderation {
    font-size: 14px;
    color: red;
}

@media screen and (max-width: 768px) {
    .form-submit .button {
        width: 100%;
    }
}

/* ### Buttons */

.format-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    padding: 10px 9px 0;
    overflow: visible;
}

.format-button svg {
    pointer-events: none;
}

.format-buttons button {
    padding: 0;
    min-width: 30px;
    height: 30px;
    color: var(--text_font);
    font-weight: 400;
    text-transform: none;
    background-color: transparent;
    box-shadow: none;
    fill: var(--text_font);
    stroke: var(--text_font);
}

.format-buttons button:hover {
    color: var(--accent);
    fill: var(--accent);
    stroke: var(--accent);
    opacity: 1;
}

/* ### Smiles */

.smileys-popup {
    position: relative;
    padding: 10px 10px 0;
    width: 100%;
    max-height: 0;
    background-color: var(--card_bg);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

.smileys-popup.show {
    margin-bottom: 20px;
    max-height: 160px;
    opacity: 1;
}

.smileys-popup:before {
    content: '';
    display: block;
    position: absolute;
    top: -6px;
    left: 265px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 6px 6px 6px;
    border-color: transparent transparent var(--card_bg) transparent;
}

.smileys-popup-inner {
    display: flex;
    flex-wrap: wrap;
    max-height: 0;
    overflow: auto;
}

.smileys-popup.show .smileys-popup-inner {
    height: 100%;
    max-height: 140px;
}

.smileys-popup-inner::-webkit-scrollbar-track {
    border-radius: 5px;
    background-color: var(--main_bg);
}

.smileys-popup-inner::-webkit-scrollbar {
    width: 5px;
    background-color: var(--main_bg);
}

.smileys-popup-inner::-webkit-scrollbar-thumb {
    width: 20px;
    height: 50px;
    background-color: var(--accent);
    border-radius: 5px;
}

.smileys-popup img {
    margin-right: 10px;
    margin-bottom: 10px;
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.smileys-popup img:hover {
    transform: scale(1.2);
}

@media screen and (max-width: 768px) {
    .smileys-popup:before {
        content: none;
    }
}

/** ## Emoji */

.emoji-picker {
    margin-top: 10px;
}

.emoji-picker__item {
    display: inline-block;
    cursor: pointer;
    transition: transform 0.2s;
}

.emoji-picker__item:hover {
    transform: scale(1.2);
}

/* ## Avatars */

.comment-avatars {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    padding: 0;
    border: 0;
}

.comment-avatars__legend {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

.comment-avatars__list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
}

.comment-avatars__item {
    display: flex;
    cursor: pointer;
}

.comment-avatars__image {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 50%;
    opacity: 0.5;
    transition: .3s;
}

.comment-avatars__image:hover {
    opacity: 1;
}

.comment-avatars__radio {
    display: none;
}

.comment-avatars__radio:checked~.comment-avatars__image {
    border-color: var(--accent_hover);
    opacity: 1;
}

/*--------------------------------------------------------------
# Film card
--------------------------------------------------------------*/

.bg-white {
    background-color: var(--card_bg);
}

.film-card {
    display: grid;
    grid-template-columns: 200px minmax(250px, 1fr);
    align-items: start;
    gap: 20px;
    padding: 20px;
    border-top: 1px solid var(--main_bg);
}

.film-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.film-card h1 {
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 600;
}

.film-card-right {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media screen and (max-width: 768px) {
    .film-card {
        grid-template-columns: minmax(250px, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .film-card {
        padding: 10px;
    }
}

/* ## Image */

.film-card-left {
    position: relative;
    display: flex;
    flex-direction: column;
    grid-row: span 2;
}

.poster-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    width: 200px;
    aspect-ratio: 2 / 3;
    background-color: var(--main_bg);
}

.poster-wrap svg {
    width: 40px;
    height: 40px;
    stroke: var(--menu_font);
    opacity: .3;
}

.poster {
    border-radius: 5px;
    width: 200px;
    aspect-ratio: 2 / 3;
}

.light .poster {
    background-color: #fff;
    box-shadow: 0 0 0 1px #ccc, 2px 3px 3px 0 rgba(0, 0, 0, .1);
}

.dark .poster {
    background-color: var(--main_bg);
    box-shadow: 0 0 0 1px #050505, 2px 3px 3px 0 rgba(0, 0, 0, .5);
}

.poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-image {
    aspect-ratio: 2 / 3;
}

.post-image img {
    border-radius: 5px 5px 0 0;
}

@supports not (aspect-ratio: 1) {
    .poster {
        position: relative;
        padding-top: 150%;
        width: 100%;
    }

    .poster img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media screen and (max-width: 768px) {
    .poster {
        margin: auto;
    }
}

/* ## Likes */

.likes {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px;
}

.likes-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.like-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    box-shadow: none;
}

.likes-item.like .like-button {
    background-color: #33a42d;
}

.likes-item.like .like-button.active,
.likes-item.like .like-button:hover {
    background-color: #1d7c17;
}

.likes-item.dislike .like-button {
    background-color: #f73434;
}

.likes-item.dislike .like-button.active,
.likes-item.dislike .like-button:hover {
    background-color: #db0000;
}

.likes-item svg {
    fill: #fff;
}

.likes-item.dislike svg {
    transform: scaleY(-1);
}

.likes-circle-count {
    position: absolute;
    left: calc(50% - 30px);
    bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: conic-gradient(var(--accent) var(--percentage), var(--main_bg) 0%);
    box-shadow: 0 0 7px 0 rgba(0, 0, 0, .3);
    border: 5px solid var(--card_bg);
}

.likes-circle-count:before {
    content: attr(data-score);
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    font-size: 20px;
    font-weight: 600;
    background-color: var(--card_bg);
    border-radius: 50%;
}

/* ## Buttons */

.film-card-buttons {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 10px;
    border-top: 1px solid #ddd;
}

.dark .film-card-buttons {
    border-top: 1px solid #333;
}

.film-card-buttons.icons-only {
    justify-content: space-evenly;
}

.film-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 13px;
    color: var(--text_font);
    white-space: nowrap;
    transition: .3s;
    cursor: pointer;
}

.film-btn--top {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    width: 35px;
    height: 35px;
    color: #fff;
    background-color: rgba(167, 167, 167, 0.6);
    border-radius: 3px;
}

.film-btn:hover,
.film-btn.saved {
    color: var(--accent);
}

.film-btn__icon {
    flex-shrink: 0;
    stroke: currentColor;
    fill: currentColor;
}

.film-card-buttons.icons-only .film-btn__icon {
    width: 20px;
    height: 20px;
}

/* ### Bookmark */
/* 
.bookmark {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px;
    font-size: 14px;
    color: var(--text_font);
    border-radius: 0 0 3px 3px;
    opacity: .85;
    transition: .3s;
    cursor: pointer;
}

.bookmark.saved {
    color: var(--accent);
}

.light .bookmark {
    border-top: 1px solid #ddd;
}

.dark .bookmark {
    border-top: 1px solid #333;
}

.light .bookmark:hover {
    background: rgba(0, 0, 0, .05);
    opacity: 1;
}

.dark .bookmark:hover {
    background: rgba(255, 255, 255, .15);
    opacity: 1;
}

.bookmark svg {
    stroke: var(--text_font);
}

.bookmark.saved svg {
    stroke: var(--accent)
} */

/* ## Rating */

.post-rating-wrap {
    display: flex;
    align-items: center;
    flex-direction: column;
    flex-shrink: 0;
}

.post-rating {
    position: relative;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    padding-left: 60px;
    margin-bottom: 15px;
}

.post-rating .icon-wrap {
    position: absolute;
    left: 0;
    top: calc(50% - 23px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--accent_2);
    border-radius: 50%;
}

.post-rating svg {
    stroke: #000;
}

.average-rating {
    display: flex;
    align-items: baseline;
    font-family: 'Ruberoid', sans-serif;
    font-size: 30px;
    font-weight: 500;
    line-height: 1;
}

.average-rating span {
    margin-left: 3px;
    font-size: 14px;
    opacity: .5;
}

.rating-num {
    font-family: 'Ruberoid', sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 1;
    opacity: .5;
}

.post-rating .loader {
    --size: 3px;
    --width: 30px;
    --margin: -5px;
    --radius: 10px;
}

.post-rating .loader:after {
    top: 2px;
    left: 4px;
}

@media screen and (max-width: 980px) {
    .post-rating-wrap {
        position: absolute;
        top: 0;
        left: 0;
        align-items: start;
        padding: 20px;
        width: 100%;
        height: 100%;
    }

    .film-card-left>.post-rating-wrap {
        display: none;
    }

    .post-rating {
        flex-direction: row;
        align-items: center;
        margin-top: 5px;
        height: 30px;
        padding: 12px 10px 8px 0;
        color: #000;
        background-color: #fff;
        border: 1px solid var(--accent_2);
        border-radius: 5px;
    }

    .average-rating {
        font-size: 12px;
        font-weight: 400;
    }

    .average-rating span {
        display: none;
    }

    .rating-num {
        display: none;
    }

    .post-rating .icon-wrap {
        position: initial;
        top: unset;
        margin-top: -4px;
        margin-right: 10px;
        width: 30px;
        height: 30px;
        border-radius: 5px 0 0 5px;
    }

    .post-rating .icon-wrap svg {
        width: 20px;
    }
}

/* ### Rate it */

.post-rate-it {
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background-color: var(--accent);
    border-radius: 10px;
}

.post-rate-it>span {
    margin-right: 20px;
    max-width: 70px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}

.post-rate-it .stars {
    display: flex;
    align-items: center;
    margin-top: -3px;
    stroke: var(--accent_font);
    fill: transparent;
}

.post-rate-it .stars label {
    position: relative;
    display: flex;
    margin-right: 3px;
    transition: .3s;
    overflow: hidden;
    cursor: pointer;
}

.post-rate-it .stars label.selected svg {
    fill: var(--accent_font);
}

.post-rate-it .stars input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

@media screen and (max-width: 1240px) {
    .post-rate-it>span {
        display: none;
    }
}

@media screen and (max-width: 980px) {
    .post-rate-it {
        align-self: center;
        margin-top: auto;
    }
}

/* ## Rating KP & IMDB */

.film-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-block: 5px;
}

.film-rating--type-1 {
    width: 100%;
    gap: 10px;
}

.film-rating--type-3 {
    gap: 20px;
}

.film-rating__item {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 30px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}

.film-rating--type-1 .film-rating__item {
    flex: 1 1 0;
    justify-content: center;
    padding: 0 10px;
    font-weight: 600;
    border-width: 2px;
    border-style: solid;
    border-radius: 3px;
}

.film-rating--type-2 .film-rating__item {
    padding: 0 10px;
    border-width: 2px;
    border-style: solid;
    border-radius: 100px;
}

.film-rating__item--imdb {
    border-color: #f6c700;
}

.film-rating__item--kp {
    border-color: #ff5400;
}

.film-rating__icon {
    flex-shrink: 0;
}

/* ### Rating other */

.rating-other {
    display: flex;
    align-items: center;
    margin-block: 5px;
}

.rating-other div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-grow: 1;
    padding: 10px;
    height: 30px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    border-width: 2px;
    border-style: solid;
    border-radius: 3px;
}

.rating-other div.kp {
    border-color: #ff5500;
}

.rating-other div.imdb {
    margin-right: 10px;
    border-color: #fbbf14;
}

@media screen and (max-width: 768px) {
    .rating-other {
        margin-block: 5px;
    }
}

/* ## Heading bottom */

.heading-bottom {
    display: flex;
    align-items: center;
    margin-bottom: 35px;
}

.film-original {
    margin-right: 30px;
    max-width: calc(100% - 100px);
    font-size: 14px;
    color: var(--card_color);
    line-height: 1.3;
    opacity: .5;
}

.film-year {
    display: flex;
    align-items: center;
    margin-top: 3px;
    font-family: 'Ruberoid', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: var(--card_font);
    line-height: 1;
    opacity: .44;
}

.film-year svg {
    margin-top: -4px;
    margin-right: 10px;
    fill: var(--card_font);
    opacity: .8;
}

/* ## Film desc */

.film-desc-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.film-desc-inner {
    position: relative;
    font-size: 13px;
    color: var(--text_font);
    overflow: hidden;
    transition: max-height 0.5s ease-in;
}

.film-desc-inner p {
    margin-block: 10px;
}

.film-desc-inner.collapsed {
    max-height: 95px;
}

.film-desc-inner.expanded {
    max-height: 500px;
}

.film-desc-inner:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, var(--card_bg) 100%);
    transition: 0.5s ease-in;
    pointer-events: none;
}

.bg-gray .film-desc-inner:after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, var(--main_bg) 100%);
}

.film-desc-inner.expanded:after {
    opacity: 0;
}

.film-desc-inner.collapsed:after {
    opacity: 1;
}

.film-desc-more {
    display: flex;
    justify-content: center;
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text_font);
    border-radius: 3px;
    box-shadow: 0 0 0 1px #ccc, 2px 3px 3px 0 rgba(0, 0, 0, .1);
    cursor: pointer;
}

@media screen and (max-width: 480px) {
    .film-desc.text {
        font-size: 15px;
    }
}

/* ## Film info */

.film-info {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    line-height: 1.4;
}

.film-info .top {
    display: flex;
    justify-content: space-between;
    gap: 5px 15px;
}

.film-info .top>div {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.film-info .item {
    flex-direction: row;
    color: var(--text_font);
}

.film-info .item:not(:last-child) {
    margin-bottom: 5px;
}

.film-info .item span {
    flex-shrink: 0;
    margin-right: 5px;
    color: var(--main_font);
    font-weight: 600;
}

.film-info .item a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .film-info .top {
        flex-direction: column;
    }
}

/* ## Films gallery */

.film-gallery-wrap {
    padding: 20px;
}

.film-gallery-wrap h2 {
    margin-block: 0;
    margin-bottom: -20px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
}

.film-gallery {
    position: relative;
    padding-top: 40px;
}

.film-gallery .image-wrap {
    height: 160px;
    border-radius: 5px;
    transition: .3s;
}

.film-gallery .image-wrap:hover {
    opacity: .8;
}

.video-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.film-gallery .video-wrap {
    /* height: 160px; */
    border-radius: 5px;
    aspect-ratio: 16 / 9;
    background-color: var(--dark_bg);
}

.video-wrap img {
    max-width: unset;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media screen and (max-width: 980px) {
    .film-gallery-wrap {
        grid-column: unset;
    }

    .film-gallery-wrap h2 {
        padding-right: 80px;
    }
}

@media screen and (max-width: 768px) {
    .film-gallery-wrap h2 {
        padding-right: 0;
    }
}

/* ## Splide */

.carousel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 10px;
}

.carousel .splide__arrows {
    display: flex;
    align-items: center;
    gap: 5px;
}

.carousel-header .splide__arrows {
    margin-left: auto;
}

.film-gallery .splide__arrows {
    position: absolute;
    top: 0;
    right: 0;
}

.carousel .splide__arrow {
    position: initial;
    width: 30px;
    height: 30px;
    background-color: var(--accent);
    border-radius: 5px;
    opacity: 1;
    transform: none;
}

.widget-carousel .splide__arrow {
    width: 30px;
    height: 30px;
    background-color: var(--accent);
    border-radius: 5px;
    opacity: 1;
}

.widget-carousel .splide__arrow--next {
    right: -1em;
}

.widget-carousel .splide__arrow--prev {
    left: -1em;
}

.carousel .splide__arrow:disabled {
    background-color: var(--accent);
}

.widget-carousel .splide__arrow:disabled {
    display: none;
}

.carousel .splide__arrow svg {
    height: 12px;
    fill: var(--accent_font);
}

.widget-carousel .splide__arrow svg {
    height: 12px;
    fill: var(--accent_font);
}

@media screen and (max-width: 980px) {
    .film-gallery-wrap .carousel .splide__arrows {
        top: -10px;
    }
}

@media screen and (max-width: 768px) {
    .carousel .splide__arrows {
        position: inherit;
        justify-content: center;
        margin-top: 10px;
    }

    .film-gallery-wrap .carousel .splide__arrows {
        top: 0;
    }
}

/* ## Player */

.film-player-wrap {
    position: relative;
}

.film-player-wrap h2 {
    margin-block: 0;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
}

.film-player-wrap h1 {
    margin-block: 0;
    padding: 10px 20px;
    font-size: clamp(20px, 3vw, 24px);
    color: var(--main_font);
}

.film-player-wrap .post-video {
    position: relative;
}

.film-player-wrap .tabs {
    padding: 10px 20px;
}

.film-player-wrap .tab-item {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    background-color: #4f4f4f;
}

.film-player-inner {
    background-color: var(--dark_bg);
}

.post-player-info {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
}

.kinoplayer-balancers {
    min-height: 400px;
}

.kinoplayer-balancers.second-type .kinoplayer-series {
    flex-grow: 1;
}

.post-player {
    position: relative;
    width: 100%;
    max-height: 80vh;
    background-color: #000;
    overflow: hidden;
}

.film-player-inner .post-player {
    max-height: 60vh;
}

.post-player::before {
    content: '';
    display: block;
    padding-top: 56.25%;
}

.post-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none;
}

@supports (aspect-ratio: 16 / 9) {
    .post-player {
        aspect-ratio: 16 / 9;
        height: auto;
    }

    .post-player::before {
        display: none;
        padding-top: 0;
    }
}

@media screen and (max-width: 768px) {
    .film-player-wrap h1 {
        padding: 10px 10px 15px;
    }

    .film-player-wrap .tabs {
        padding: 10px;
    }
}

/* ## Episodes pagination */

.serial-pagination {
    padding: 20px 60px;
    background-color: var(--dark_bg);
}

.serial-pagination .splide__arrow {
    width: 30px;
    height: 30px;
    background-color: var(--accent);
    border-radius: 5px;
    opacity: 1;
}

.serial-pagination .splide__arrow:disabled {
    background-color: var(--accent);
}

.serial-pagination .splide__arrow svg {
    height: 12px;
    fill: var(--accent_font);
}

.serial-pagination__item {
    display: flex;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    background-color: #4f4f4f;
    border-radius: 5px;
    cursor: pointer;
    transition: .3s;
}

.serial-pagination__item:hover,
.serial-pagination__item--active {
    color: var(--accent_font);
    background-color: var(--accent);
}

@media screen and (max-width: 768px) {
    .serial-pagination {
        padding: 10px 55px;
    }
}

/* ## Glightbox */

.gcontainer button {
    padding: 0;
    box-shadow: none;
}

.gcontainer .plyr {
    --plyr-color-main: var(--accent)
}

.gcontainer .plyr--full-ui.plyr--video .plyr__control--overlaid {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/

.item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 5px;
}

a.item {
    color: var(--card_font);
}

.item-image,
.image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 5px;
    overflow: hidden;
}

.item-image img,
.image-wrap img,
.item-image picture,
.image-wrap picture {
    max-width: unset;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.item-image svg {
    width: 40px;
    height: 40px;
    stroke: var(--menu_font);
    opacity: .3;
}

/* ## Articles list */

.articles-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.articles-list .item {
    background-color: var(--card_bg);
    border-radius: 5px;
    transition: .3s;
    aspect-ratio: 2 / 3;
}

.articles-list .item-image {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
}

.articles-list .item .h7 {
    color: var(--card_font);
    line-height: 1.33;
}

.articles-list .item .h7:hover {
    color: var(--accent);
}

.item-block {
    display: flex;
    flex-direction: column;
}

@media screen and (max-width: 1024px) {
    .articles-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .articles-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .articles-list {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }
}


/* ### Rating other */

.item-rating-other {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.item-rating-other div {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #fff;
    line-height: 1;
}

.item-rating-other .kp span {
    margin-right: 5px;
    color: #ff5500;
    font-weight: 700;
}

.item-rating-other .imdb span {
    margin-right: 5px;
    color: #fbbf14;
    font-weight: 700;
}

/* ### Play */

.item-play {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    border-radius: 5px;
    transition: .3s ease-in-out;
    visibility: hidden;
    opacity: 0;
}

.item-play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    color: #fff;
    background-color: var(--accent);
    border-radius: 50%;
}

.item-play--colorful .item-play-icon {
    color: var(--accent);
    background-color: rgba(0, 0, 0, 0.75);
}

.item-play svg {
    stroke: currentColor;
    fill: currentColor;
}

.video-wrap .item-play,
.item:hover .item-play {
    visibility: visible;
    opacity: 1;
}

.video-wrap:hover .item-play {
    opacity: .8;
}

/* ### Year */

.item-year {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    padding: 3px 5px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent_font);
    line-height: 1;
    background-color: var(--accent);
    border-radius: 3px;
}

.item-year svg {
    margin-top: -4px;
    margin-right: 10px;
    fill: var(--card_font);
    opacity: .8;
}

/* ### Rating age */

.item-age {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    padding: 3px 5px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    line-height: 1;
    background-color: red;
    border-radius: 3px;
}

/* ### Rating */

.item-rating {
    display: flex;
    align-items: center;
    align-self: flex-start;
    margin-bottom: auto;
    padding: 6px 10px 4px 7px;
    font-family: 'Ruberoid', sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: #000;
    line-height: 1;
    background-color: var(--accent_2);
    border: 2px solid #fff;
    border-radius: 14px;
}

.item-rating svg {
    margin-top: -3px;
    margin-right: 3px;
    stroke: #000;
}

.articles-list .item-rating {
    position: absolute;
    top: 10px;
    left: 20px;
}

/* ### Original */

.item-original {
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--card_font);
    line-height: 1.3;
    opacity: .5;
}

/* ### Gentre */

.item-genre {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 400;
    color: #dcdcdc;
}

.item-genre a {
    margin-right: 2px;
}

.item-genre a:not(:first-child) {
    margin-left: 2px;
}

.item-genre a:hover {
    text-decoration: underline;
}

/* ### Desc */

.item-desc {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.43;
    opacity: .7;
}

/*--------------------------------------------------------------
# Archive
--------------------------------------------------------------*/
.search section,
.archive section {
    position: relative;
    padding: 20px;
}

.archive-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding-left: 20px;
    padding-right: 20px;
}

.archive-info h1 {
    position: relative;
    margin-bottom: 0;
}

.archive .h2 {
    margin-bottom: 0;
}

.archive-description {
    margin-bottom: 40px;
}

.main-block {
    position: relative;
}

.p-20 {
    padding: 20px;
}

@media screen and (max-width: 768px) {
    .p-20 {
        padding: 10px;
    }
}

.main-block:not(:last-child) {
    margin-bottom: 40px;
}

.main-block h2 {
    display: flex;
    align-items: center;
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 20px;
    line-height: 1.3;
}

.main-block header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.main-block header h2,
.main-block header h1 {
    margin-bottom: 0;
}

@media screen and (max-width: 1040px) {
    .main-block header {
        display: block;
    }

    .main-block header h2 {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 768px) {
    .main-block:not(:last-of-type) {
        margin-bottom: 50px;
    }

    .archive-info {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 10px;
    }

    .archive section {
        padding: 10px;
    }
}

/* ## Views */

.view-options {
    display: flex;
    align-items: center;
}

.view-option {
    padding: 0;
    width: 38px;
    height: 38px;
    background-color: transparent;
    border-radius: 10px;
}

.view-option.active,
.view-option:hover {
    background-color: var(--accent);
    opacity: 1;
}

.view-option svg {
    fill: #a9acb0;
    transition: .3s;
}

.view-option.active svg,
.view-option:hover svg {
    fill: #fff;
}

/* ### Card view */

.articles-list.grid-view {
    gap: 10px;
}

.articles-list.grid-view .item-genre,
.articles-list.grid-view .item-desc {
    display: none;
}

@supports not (aspect-ratio: 1) {
    .articles-list .item-image {
        position: relative;
        padding-top: 150%;
        width: 100%;
    }

    .articles-list .item-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media screen and (max-width: 768px) {
    .articles-list.grid-view {
        gap: 15px;
    }

    .articles-list.grid-view .item {
        padding: 20px 15px 25px;
    }

    .articles-list.grid-view .item-image {
        margin: -20px -15px 25px;
        width: calc(100% + 30px);
        border-radius: 20px;
    }

    .articles-list.grid-view .item-rating-other {
        transform: scale(0.7);
        transform-origin: center;
    }
}

/* ### List view */

.articles-list.list-view {
    --min: 330px;
    gap: 35px;
}

.articles-list.list-view .item {
    flex-direction: row;
    padding: 20px;
}

.articles-list.list-view .item-image {
    margin-right: 20px;
    width: 130px;
    border-radius: 20px;
    aspect-ratio: 2 / 3;
}

.articles-list.list-view .item-desc {
    display: none;
}

.articles-list.list-view .item-rating-other {
    transform: scale(0.7);
    transform-origin: center;
}

@media screen and (max-width: 768px) {
    .articles-list.list-view .item-image {
        height: 100%;
    }
}

@media screen and (max-width: 480px) {
    .articles-list.list-view .item-image {
        width: 100px;
    }

    .articles-list.list-view .item-rating-other {
        transform: scale(0.6);
        transform-origin: center;
    }
}

/* ### Grid view */

.articles-list.card-view {
    gap: 40px;
    grid-template-columns: minmax(var(--min), 1fr);
}

.articles-list.card-view .item {
    flex-direction: row;
    padding: 20px;
}

.articles-list.card-view .item-image {
    margin-right: 30px;
    width: 180px;
    border-radius: 30px;
    aspect-ratio: 2 / 3;
}

.articles-list.card-view .item-rating-other {
    transform: scale(0.8);
    transform-origin: center;
}

@supports not (aspect-ratio: 1) {
    .articles-list.card-view .item-image {
        height: 270px;
    }
}

@media screen and (max-width: 768px) {
    .articles-list.card-view .item {
        flex-direction: column;
    }

    .articles-list.card-view .item-image {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
    }
}

/* ### More */

.load-more {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
}

.load-more .button {
    width: 300px;
}

/* ## Other */

.error404 .archive-info {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
}

.error404 .archive-info picture {
    position: absolute;
    right: 0;
}

.error404 h1 {
    margin-bottom: 15px;
}

.error404 .no-sidebar {
    margin-bottom: 0;
}

.error404 small {
    margin-bottom: 5px;
    width: 100%;
    font-size: 14px;
    opacity: .5;
}

.description404 {
    display: flex;
    align-items: center;
}

.description404 .num {
    font-family: 'Ruberoid', sans-serif;
    font-size: 370px;
    font-weight: 700;
    color: var(--main_font);
    line-height: 1;
}

@media screen and (max-width: 1140px) {
    .error404 .archive-info picture {
        display: none;
    }
}

@media screen and (max-width: 980px) {
    .description404 .num {
        font-size: 28vw;
    }
}

@media screen and (max-width: 768px) {
    .description404 .num {
        margin-right: 20px;
    }
}

@media screen and (max-width: 420px) {
    .description404 .num {
        margin-right: 0;
    }
}

/* ## Actors */

.actor-films {
    padding: 20px;
}

.actor-films-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.actor-films-header h2 {
    margin-top: 0;
    margin-bottom: 0;
}

.actor-films-text {
    margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
    .actor-films-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ## Carousel */

.carousel .item {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
}

.carousel .item-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 2 / 3;
}

.item .text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    padding: 10px;
    width: 100%;
    height: 100%;
    color: #fff;
    border-radius: 5px;
}

.item .text-overlay:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.89) 2.52%, rgba(0, 0, 0, 0.8) 19.75%, rgba(255, 255, 255, 0) 80%);
    border-radius: 5px;
    transition: .3s;
    pointer-events: none;
}

.item .text-overlay .h7 {
    position: relative;
    color: #fff;
    text-align: center;
}

@supports not (aspect-ratio: 1) {
    .carousel .item {
        position: relative;
        padding-top: 66.67%;
        width: 100%;
    }

    .carousel .item-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

/* ## Filter */

.main-filter.main-block {
    padding: 30px 25px;
    background-color: var(--card_bg);
    border-radius: 10px;
}

.filter-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.filter-form .form-grid {
    --min: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--min), 1fr));
    gap: 20px 15px;
}

.filter-form label {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.1;
}

.filter-form button {
    width: 290px;
}

.form-footer {
    display: flex;
    align-items: center;
    gap: 30px;
}

@media screen and (max-width: 728px) {
    .filter-form button {
        width: 100%;
    }
}

@media screen and (max-width: 420px) {
    .filter-form .form-grid {
        --min: 200px;
    }

    .form-footer {
        flex-direction: column-reverse;
    }
}

/* ## Range */

.range {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.range .noUi-target {
    margin-top: 30px;
}

.range__label {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.1;
}

.range__values {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

.range__values-item {
    font-size: 13px;
    line-height: 1;
    opacity: .5;
}

/* ## Switch */

.switches-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 15px;
}

.switch {
    --width: 37px;
    --height: 20px;
    --toggle-size: calc(var(--height) - 0.4em);
    --toggle-offset: 0.2em;
    --background-off: var(--main_bg);
    --background-on: var(--accent);
    --toggle-off: #ffffff;
    --toggle-on: #ffffff;
    --shadow-off: 0 2px 5px rgba(0, 0, 0, 0.2);
    --shadow-on: 0 0 8px rgba(59, 130, 246, 0.5);

    position: relative;
    display: flex;
    align-items: center;
    flex-grow: 1;
    gap: 20px;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .switch {
        gap: 10px;
    }
}

.switch__slider {
    position: relative;
    flex-shrink: 0;
    width: var(--width);
    height: var(--height);
    background-color: var(--background-off);
    border-radius: var(--height);
    transition: 0.4s cubic-bezier(0.44, 0.09, 0.21, 0.97);
    overflow: hidden;
}

.switch__slider::before {
    content: "";
    position: absolute;
    left: var(--toggle-offset);
    bottom: var(--toggle-offset);
    width: var(--toggle-size);
    height: var(--toggle-size);
    background-color: var(--toggle-off);
    border-radius: 50%;
    box-shadow: var(--shadow-off);
    transition: 0.4s cubic-bezier(0.44, 0.09, 0.21, 0.97);
}

.switch__slider::after {
    content: "";
    position: absolute;
    inset: 0;
    /* background-image:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2) 23%, transparent 24%),
        radial-gradient(circle at 53% 53%, rgba(255, 255, 255, 0.2) 23%, transparent 24%);
    background-size: 0.75em 0.75em;
    background-position:
        0 0,
        0.35em 0.35em; */
    opacity: 0;
    transition: opacity 0.4s ease;
}

.switch__control:checked+.switch__slider {
    background-color: var(--background-on);
}

.switch__control:checked+.switch__slider::before {
    transform: translateX(calc(var(--width) - var(--height)));
    background-color: var(--toggle-on);
    box-shadow: var(--shadow-on);
    animation: ripple 0.6s linear;
}

.switch__control:checked+.switch__slider::after {
    opacity: 1;
}

.switch__control:focus+.switch__slider {
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.switch__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    gap: 15px;
}

.switch__text {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
}

@media screen and (max-width: 768px) {
    .switch__text {
        font-size: 14px;
    }
}

.switch__price {
    font-size: 16px;
    line-height: 1;
    white-space: nowrap;
}

/* ripple animation */
@keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }

    100% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
}

/* ### Sort */

.sort-wrap {
    position: relative;
}

.sort-current {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    cursor: pointer;
    transition: color .3s;
}

.sort-current:hover {
    color: var(--accent);
}

.sort-current:before {
    content: '⇅';
}

.sort-current:after {
    content: '';
    margin-top: 3px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 5px 0 5px;
    border-color: var(--accent) transparent transparent transparent;
    transform: rotate(0deg);
}

.sort-list {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 20px;
    width: 200px;
    background-color: var(--card_bg);
    box-shadow: 0 0 13px 0 rgba(100, 120, 164, 0.25);
    border-radius: 5px;
    transform: translate(-50%, -20%);

    opacity: 0;
    transition: .3s ease-in;
    pointer-events: none;
}

.sort-list.active {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.sort-list-item {
    padding: 5px 15px;
    line-height: 1.3;
    font-size: 14px;
    color: var(--main_font);
    text-align: center;
    white-space: nowrap;
    border-radius: 5px;
    transition: background-color .3s ease-in;
    cursor: pointer;
}

.sort-list-item.active,
.sort-list-item:hover {
    background-color: var(--main_bg);
}

@media screen and (max-width: 768px) {
    .sort-current {
        font-size: 13px;
    }
}

/*--------------------------------------------------------------
# Serials
--------------------------------------------------------------*/

.serials-block {
    padding: 20px;
}

.serials-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px 20px;
    margin-bottom: 20px;
}

.serials-block-header h2 {
    margin: 0;
    margin-right: auto;
}

.serials-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.serials-list .item {
    height: 160px;
    border-radius: 5px;
    transition: .3s;
}

.serials-list .item-image {
    height: 100%;
    width: 100%;
}

.serials-list .item.is-viewed .item-image::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    height: 4px;
    background-color: var(--accent);
    pointer-events: none;
}

@media screen and (max-width: 1024px) {
    .serials-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .serials-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .serials-block {
        padding: 10px;
    }

    .serials-block-header {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .serials-block-header h2 {
        width: 100%;
    }
}

/* ## Pagination */
/* 
.serial-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 20px;
}

.serial-pagination-item {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--main_font);
    line-height: 1.2;
    transition: .3s;
}

.serial-pagination-item:hover {
    color: var(--accent);
}

.serial-pagination-item:hover .serial-pagination-icon {
    background-color: var(--accent_hover);
}

.serial-pagination-item .short-text {
    display: none;
}

.serial-pagination-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background-color: var(--accent);
    border-radius: 5px;
    opacity: 1;
    transform: none;
    transition: .3s;
}

.serial-pagination-icon svg {
    height: 12px;
    width: 1.2em;
    fill: var(--accent_font);
}

.prev-episode svg {
    transform: scaleX(-1);
}

@media screen and (max-width: 768px) {
    .serial-pagination {
        gap: 10px;
    }

    .serial-pagination-item {
        gap: 10px;
        font-size: 13px;
    }

    .serial-pagination-item .short-text {
        display: block;
    }

    .serial-pagination-item .full-text {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .serial-pagination {
        padding: 10px;
    }
} */

/*--------------------------------------------------------------
# Bookmarks list
--------------------------------------------------------------*/

.bookmarks-list {
    padding: 0 20px 20px 20px;
}

/*--------------------------------------------------------------
# Page rating
--------------------------------------------------------------*/

/* ## Tab */

.tabs-wrap {
    position: relative;
    display: flex;
    flex-grow: 1;
}

.tabs::-webkit-scrollbar {
    display: none;
}

.tabs {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    overflow-y: hidden;
    overflow-x: auto;
}

.tab-item {
    padding: 10px 20px;
    font-size: 15px;
    line-height: 1;
    white-space: nowrap;
    background-color: var(--card_bg);
    border-radius: 5px;
    cursor: pointer;
    transition: .3s;
}

.tab-item:hover,
.tab-item.active {
    color: var(--accent_font);
    background-color: var(--accent);
}

.has-gradient-left:before,
.has-gradient-right:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.has-gradient-left:before {
    left: -5px;
    background: linear-gradient(to right, var(--main_bg) 20%, rgba(255, 255, 255, 0));
    opacity: 1;
}

.has-gradient-right:after {
    right: -5px;
    background: linear-gradient(to left, var(--main_bg) 20%, rgba(255, 255, 255, 0));
    opacity: 1;
}

/* ### Content */

.tab-content {
    position: relative;
    display: none;
}

.tab-content.active {
    display: block
}


/*--------------------------------------------------------------
# Pagination
--------------------------------------------------------------*/

.pagination {
    margin-top: 50px;
    margin-bottom: 60px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.page-numbers {
    --color: var(--accent);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    width: 55px;
    height: 55px;
    font-size: 16px;
    font-weight: 500;
    color: var(--card_font);
    background-color: var(--card_bg);
    border-radius: 10px;
}

.page-numbers.current,
.page-numbers:hover {
    color: var(--accent_font);
    background-color: var(--color);
    border-color: var(--color);
}

.page-numbers.next,
.page-numbers.prev {
    display: flex;
    align-items: center;
    width: auto;
    height: auto;
    border: 0;
    background-color: transparent;
}

.page-numbers.next:hover,
.page-numbers.prev:hover {
    background-color: unset;
}

.page-numbers.next {
    margin-left: 30px;
}

.page-numbers.prev {
    margin-right: 30px;
}

.page-numbers.next span,
.page-numbers.prev span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 55px;
    height: 55px;
    color: var(--color);
    border: 1px solid var(--color);
    border-radius: 50%;
    transition: .3s;
}

.page-numbers.next span:hover,
.page-numbers.prev span:hover {
    color: var(--accent_font);
    background-color: var(--color);
}

.page-numbers svg {
    fill: var(--color);
}

.page-numbers.prev svg {
    transform: scaleX(-1);
}

@media screen and (max-width: 800px) {
    .nav-links {
        justify-content: center;
    }
}

/*--------------------------------------------------------------
# site-breadcrumbs
--------------------------------------------------------------*/

.site-breadcrumbs {
    display: flex;
    align-items: center;
    align-self: end;
    margin: 0;
    padding: 10px 20px;
    font-size: 12px;
    list-style: none;

    white-space: nowrap;
    overflow-x: auto;
}

@media screen and (max-width: 768px) {
    .site-breadcrumbs {
        padding: 5px 10px;
    }
}

.site-breadcrumbs::-webkit-scrollbar {
    display: none;
}

.site-breadcrumbs li {
    display: inline-flex;
    align-items: center;
    margin-right: 5px;
}

.site-breadcrumbs a {
    display: flex;
    align-items: center;
    color: var(--main_font);
    transition: 0.3s linear;
}

.site-breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumb-arrow {
    flex-shrink: 0;
    margin-right: 5px;
}

@media screen and (max-width: 768px) {
    .site-breadcrumbs {
        padding: 10px;
    }
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.film-sidebar {
    position: relative;
}

.film-sidebar .widget {
    margin-bottom: 30px;
}

.widgettitle {
    margin-top: 0;
    margin-bottom: 20px;
    font-family: 'Oswald', sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
}

.sidebar-sticky {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
}

@media screen and (max-width: 980px) {
    .film-sidebar {
        display: none;
    }
}

/* ## Genres */

.genres-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}

.genres-grid-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 12px;
    font-size: 12px;
    color: var(--accent_font);
    line-height: 1.2;
    text-transform: lowercase;
}

.light .genres-grid-item:hover {
    color: #7d7d7d;
}

.genres-grid-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: var(--accent);
    border-radius: 4px;
    transition: .2s ease;
    opacity: 1;

}

.genres-grid-item:hover:before {
    opacity: .2;
}

.genres-grid-name {
    font-weight: 500;
}

/* ### Tabs */

.tabs-block.widget .tabs {
    margin-bottom: 10px;
}

.tabs-block.widget .tab-item {
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    background-color: var(--main_bg);
}

.tabs-block.widget .tab-item.active,
.tabs-block.widget .tab-item:hover {
    background-color: var(--accent);
}

.widget-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.widget-list .item,
.widget-carousel .item {
    background-color: var(--main_bg);
    border-radius: 5px;
    transition: .3s;
    aspect-ratio: 2 / 3;
}

.widget-list .item-image,
.widget-carousel .item-image {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
}

/* ### Select */

#films-filter-form .input-select {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#films-filter-form .input-select svg {
    position: absolute;
    right: 20px;
    bottom: 22px;
    z-index: 1;
    fill: var(--card_font);
    opacity: .3;
}

#films-filter-form .ts-wrapper {
    border-radius: 3px;
    border: 1px solid #e3e9ef;
}

.dark #films-filter-form .ts-wrapper {
    border: 1px solid rgba(227, 232, 238, 0.1);
}

#films-filter-form .ts-control {
    align-items: center;
    padding: 15px 50px 15px 20px;
    min-height: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--card_font);
    background-color: var(--card_bg);
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgPHBhdGggZmlsbD0iIzM2Mzg1MyIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNNi40NyA4Ljk3YS43NS43NSAwIDAgMSAxLjA2IDBMMTIgMTMuNDRsNC40Ny00LjQ3YS43NS43NSAwIDEgMSAxLjA2IDEuMDZsLTUgNWEuNzUuNzUgMCAwIDEtMS4wNiAwbC01LTVhLjc1Ljc1IDAgMCAxIDAtMS4wNiIgY2xpcC1ydWxlPSJldmVub2RkIi8+Cjwvc3ZnPgo=);
    background-position: right 15px center;
    background-repeat: no-repeat;
    background-size: 15px;
    border: unset;
    border-radius: 3px;
    cursor: pointer;
}

.filter-widget #films-filter-form .ts-control {
    padding: 10px 50px 10px 20px;
    min-height: 40px;
}

#films-filter-form .ts-dropdown {
    font-size: 14px;
    font-weight: 400;
    color: var(--card_font);
    background-color: var(--card_bg);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    overflow: hidden;
}

#films-filter-form .ts-dropdown {
    border: 1px solid #e3e9ef;
}

.dark #films-filter-form .ts-dropdown {
    border: 1px solid rgba(227, 232, 238, 0.1);
}

#films-filter-form .ts-dropdown .option {
    padding: 15px 10px;
    transition: .3s;
}

#films-filter-form .ts-dropdown .active {
    color: var(--main_font);
    background-color: var(--main_bg);
}

#films-filter-form .ts-control input {
    width: auto;
    height: 100%;
    font-size: 14px;
    font-weight: 600;
    color: var(--card_font);
}

#films-filter-form .optgroup {
    margin-top: 10px;
}

#films-filter-form .optgroup+.optgroup {
    padding-top: 10px;
    border-top: 1px solid #f0f2f5;
}

#films-filter-form .ts-dropdown .optgroup-header {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
    text-transform: uppercase;
    opacity: .7;
}

#films-filter-form .ts-wrapper.multi .ts-control>div {
    color: var(--main_font);
    background-color: var(--main_bg);
    border-radius: 3px;
}

#films-filter-form .ts-wrapper.multi .ts-control .last-active {
    color: var(--accent_font);
    background-color: var(--accent);
}

#films-filter-form .ts-dropdown-content::-webkit-scrollbar-track {
    border-radius: 5px;
    background-color: var(--main_bg);
}

#films-filter-form .ts-dropdown-content::-webkit-scrollbar {
    width: 5px;
    background-color: var(--main_bg);
}

#films-filter-form .ts-dropdown-content::-webkit-scrollbar-thumb {
    width: 20px;
    height: 50px;
    background-color: var(--accent);
    border-radius: 5px;
}

@media screen and (max-width: 768px) {
    #films-filter-form .ts-control input {
        font-size: 16px;
    }
}

/*-----------------------------------------------------------
# Popup forms
--------------------------------------------------------------*/

.popup-wrap {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -99;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    visibility: hidden;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0s 0.3s;
}

.popup-wrap.active {
    z-index: 999;
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s, visibility 0s;
    overflow-x: hidden;
    overflow-y: auto;
}

.no-scroll {
    overflow: hidden;
}

.popup-wrap .popup-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    background: #000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s;
}

.popup-wrap.active .popup-overlay {
    z-index: 99;
    visibility: visible;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.popup-inner {
    position: relative;
    z-index: 999;
}

.popup-inner .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.popup-wrap .cross {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.popup-wrap .cross:before,
.popup-wrap .cross:after {
    content: '';
    position: absolute;
    width: 1px;
    height: 16px;
    background-color: #c4160f;
}

.popup-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.popup-form .product-form {
    width: 700px;
}

.popup-form p:not(:last-of-type) {
    margin-bottom: 15px;
}

.popup-form textarea {
    height: 150px;
}

@media screen and (max-width: 768px) {
    .popup-inner {
        width: 100%;
    }
}

/* ### Form general */

.popup-form form>div:not(:last-child) {
    margin-bottom: 15px;
}

.form-row {
    display: flex;
}

.form-row:not(:last-child) {
    margin-bottom: 15px;
}

.row-columns>*,
.form-row:only-child>* {
    flex: 1;
}

.row-columns>*:not(:last-child) {
    margin-right: 15px;
}

.form-silence {
    display: none;
}

.popup-form button {
    width: 250px;
    font-size: 17px;
}

@media screen and (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }

    .row-columns>div:not(:last-child) {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .row-small>div:first-child {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .popup-form button {
        width: 100%;
    }
}

/* ### Form info */

.form-info {
    display: none;
    flex-direction: column;
    justify-content: center;
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.56;
}

.form-info.active {
    display: flex;
}

.form-info.success,
.form-info.error {
    padding: 10px 15px;
    color: #fff;
    border-radius: 10px;
}

.form-info.success {
    background-color: #329847;
}

.form-info.error {
    background-color: #d90027;
}

/*--------------------------------------------------------------
# Loaders
--------------------------------------------------------------*/

.loader {
    --size: 6px;
    --width: 64px;
    --color: var(--accent);
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
}

.loader-bg {
    --margin: 0px;
    --radius: 0;
    margin: var(--margin);
    width: calc(100% - var(--margin) * 2);
    height: calc(100% - var(--margin) * 2);
    background-color: rgba(240, 245, 249, 0.5);
    border-radius: var(--radius);
}

.loader:after {
    content: '';
    position: absolute;
    top: calc(50% - var(--width) / 2);
    left: calc(50% - var(--width) / 2);
    display: block;
    width: var(--width);
    height: var(--width);
    margin: 8px;
    border-radius: 50%;
    border: var(--size) solid var(--color);
    border-color: var(--color) transparent var(--color) transparent;
    animation: lds-dual-ring 1.2s linear infinite
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.site-footer {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-top: auto;
    color: #fff;
    padding-inline: 20px;
    background-color: var(--main);
}

@media screen and (max-width: 768px) {
    .site-footer {
        padding-inline: 10px;
    }
}

/* ## Footer top */

.site-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.site-footer-top .logo {
    margin: 0;
}

.light .site-footer-top .logo {
    color: #fff;
}

.copyright {
    max-width: 500px;
    font-size: 12px;
    line-height: 1.43;
    opacity: .5;
}

@media screen and (max-width: 980px) {
    .site-footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .copyright {
        max-width: unset;
    }
}

/* ### site-footer-menu */

.site-footer-menu {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: calc(100% - 150px - 30px - 260px - 30px);
}

.site-footer-menu>ul {
    justify-content: flex-end;
    gap: 15px;
    width: 100%;
}

.site-footer-menu>ul>li {
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
    white-space: nowrap;
}

.site-footer-menu a {
    color: #000;
}

.site-footer-menu>ul>li>a,
.site-footer-menu>ul>li>span {
    position: relative;
    color: #fff;
    border-radius: 20px;
}

.site-footer-menu>ul>li:hover>a,
.site-footer-menu>ul>.current-menu-item>a,
.site-footer-menu>ul>li>span {
    color: var(--accent);
}

.site-footer-menu a:hover {
    text-decoration: unset;
}

@media screen and (min-width: 981px) {
    .site-footer-menu li:hover>.sub-menu {
        display: flex;
    }

    .site-footer-menu li ul {
        position: absolute;
        bottom: 35px;
        z-index: 999;
        display: none;
        flex-direction: column;
        margin: 0;
        padding: 15px;
        min-width: 170px;
        height: auto;
        list-style: none;
        background-color: #fff;
        box-shadow: 0 0 13px 0 rgba(100, 120, 164, 0.25);
        border-radius: 10px;
    }

    .site-footer-menu li ul:before {
        content: '';
        display: block;
        position: absolute;
        bottom: -6px;
        left: 30px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 6px 6px 0 6px;
        border-color: white transparent transparent transparent;
        -webkit-filter: drop-shadow(1px 3px 1px rgba(100, 120, 164, 0.25));
        filter: drop-shadow(1px 3px 1px rgba(100, 120, 164, 0.25));
    }

    .site-footer-menu li ul li {
        position: relative;
    }

    .site-footer-menu li ul a,
    .site-footer-menu li ul span,
    .site-footer-menu .hide-menu a {
        display: block;
        padding: 10px 20px;
        font-size: 15px;
        font-weight: 400;
        color: #000;
        line-height: 1;
        border-radius: 20px;
    }

    .site-footer-menu li ul a:hover {
        color: var(--accent_font);
        background-color: var(--accent);
    }

    .site-footer-menu li ul ul {
        top: -10px;
        left: 100%;
        background-color: #fff;
        transform: translateX(0);
    }

    .site-footer-menu li ul ul:before {
        content: none;
    }

    /* ## Hide menu */

    .site-footer-menu .hide-menu {
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        cursor: pointer;
    }

    .site-footer-menu .hide-menu .burger {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px 20px 10px;
        height: 100%;
        background-color: transparent;
        border-radius: 20px;
        transition: 0.3s;
    }

    .site-footer-menu .hide-menu:hover .burger {
        background-color: var(--accent);
    }

    .site-footer-menu .hide-menu .burger span:before,
    .site-footer-menu .hide-menu .burger span:after {
        width: 15px;
        height: 3px;
        background-color: var(--menu_font);
        border-radius: 2px;
        transition: 0.3s;
    }

    .site-footer-menu .hide-menu:hover .burger span:before,
    .site-footer-menu .hide-menu:hover .burger span:after {
        background-color: var(--accent_font);
    }

    .site-footer-menu .hide-menu .burger span {
        position: relative;
        width: 15px;
    }

    .site-footer-menu .hide-menu .burger span:before,
    .site-footer-menu .hide-menu .burger span:after {
        content: "";
        position: absolute;
    }

    .site-footer-menu .hide-menu .burger span:before {
        top: -6px;
    }

    .site-footer-menu .hide-menu .burger span:after {
        top: 1px;
    }

    .site-footer-menu .hide-menu ul {
        right: 0;
        left: unset;
        transform: unset;
    }

    .site-footer-menu .hide-menu ul:before {
        right: 22px;
        left: unset;
        transform: unset;
    }
}

@media screen and (max-width: 980px) {
    .site-footer-menu {
        width: 100%;
    }

    .site-footer-menu .sub-menu {
        display: none;
    }

    .site-footer-menu>ul {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .site-footer-menu>ul>li {
        padding-top: 0;
        padding-bottom: 0;
    }
}

/* ## Footer bottom */

.site-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid #2a3239;
}

.site-footer-share {
    margin-right: 30px;
}

.ya-share2__container_mobile .ya-share2__badge {
    border-radius: 5px !important;
}

@media screen and (max-width: 980px) {
    .site-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer-share {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

/* ### Footer info menu */

.site-footer-info.menu {
    margin-left: -15px;
    margin-right: -15px;
}

.site-footer-info.menu .sub-menu {
    display: none;
}

.site-footer-info.menu a,
.site-footer-info.menu span {
    display: block;
    padding: 7px 15px;
    font-size: 12px;
    color: #fff;
    line-height: 1.3;
    opacity: .5;
}

.site-footer-info.menu a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 1140px) {
    .site-footer-info.menu {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* ## Scroll to top */

#scroll-button {
    position: fixed;
    right: 25px;
    bottom: 40px;
    z-index: 1099;
    display: flex;
    flex-direction: column;
    width: 35px;
    text-align: center;
}

#scroll-button_up {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    margin-bottom: 5px;
    width: 40px;
    height: 40px;
    background-color: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

#scroll-button_up svg {
    width: 20px;
    height: 13px;
}

@media screen and (max-width: 800px) {
    #scroll-button {
        display: none;
    }
}

/* ## Reclame */

.reclame {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

/* ## Other */

.post .site-link {
    margin-inline: 5px;
    color: var(--accent);
    font-weight: bold;
    text-decoration: none;
    border: 1px solid var(--accent);
    padding: 5px 10px;
    border-radius: 5px;
}

.post .site-link:hover {
    color: var(--accent_font);
    background-color: var(--accent);
}
