.btn {
    align-items: center
}

.btn {
    border: none;
    border-radius: 999px;
    display: inline-flex;
    font-size: 16px;
    font-weight: 700;
    justify-content: center;
    line-height: 20px;
    padding: 6px 24px
}

.btn-yellow {
    background-color: #ffdb26;
    border: 2px solid #ffdb26;
    color: #000;
    padding-left: 16px;
    padding-right: 16px
}

.btn-black {
    background-color: #000;
    border: 2px solid #000;
    color: #fff;
    padding-left: 16px;
    padding-right: 16px
}

.btn-black--big, .btn-yellow--big {
    padding-bottom: 14px;
    padding-top: 14px
}

.error-title {
    color: #ff514d;
    display: block;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    margin-bottom: 8px;
    margin-top: 4px;
    padding-left: 16px
}

.form-group {
    margin-bottom: 16px
}

.form-control {
    font-weight: 500;
    line-height: 16px
}

.form-control {
    background: #fff;
    border: 2px solid #000;
    border-radius: 999px;
    font-size: 14px;
    padding: 14px 16px
}

.form-control::-webkit-input-placeholder {
    color: #666
}

.form-control::-moz-placeholder {
    color: #666
}

.form-control:-ms-input-placeholder {
    color: #666
}

input:-webkit-autofill {
    -webkit-text-fill-color: var(--text-color);
    border: 2px solid #000;
    -webkit-box-shadow: 0 0 0 1000px var(--bg-color) inset
}

:focus {
    outline: 0
}

.top-rated-card__image_numbering {
    grid-area: img;
    position: relative
}

.top-rated-card__title_category {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    grid-area: title;
    justify-content: flex-start;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.top-rated-card__rating {
    align-items: center;
    display: flex;
    gap: 4px;
    grid-area: rating;
    transform: translate(2px, -7px)
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body, html {
    height: 100%
}

body {
    background: #fff;
    color: #000;
    display: flex;
    flex-direction: column;
    font-family: Space-Grotesk, sans-serif
}

main {
    flex: 1 0 auto;
    margin-top: 96px;
    padding-top: 16px
}

@media (min-width: 768px) {
    main {
        margin-top: 126px;
        padding-top: 24px
    }
}

.w-100 {
    width: 100%
}

a {
    text-decoration: none
}

button {
    font-family: inherit
}

img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none
}

h1, h2 {
    font-weight: 700;
    text-transform: uppercase
}

h1 {
    font-size: 32px;
    line-height: 40px
}

@media (min-width: 768px) {
    h1 {
        font-size: 40px;
        line-height: 48px
    }
}

@media (min-width: 992px) {
    main {
        margin-top: 72px
    }

    h1 {
        font-size: 48px;
        line-height: 56px
    }
}

h2 {
    font-size: 24px;
    line-height: 32px
}

.container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1312px;
    padding-left: 16px;
    padding-right: 16px;
    width: 100%
}

.header-top-row .header__logo {
    align-items: center;
    display: flex;
    grid-area: logo;
    justify-content: center
}

.header-top-row .header-btns-switch-age {
    align-items: center;
    display: flex;
    gap: 8px;
    grid-area: header-btns-switch-age;
    justify-content: end
}

.header-top-row .search-btn {
    align-items: center;
    display: flex;
    grid-area: search;
    justify-content: start
}

.header-top-row .search-form-wrap {
    align-items: center;
    display: flex;
    grid-area: search;
    justify-content: center
}

.header-top-row .switch-age-wrap {
    align-items: center;
    display: flex;
    grid-area: switch-age;
    justify-content: end
}

.header-top-row .header-btns {
    align-items: center;
    display: none;
    grid-area: header-btns;
    justify-content: end
}

.header-top-row .hamburger-menu {
    align-items: center;
    display: flex;
    grid-area: hamburger;
    justify-content: end
}

.scroll-hint {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: space-between;
    position: fixed;
    right: 50%;
    top: 0;
    transform: translateX(50%)
}

@media (min-width: 768px) {
    .modal .modal-block-thanks.active .modal__desc {
        margin-bottom: 0
    }

    .scroll-hint {
        display: none
    }
}

.scroll-hint .bounce-animation {
    animation: 2s infinite move
}

@keyframes move {
    0%, to {
        transform: translateY(0)
    }
    50% {
        transform: translateY(-20px)
    }
}

main {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    padding-bottom: 56px;
    padding-top: 0
}

.header-episode.active, .pagination.active {
    display: block;
    position: fixed;
    width: 100%;
    z-index: 1
}

.header-episode {
    background: rgba(0, 0, 0, .8);
    display: none;
    padding-bottom: 12px;
    padding-top: 12px;
    position: fixed;
    width: 100%
}

.header-episode .container {
    max-width: 752px
}

.header-episode-inner {
    align-items: center;
    display: flex;
    justify-content: space-between
}

.header-episode-info {
    align-items: center;
    display: flex;
    margin-right: 16px
}

.header-episode__link {
    background: 0 0;
    border: none;
    display: inline-flex;
    margin-right: 8px
}

.header-episode__title {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    text-transform: none
}

.header-episode__title-number {
    color: #fff;
    display: block;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px
}

.header-episode__logo {
    display: flex
}

.single {
    flex: 1 0 auto;
    margin-bottom: 16px
}

.single .single__item img {
    display: block;
    height: 100%;
    margin: 0 auto;
    max-width: 720px;
    width: 100%
}

@media (min-width: 768px) {
    .single {
        margin-bottom: 24px
    }
}


.episode-bottom {
    flex: 0 0 auto;
    padding-bottom: 16px
}

@media (max-width: 768px) {
    .episode-bottom {
        padding-bottom:20vh
    }
}

.episode-bottom .next-episode {
    border: 2px solid #000;
    border-radius: 8px;
    box-shadow: 2px 2px 0 #000;
    display: flex;
    margin: 0 auto 24px;
    max-width: 720px;
    padding: 8px;
    transition: box-shadow .2s linear
}

@media (min-width: 567px) {
    .episode-bottom .next-episode {
        flex-wrap:nowrap
    }
}

.episode-bottom .next-episode:hover {
    box-shadow: 4px 4px 0 #000
}

.episode-bottom .next-episode--future:hover,.episode-bottom .next-episode:active,.episode-bottom .next-episode:focus {
    box-shadow: none
}

.episode-bottom .next-episode--future:active,.episode-bottom .next-episode--future:focus,.episode-bottom .next-episode--future:hover {
    box-shadow: 2px 2px 0 #000
}

.episode-bottom .next-episode--future {
    margin: 0 auto 22px
}

.episode-bottom .next-episode-inner {
    align-items: center;
    display: flex;
    margin-right: 8px
}

@media (min-width: 768px) {
    .episode-bottom .next-episode-inner {
        margin-right:16px
    }
}

.episode-bottom .next-episode__img {
    border-radius: 8px;
    height: 78px;
    margin-right: 8px;
    max-width: 130px;
    min-width: 130px;
    overflow: hidden
}

@media (min-width: 567px) {
    .episode-bottom .next-episode__img {
        height:96px;
        margin-right: 16px;
        max-width: 160px;
        min-width: 160px
    }
}

.episode-bottom .next-episode__img img {
    border-radius: 8px;
    height: 100%;
    object-fit: cover;
    width: 100%
}

.episode-bottom .next-episode__img--future {
    position: relative
}

.episode-bottom .next-episode__img--future:before {
    background: #fff;
    box-shadow: 0 4px 0 rgba(0,0,0,.6);
    color: #000;
    content: "Coming soon... Coming soon... Coming soon...";
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    height: auto;
    left: -58%;
    line-height: 16px;
    padding: 5px;
    position: absolute;
    text-align: center;
    text-transform: uppercase;
    top: 31%;
    transform: rotate(-11.26deg);
    white-space: nowrap;
    width: auto;
    z-index: 1
}

@media (min-width: 768px) {
    .episode-bottom .next-episode__img--future:before {
        font-size:14px;
        left: -51%;
        line-height: 20px;
        top: 33%
    }
}

.episode-bottom .next-episode__img--future:after {
    background: rgba(0,0,0,.1);
    content: " ";
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 2
}

@media (min-width: 567px) {
    .episode-bottom .next-episode__content {
        display:block;
        margin-right: 15px
    }
}

.episode-bottom .next-episode__content .desc {
    color: #000;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px
}

@media (min-width: 567px) {
    .episode-bottom .next-episode__content .desc {
        font-size:24px;
        line-height: 32px
    }
}

.episode-bottom .next-episode__content--future .desc {
    text-transform: capitalize
}

.episode-bottom .next-episode__content--future .date {
    color: var(--Main-Black,#000);
    display: block;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    opacity: .6
}

@media (min-width: 567px) {
    .episode-bottom .next-episode__content--future .date {
        opacity:.4
    }
}

.episode-bottom .next-episode .btn {
    background: #ffdb26;
    border-radius: 8px;
    font-size: 14px;
    line-height: 20px;
    margin-left: auto;
    padding: 6px
}

.episode-bottom__logo {
    display: block;
    margin: 0 auto 8px
}

.episode-bottom__desc {
    color: #666;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    margin-bottom: 0;
    text-align: center
}

.episode-bottom-popular {
    border-top: 1px solid var(--Main-Black,#000);
    margin: 22px auto;
    max-width: 720px
}

@media (min-width: 768px) {
    .episode-bottom-popular {
        margin:33px auto
    }
}

.episode-bottom-popular__title {
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    margin: 24px auto 16px;
    text-align: center;
    text-transform: uppercase
}

@media (min-width: 768px) {
    .episode-bottom-popular__title {
        font-size:32px;
        line-height: 40px;
        text-transform: uppercase
    }
}

.episode-bottom-popular .card-inner {
    gap: 6px;
    justify-content: center
}

@media (min-width: 768px) {
    .episode-bottom-popular .card-inner {
        gap:16px
    }
}

.episode-bottom-popular .preview-card {
    flex: 1 0 calc(33.33333% - 6px);
    height: auto
}

@media (min-width: 768px) {
    .episode-bottom-popular .preview-card {
        flex:0 0 200px;
        height: 296px
    }
}

.episode-bottom-popular .preview-card__title {
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px
}

@media (min-width: 768px) {
    .episode-bottom-popular .preview-card__title {
        font-size:16px;
        line-height: 20px
    }
}

.episode-bottom__end_title {
    color: var(--Main-Black,#000);
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    text-align: center;
    text-transform: uppercase
}

@media (min-width: 768px) {
    .episode-bottom__end_title {
        font-size:40px;
        font-weight: 700;
        line-height: 48px
    }
}

.episode-bottom-next--unauthorized .comic-list__item--free-in-time {
    color: var(--Adittional-Red,#ff514d)
}

.episode-bottom-first-look {
    align-content: center;
    align-items: center;
    background-position: 100% 100%,0 0;
    background-repeat: no-repeat,no-repeat;
    background-size: 100px,100px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    margin: 0 auto 30px;
    max-width: 720px;
    min-height: 184px;
    padding: 16px 0;
    text-align: center
}

@media (min-width: 768px) {
    .episode-bottom-first-look {
        background-size:160px,160px
    }
}

.episode-bottom-first-look_inner {
    margin: auto;
    max-width: 368px;
    text-align: center
}

.episode-bottom-first-look_post_title,.episode-bottom-first-look_pre-title {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    margin-bottom: 8px;
    text-align: center
}

.episode-bottom-first-look_title {
    color: #ffdb26;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 8px;
    text-align: center;
    text-transform: uppercase
}

.episode-bottom-first-look_title.white-text {
    color: #fff
}

.episode-bottom-first-look_btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 16px
}

.episode-bottom-first-look_btns .btn {
    background: #ffdb26;
    border: 2px solid #ffdb26;
    box-sizing: border-box;
    color: #000;
    padding: 14px;
    width: 40%
}

@media (min-width: 768px) {
    .episode-bottom-first-look_btns .btn {
        width:48%
    }
}

.episode-bottom-first-look_btns .btn:last-of-type {
    background: transparent;
    border-color: #fff;
    color: #fff
}

@media (min-width: 768px) {
    .episode-bottom-popular-first-look .preview-card {
        flex:0 0 calc(33.3333% - 11px);
        height: 340px
    }
}