/* =========================================================
   HOME HERO TOKKINOVEL
========================================================= */

.tokki-home-hero {
    margin-bottom: 40px;
}

/* ===== SLIDER WRAP ===== */

.tokki-hero-slider-wrap {
    position: relative;
}

/* ===== HERO TRACK ===== */

.tokki-hero-featured {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    padding: 10px 4px 18px;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tokki-hero-featured::-webkit-scrollbar {
    display: none;
}

/* ===== HERO CARD ===== */

.tokki-hero-card {
    flex: 0 0 calc((100% - 36px) / 3);
    min-width: 0;
    max-width: none;

    scroll-snap-align: start;

    border-radius: 20px;
    overflow: hidden;

    position: relative;

    background: #222124;
}

.tokki-hero-link {
    display: block;
    position: relative;

    color: #fff;
    text-decoration: none !important;
}

/* ===== COVER ===== */

.tokki-hero-cover {
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.tokki-hero-cover img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;

    transition: transform .45s ease;
}

.tokki-hero-card:hover .tokki-hero-cover img {
    transform: scale(1.04);
}

/* ===== OVERLAY ===== */

.tokki-hero-card-content {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 70px 18px 18px;

    background: linear-gradient(
        to top,
        rgba(30,30,30,1) 0%,
        rgba(30,30,30,.92) 36%,
        rgba(30,30,30,.45) 70%,
        rgba(30,30,30,0) 100%
    );
}

.tokki-hero-card-content h2 {
    margin: 0;

    color: #E6E6E7;

    font-size: 18px !important;
    line-height: 1.25;
    font-weight: 700;
}


/*------- para descripcion*/


.tokki-hero-description {
    margin: 8px 0 0;

    color: #E6E6E7;

    font-size: 13px;
    line-height: 1.45;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;
}


/* ===== HERO INFO BOX ===== */

.tokki-hero-intro {
    margin-top: 26px;
}

.tokki-hero-info-box {
    display: flex;
    align-items: center;
    gap: 10px;

    max-width: 1100px;

    margin: 0 auto;

    padding: 5px 10px;

    border-radius: 22px;

    background: #222124;
}

.tokki-hero-info-icon {
    flex-shrink: 0;

    width: 120px;
    height: 120px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.tokki-hero-info-svg {
    width: 92px;
    height: 92px;

    color: #E6E6E7;
    opacity: .22;
}

.tokki-hero-info-content {
    flex: 1;
}

.tokki-hero-info-content p {
    margin: 0 0 20px;

    color: #75727A;

    font-size: 15px;
    line-height: 1.4;
    font-weight: 400;
}

.tokki-hero-info-content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   HERO ARROWS
========================================================= */

.tokki-hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;

    width: 56px;
    height: 56px;

    border: none;
    border-radius: 50%;

    transform: translateY(-50%);

    background: rgba(34, 33, 36, .72);
    backdrop-filter: blur(4px);

    color: #fff;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    transition: none;
}

.tokki-hero-arrow:hover {
    background: rgba(34, 33, 36, .72);
}

.tokki-hero-arrow span {
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 52px;
    font-weight: 300;
    line-height: 1;

    transform: translateY(-4px);
}


.tokki-hero-prev {
    left: 10px;
}

.tokki-hero-prev span {
    transform: translateX(-1px);
}

.tokki-hero-next {
    right: 10px;
}

.tokki-hero-next span {
    transform: translateX(1px);
}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .tokki-hero-featured {
        gap: 14px;

        padding-left: 7%;
        padding-right: 7%;

        scroll-snap-type: x mandatory;
    }

    .tokki-hero-card {
        flex: 0 0 86%;
        min-width: 0;

        scroll-snap-align: center;
    }

    .tokki-hero-card-content h2{  
        font-size: 15px!important;
        line-height: 1.25;
    }
    
    .tokki-hero-description {
        font-size: 12px;
        line-height: 1.4;
    }

    .tokki-hero-intro h1 {
        font-size: 24px;
    }

    .tokki-hero-intro p {
        font-size: 15px;
    }

    .tokki-hero-arrow {
        display: none;
    }

    .tokki-hero-prev {
        left: 16px;
    }

    .tokki-hero-next {
        right: 16px;
    }
    
    /*esto es para el texto info en mobile*/
    .tokki-hero-info-box {
        flex-direction: row;

        gap: 18px;

        padding: 22px 20px;

        border-radius: 18px;
    }

    .tokki-hero-info-icon {
        width: 70px;
        height: 70px;
    }

    .tokki-hero-info-icon i {
        font-size: 52px;
    }

    .tokki-hero-info-content p {
        font-size: 11px;
        line-height: 1.5;
        color: #75727A;

        margin-bottom: 14px;
    }

}






/* ===== FIX FLECHAS HERO DESKTOP ===== */

.tokki-home-hero .tokki-hero-arrow span,
.tokki-home-hero .tokki-hero-arrow:hover span,
.tokki-home-hero .tokki-hero-arrow:focus span,
.tokki-home-hero .tokki-hero-arrow:active span {

    color: #fff !important;

    font-size: 20px;
    font-weight: 400;
    line-height: 1;

    transform: translateY(-1px);
}













/* =========================================================
   HOME UPDATES
========================================================= */

.tokki-home-updates {
    margin-top: 46px;
}

.tokki-home-updates > h2 {
    margin: 0 0 22px;

    color: #E6E6E7;

    font-size: 26px;
    line-height: 1.25;
    font-weight: 700;
}

.tokki-updates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.tokki-update-card {
    position: relative;

    border-radius: 16px;
    overflow: hidden;

    background: #222124;
}

.tokki-update-link {
    display: block;
    position: relative;

    min-height: 100%;

    color: #fff;
    text-decoration: none !important;
}

.tokki-update-cover {
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.tokki-update-cover img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;
}

.tokki-update-content {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 70px 16px 16px;

    background: linear-gradient(
        to top,
        rgba(30,30,30,1) 0%,
        rgba(30,30,30,.92) 36%,
        rgba(30,30,30,.45) 70%,
        rgba(30,30,30,0) 100%
    );
}

.tokki-update-title {
    margin: 0 0 8px;

    color: #E6E6E7;

    font-size: 17px;
    line-height: 1.25;
    font-weight: 700;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

.tokki-update-chapter {
    margin: 0 0 6px;

    color: #E6E6E7;

    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;

    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

.tokki-update-time {
    display: block;

    color: rgba(255,255,255,.68);

    font-size: 12px;
    line-height: 1.3;
}

/* =========================================================
   HOME UPDATES MOBILE
========================================================= */

@media (max-width: 768px) {

    .tokki-home-updates {
        margin-top: 34px;
    }

    .tokki-home-updates > h2 {
        font-size: 18px !important;
        margin-bottom: 16px 
    }

    .tokki-updates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .tokki-update-card {
        border-radius: 14px;
    }

    .tokki-update-content {
        padding: 56px 12px 12px;
    }

    .tokki-update-title {
        font-size: 14px;
    }

    .tokki-update-chapter {
        font-size: 12px;
    }

    .tokki-update-time {
        font-size: 11px;
    }
    
}












/* =========================================================
   HOME GENRES
========================================================= */

.tokki-home-genres {
    margin-top: 52px;
}

.tokki-home-genres > h2 {
    margin: 0 0 22px;

    color: #E6E6E7;

    font-size: 26px;
    line-height: 1.25;
    font-weight: 700;
}

.tokki-genre-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.tokki-genre-card {
    display: flex;
    flex-direction: column;

    min-height: 170px;

    padding: 28px;

    border-radius: 18px;

    background: #222124;

    text-decoration: none !important;

    transition:
        transform .2s ease,
        background .2s ease;
}

.tokki-genre-card:hover {
    background: #313034;
    transform: translateY(-2px);
}

.tokki-genre-card h3 {
    margin: 0 0 12px;

    color: #E6E6E7;

    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
}

.tokki-genre-card p {
    margin: 0;

    color: rgba(230,230,231,.82);

    font-size: 15px;
    line-height: 1.5;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

.tokki-genre-card span {
    margin-top: auto;
    padding-top: 22px;

    color: rgba(230,230,231,.72);

    font-size: 14px;
    line-height: 1.3;
}

/* =========================================================
   HOME GENRES MOBILE
========================================================= */

@media (max-width: 768px) {

    .tokki-home-genres {
        margin-top: 38px;
    }

    .tokki-home-genres > h2 {
        font-size: 18px !important;
        margin-bottom: 16px;
    }

    .tokki-genre-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .tokki-genre-card {
        min-height: 100px;

        padding: 16px;

        border-radius: 15px;
    }

    .tokki-genre-card h3 {
        font-size: 17px;
        margin-bottom: 10px;
    }

    .tokki-genre-card p {
        font-size: 13px;
        line-height: 1.45;
    }

    .tokki-genre-card span {
        padding-top: 16px;

        font-size: 12px;
    }

}




/**================para recomendaciones y guias=====================*/


/* Título de la sección Recomendaciones y guías */
.tokki-home-recommendations h2,
#tokki-home-recommendations-title {
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.3px;
	color: #E6E6E7;
	margin: 0 0 30px;
}

.tokki-home-recommendations {
	margin-top: 38px;
}

@media (max-width: 768px) {
	.tokki-home-recommendations h2,
	#tokki-home-recommendations-title {
		font-size: 18px;
		margin-bottom: 22px;
	}
}


.tokki-home-rec-feed {
	max-width: 760px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 34px;
}

.tokki-home-rec-card {
	padding-bottom: 34px;
	border-bottom: 1px solid #424045;
}

.tokki-home-rec-card:last-child {
	border-bottom: none;
}

.tokki-home-rec-card .tokki-rec-feed-body h3,
.tokki-home-rec-card .tokki-rec-feed-body h3 a,
.tokki-home-rec-card .tokki-rec-feed-body h3 a:visited,
.tokki-home-rec-card .tokki-rec-feed-body h3 a:hover {
	color: #E6E6E7 !important;
	text-decoration: none !important;
	font-size: 20px;
	font-weight: 700;
	margin: 0;
}

.tokki-home-rec-more {
	text-align: center;
	margin-top: 28px;
}

.tokki-home-rec-more a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 20px;
	border-radius: 999px;
	background: #B98BDD;
	color: #fff !important;
	font-weight: 700;
	text-decoration: none !important;
}

@media (max-width: 768px) {
	.tokki-home-rec-feed {
		gap: 26px;
	}

	.tokki-home-rec-card {
		padding-bottom: 28px;
	}

	.tokki-home-rec-card .tokki-rec-feed-body h3,
	.tokki-home-rec-card .tokki-rec-feed-body h3 a {
		font-size: 18px !important;
	}
}