:root {
    --e-book-suggest-one-green: #2EBB9D;
}

.e-book-suggest-one {
    display: flex;
    border-radius: 5px;
    background: #F8F9FC;
    padding: 20px;
    height: 290px;
    position: relative;
    box-sizing: border-box;
}

.e-book-suggest-one::before {
    content: '';
    width: 100%;
    background: #f8f9fc;
    height: 30px;
    left: 0;
    bottom: 0;
    position: absolute;
    border-top: 2px solid var(--e-book-suggest-one-green);
}

.e-book-suggest-one .items {
    display: flex;
    width: 70%;
    justify-content: space-evenly;
    align-items: center;
}

.e-book-suggest-one .items .item img {
    max-height: 170px;
}
.e-book-suggest-one .items .item{
    position: relative;
    cursor: pointer;
}

.e-book-suggest-one .items .item::after {
    content: "";
    position: absolute;
    bottom: -10px; /* Adjust the value to control the position of the shadow */
    left: 10px; /* Adjust the value to control the position of the shadow */
    width: 80%;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the color and opacity of the shadow */
    border-radius: 50%;
    box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.3); /* Adjust the size and intensity of the shadow */
    z-index: -1;
}

.e-book-suggest-one .items .item-active {
    background: #f6f7fa;
    border: 2px solid var(--e-book-suggest-one-green);
    padding: 15px 15px 8px 15px;
    position: relative;
    border-bottom: none;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    position: relative;
    bottom: 4px;
}

.e-book-suggest-one .items .item-active img {
    max-height: 210px;
}

.e-book-suggest-one .informations {
    width: 30%;
}

.e-book-suggest-one .informations > .title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 20px;
}

.e-book-suggest-one .informations .info {
    display: flex;
    margin-bottom: 10px;
}

.e-book-suggest-one .informations .info .label {
    font-weight: 600;
}

.e-book-suggest-one .informations a {
    width: 185px;
    height: 35px;
    margin-top: 20px;
    position: relative;
    background: var(--e-book-suggest-one-green);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    display: flex;
    padding: 0 10px;
    justify-content: space-between;
    align-items: center;
}

.e-book-suggest-one .informations a .icon {
    position: relative;
}

.e-book-suggest-one .informations a .icon::before {
    content: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.00016 12.8334C3.7785 12.8334 1.16683 10.2217 1.16683 7.00002C1.16683 3.77836 3.7785 1.16669 7.00016 1.16669C10.2218 1.16669 12.8335 3.77836 12.8335 7.00002C12.8335 10.2217 10.2218 12.8334 7.00016 12.8334Z' stroke='%23fff' stroke-width='1.5' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M6.26503 9.05956L8.31836 7.00039L6.26503 4.94122' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    position: relative;
    top: 2px;
}

/* Responsive Style */
@media only screen and (max-width: 900px) {

    .e-book-suggest-one {
        flex-direction: column-reverse;
        height: unset;
        justify-content: center;
        align-items: center;
        padding-bottom: 30px;
    }

    .e-book-suggest-one .informations {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    .e-book-suggest-one .informations a {
        min-width: 200px;
    }
    .e-book-suggest-one .items .item-active img {
        max-height: 170px;

    }
    .e-book-suggest-one .informations > .title {
        margin-top: 30px;
    }
    .e-book-suggest-one::before {
        bottom: unset;
        position: absolute;
        border-top: 2px solid var(--e-book-suggest-one-green);
        top: 213px;
    }
    .e-book-suggest-one .items .item {
        width: 10px;
        height: 10px;
        border-radius: 160px;
        overflow: hidden;
        position: absolute;
        bottom: 5px;
        transform: translateX(-50%);
        cursor: pointer;
        border: 1px solid #555;
        background: white;
    }
    .e-book-suggest-one .items .item.active{
        background: #777;
    }
    .e-book-suggest-one .items .item img{
        display: none;
    }
    .e-book-suggest-one .items .item:nth-child(2) {
        left: calc(50% + 20px);
    }
    .e-book-suggest-one .items .item:nth-child(3) {
        left: calc(50%);
    }
    .e-book-suggest-one .items .item:nth-child(4) {
        left: calc(50% - 20px);
    }
    .e-book-suggest-one .items .item:nth-child(5) {
        left: calc(50% + 40px);
    }
    .e-book-suggest-one .items .item:nth-child(6) {
        left: calc(50% - 40px);
    }
}

[dir="rtl"] .e-book-suggest-one .informations a .icon::before {
    content: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.99984 12.8334C10.2215 12.8334 12.8332 10.2217 12.8332 7.00002C12.8332 3.77836 10.2215 1.16669 6.99984 1.16669C3.77818 1.16669 1.1665 3.77836 1.1665 7.00002C1.1665 10.2217 3.77818 12.8334 6.99984 12.8334Z' stroke='%23fff' stroke-width='1.5' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M7.73497 9.05956L5.68164 7.00039L7.73497 4.94122' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    position: relative;
    top: 2px;
}