main#main-body{
    background: #f8f8f8;
}
/*=========================== BOOK ===========================*/
.single-libri .main-image{
    min-height: 40vh;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}
.single-libri .detail-content{
    background: #f8f8f8;
    border-radius: 2rem 2rem 0 0;
    margin-top: -30px;
    padding: 25px;
    position: relative;
}
.single-libri .detail-content #asset-section{
    position: absolute;
    width: 100%;
    padding: 0 25px;
    left: 0;
    top: -65px;
}
.single-libri .detail-content #asset-section .top-section{
    width: 100%;
    background: #ffffff;
    padding: 18px 25px;
    border-radius: 27px;
    box-shadow: 0 4px 7px -3px #ccc;
    -moz-box-shadow: 0 4px 7px -3px #ccc;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.single-libri .detail-content #asset-section .items{
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #2f2f2f;
    text-align: center;
}
.single-libri .detail-content #asset-section i{
    font-size: 25px;
    padding: 11px;
    border-radius: 50%;
    color: #ffffff;
}
.single-libri .detail-content #asset-section i.fa-headphones{
    background: var(--primary);
}
.single-libri .detail-content #asset-section i.fa-book-open-reader{
    background: #3e82f7;
}
.single-libri .detail-content #title-section{
    border-bottom: 1px solid #cfc8d8;
    padding: 60px 0 25px;
    display: flex;
    justify-content: space-between;
}
.single-libri .detail-content #title-section h1{
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
}
.single-libri .detail-content #title-section .detail{
    display: flex;
    font-size: 0.9rem;
    flex-direction: column;
    gap: 7px;
    color: #827c7c;
}
.single-libri .detail-content #title-section .detail b{
    color: #5a5656;
}
.single-libri #title-section .author{
    display: flex;
    flex-direction: column;
    align-self: end;
    align-items: end;
    gap: 10px;
}
.single-libri #title-section .author span{
    font-size: 0.9rem;
    color: #827c7c;
}
.single-libri #title-section .author span b{
    color: #5a5656;
}
.single-libri #title-section .author img{
    width: 5rem;
    border-radius: 1rem;
}
.single-libri #content-section{
    padding: 20px 0;
    border-bottom: 1px solid #cfc8d8;
}
.single-libri #content-section h3{
    margin-bottom: 0.5rem;
}
.single-libri #content-section .content{
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5em;
    max-height: 6em;
    margin: 0;
    color: #827c7c;
}
.single-libri #content-section .content p{
    display: inline;
}
.single-libri #content-section .read-more {
    display: none;
    position: absolute;
    bottom: 3px;
    right: 0;
    background: #f8f8f8;
    padding-left: 5px;
}
.single-libri #content-section .read-more a{
    color: var(--primary);
    font-weight: 500;
}
.single-libri #content-section .read-less {
    display: none;
}
.single-libri #content-section .show-more .content {
    max-height: none;
    display: inline;
}
.single-libri #content-section .show-more .read-more {
    display: none;
    position: relative;
    bottom: 0;
}
.single-libri #content-section .show-more .read-less {
    display: inline;
}
.single-libri #content-section .categories-content {
    margin: 20px 0;
    white-space: nowrap;
    display: flex;
    gap: 10px;
    cursor: pointer;
    overflow-x: hidden;
    position: relative;
}
.single-libri #content-section .categories-content .category {
    padding: 16px 29px;
    background: #f8e1d3;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 12px;
    font-size: 0.9rem;
    user-select: none;
}
.single-libri #product-section{
    padding: 20px 0;
}
.single-libri #product-section h3{
    margin-bottom: 1rem;
}
.single-libri #product-section #product{
    background: #ffffff;
    display: flex;
    padding: 10px;
    border-radius: 12px;
    gap: 1.2rem;
}
.single-libri #product-section .product-image{
    width: 30%;
    display: flex;
    align-items: start;
}
.single-libri #product-section .product-image img{
    border-radius: 11px;
    width: 100%;
}
.single-libri #product-section .product-detail{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 70%;
}
.single-libri #product-section .product-detail h4{
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.single-libri #product-section .product-detail p{
    font-size: 0.9rem;
    color: slategray;
    line-height: 1.2rem;
    margin-bottom: 10px;
}
.single-libri #product-section .price{
    color: var(--primary);
    font-weight: 500;
    font-size: 1.7rem;
    margin-bottom: 20px;
}
.single-libri #product-section del{
    font-size: 1rem;
}
.single-libri #product-section ins{
    text-decoration: none;
}
.single-libri #product-section #order-book{
    padding: 10px 30px;
    background: black;
    color: white;
    font-size: 0.8rem;
    border-radius: 10px;
    outline: black;
    border: none;
    font-weight: 600;
    cursor: pointer;
    width: fit-content;
}
@media screen and (max-width: 450px) {
    .single-libri .detail-content #asset-section{
        padding: 0 14px;
    }
    .single-libri .detail-content #asset-section .top-section{
        padding: 18px 10px;
    }
}
#expedition-slider{
    position: fixed;
    z-index: 100;
    top: 0;
    height: 100%;
    width: 100%;
    max-width: 420px;
    margin: auto;
    transform: translateX(100vw);
    background: #fbfbfb;
    transition: 0.5s;
    padding: 15px;
    overflow: auto;
}
#expedition-slider.active{
    transform: translateX(0);
}
#expedition-slider .header-slider{
    text-align: center;
    position: relative;
    margin-bottom: 30px;
}
#expedition-slider .header-slider button{
    position: absolute;
    left: 0;
    top: 4px;
    font-size: 1.4rem;
    background: none;
    color: gray;
    border: none;
    cursor: pointer;
}
#expedition-slider .header-slider h2{
    font-weight: 500;
}
#expedition-slider .header-slider p{
    line-height: 26px;
}
#expedition-slider button[type="submit"]{
    background: #232323;
    color: #ffffff;
    border: none;
    width: 100%;
    padding: 20px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 11px;
    cursor: pointer;
}
/*====================== SINGLE VIDEO HORIZONTAL ======================*/
.single-video-orizzontali #top-content{
    position: fixed;
    width: 100%;
    max-width: 420px;
    background: #f8f8f8;
}
.single-video-orizzontali #top-content img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    transition: opacity 0.3s ease-in-out;
    cursor: pointer;
}
.single-video-orizzontali #video-content{
    position: relative;
}
.single-video-orizzontali #video-content video{
    width: 100%;
}
.single-video-orizzontali #detail-video{
    padding: 20px;
}
.single-video-orizzontali #detail-video h1{
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.single-video-orizzontali #detail-video p{
    line-height: 25px;
    margin-bottom: 20px;
}
.single-video-orizzontali{
    width: 100%;
}
.single-video-orizzontali .header-top{
    padding: 20px;
    background: #f8f8f8;
}
.single-video-orizzontali .header-top a{
    background: #515151;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.single-video-orizzontali .header-top a i{
    color: white;
    font-size: 23px;
}
/*====================== SINGLE VIDEO STORIE ======================*/
.single-video-storie #video-content{
    width: 100%;
    height: calc(100svh - 64px);
    position: relative;
}
.single-video-storie #video-content .img-cover{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0px;
    left: 0px;
    transition: opacity 0.3s ease-in-out;
    cursor: pointer;
}
.single-video-storie{
    overflow: hidden;
}
.single-video-storie .entry-content{
    position: relative;
}
.single-video-storie #video-content video{
    width: 100%;
    height: 100%;
}
.single-video-storie #video-content iframe{
    height: calc(100svh - 64px) !important;
}
.single-video-storie #detail-video{
    padding: 20px;
    position: fixed;
    bottom: 64px;
    width: 100%;
    top: 0;
    transform: translateY(70%);
    max-width: 420px;
    color: white;
    transition: 1s;
    background: #00000024;
}
.single-video-storie #detail-video.hide{
    display: none;
}
.single-video-storie #detail-video.show-more{
    transform: translateY(0);
    background: #000000f2;

}
.single-video-storie #detail-video .header .title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.single-video-storie #detail-video .header #close-description-video{
    color: black;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    background: white;
    border: none;
    display: none;
}
.single-video-storie #detail-video.show-more #close-description-video{
    display: block;
    margin-bottom: 35px;
}
.single-video-storie a.clear-description-video{
    background: white;
    color: var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    align-content: center;
    -webkit-align-content: center;
    display: block;
}
.single-video-storie a#floating-link{
    position: absolute;
    bottom: 10px;
    right: 10px;
}
.single-video-storie a#floating-link.hide{
    display: none;
}
.single-video-storie #detail-video .header a i{
    font-size: 1.2rem;
}
.single-video-storie #detail-video h1{
    font-size: 2.2rem;
    margin-bottom: 10px;
}
.single-video-storie #detail-video p{
    line-height: 25px;
    margin-bottom: 20px;
}
.single-video-storie{
    width: 100%;
}

.single-video-storie #description-video{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 4;
    text-overflow: ellipsis;
    font-size: 0.9rem;
}
.single-video-storie #description-video.show-more{
    max-height: calc(100svh - 250px);
    overflow: auto;
    display: block;
}
.single-video-storie #description-video-content .read-more{
    display: block;
    line-height: 1.5em;
}
.single-video-storie #detail-video.show-more .read-more{
    text-align: end;
    margin-top: 10px;
}
.single-video-storie #detail-video.show-more .clear-description-video{
    display: none;
}
.single-video-storie #description-video-content .read-more a{
    color: var(--primary);
    font-weight: 500;
}
/*====================== SINGLE AUTORI ======================*/
.single-autori .main-image{
    min-height: 40vh;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}
.single-autori .detail-content{
    background: #f8f8f8;
    border-radius: 2rem 2rem 0 0;
    margin-top: -30px;
    padding: 25px;
    position: relative;
}
.single-autori .detail-content .author-description{
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray);
}
.single-autori .detail-content h1{
    margin-bottom: 13px;
    font-size: 1.5rem;
}
.single-autori .detail-content h2{
    margin: 13px 0;
    font-size: 1.35rem;
}
.single-autori #book-container{
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    justify-content: space-between;
}
.single-autori article.single-content{
    width: 48%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.single-autori article.single-content .footer{
    display: block;
}
.single-autori article.single-content .footer .going-to a{
    margin-top: 20px;
    display: block;
    text-align: center;
}
.single-autori article.single-content .footer .reading-time{
    font-size: 13px;
}
@media screen and (max-width: 450px) {
    .single-autori article.single-content{
        width: 100%;
    }
}