.home-featured-manga {
    position: relative;
    overflow: hidden;
    padding: 44px 0 0;
    border-bottom: 1px solid rgba(114, 218, 143, .15);
    background: radial-gradient(circle at 12% 8%, rgba(41, 148, 82, .19), transparent 36%),
                radial-gradient(circle at 87% 92%, rgba(31, 112, 70, .14), transparent 38%),
                #101b25;
}

.home-featured-manga__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.home-featured-manga__heading h2 {
    margin: 0;
    color: #f5faf6;
    font-size: clamp(25px, 3vw, 37px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.15;
}

.home-featured-manga__controls {
    display: flex;
    gap: 9px;
    flex-shrink: 0;
    padding-bottom: 3px;
}

.home-featured-manga__control {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(151, 220, 172, .35);
    border-radius: 12px;
    background: rgba(255, 255, 255, .045);
    color: #e8f7ed;
    cursor: pointer;
    font-size: 25px;
    line-height: 1;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.home-featured-manga__control:hover,
.home-featured-manga__control:focus {
    transform: translateY(-2px);
    border-color: #6ce39a;
    background: rgba(50, 157, 88, .28);
    color: #fff;
}

.home-featured-manga__track {
    padding: 0 24px;
}

.home-featured-manga #catslide .owl-stage-outer {
    padding: 10px 0 0;
}

.home-manga-slide {
    position: relative;
    height: clamp(490px, 31vw, 580px);
    overflow: hidden;
    border: 1px solid rgba(111, 177, 133, .3);
    border-radius: 17px;
    background: linear-gradient(145deg, #254637, #172b31 55%, #101b25);
    box-shadow: 0 12px 25px rgba(0, 0, 0, .19);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.home-manga-slide:hover,
.home-manga-slide:focus-within {
    transform: translateY(-6px);
    border-color: rgba(108, 227, 154, .68);
    box-shadow: 0 0 16px 4px rgba(55, 213, 105, .33),
                0 0 35px 8px rgba(35, 177, 83, .19),
                0 18px 32px rgba(0, 0, 0, .32);
}

.home-manga-slide__link,
.home-manga-slide__link:hover,
.home-manga-slide__link:focus {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
}

.home-manga-slide__link:focus-visible {
    outline: 3px solid #8cf0ac;
    outline-offset: -4px;
}

.home-manga-slide__cover {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.home-manga-slide:hover .home-manga-slide__cover,
.home-manga-slide:focus-within .home-manga-slide__cover {
    transform: scale(1.06);
}

.home-manga-slide__cover.is-missing {
    display: none;
}

.home-manga-slide__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 12, 17, .05) 27%, rgba(4, 12, 17, .46) 58%, rgba(4, 12, 17, .97) 100%);
}

.home-manga-slide__rank {
    position: absolute;
    top: 13px;
    left: 13px;
    display: grid;
    min-width: 38px;
    height: 38px;
    place-items: center;
    padding: 0 7px;
    border: 1px solid rgba(227, 255, 235, .48);
    border-radius: 10px;
    background: rgba(7, 21, 24, .68);
    color: #eafbef;
    font-size: 14px;
    font-weight: 800;
    backdrop-filter: blur(7px);
}

.home-manga-slide__content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 19px 16px 18px;
}

.home-manga-slide__type {
    color: #82eba5;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.home-manga-slide__title {
    display: -webkit-box;
    max-height: 54px;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
}

.home-manga-slide__summary {
    display: -webkit-box;
    max-height: 0;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: #cfdfd4;
    font-size: 12px;
    line-height: 1.5;
    opacity: 0;
    transition: max-height .25s ease, opacity .25s ease;
}

.home-manga-slide:hover .home-manga-slide__summary,
.home-manga-slide:focus-within .home-manga-slide__summary {
    max-height: 72px;
    opacity: 1;
}

.home-manga-slide__action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    margin-top: 2px;
    color: #8af0af;
    font-size: 12px;
    font-weight: 800;
}

.home-manga-slide__action span {
    font-size: 18px;
    line-height: 1;
}

@media (max-width: 767px) {
    .home-featured-manga {
        padding-top: 32px;
    }

    .home-featured-manga__heading {
        align-items: flex-end;
        gap: 10px;
    }

    .home-featured-manga__controls {
        gap: 5px;
    }

    .home-featured-manga__control {
        width: 36px;
        height: 36px;
    }

    .home-featured-manga__track {
        padding: 0 12px;
    }

    .home-manga-slide {
        height: 480px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-manga-slide,
    .home-manga-slide__cover,
    .home-manga-slide__summary {
        transition: none;
    }
}
