/* BROWSE GENRE */
.browse-section {
    display: flex;
    padding: 50px 79px 106px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
}

.browse-genres {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.genre-names {
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
    gap: 19px;
    align-self: stretch;
    flex-wrap: wrap;
}

.genre-names a {
    display: flex;
    padding: 5px 0px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex: 1 0 0;
    border-radius: 10px;
    background: var(--Primary-P50);
    text-decoration: none;
    color: var(--DARK);
    font-family: Montserrat;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
}

.genre-names a.active {
    display: flex;
    padding: 5px 0px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex: 1 0 0;
    border-radius: 10px;
    background: var(--MAIN-1);
    color: var(--WHITE);
    font-family: Montserrat;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
}

.view-more-genre {
    display: none;
}

/* END OF BROWSE GENRE */

/* GENRE LIST */
.genre-section {
    padding-bottom: 70px;
}

.genre-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    row-gap: 42px;
    flex-wrap: wrap;
}

.genre-details {
    display: flex;
    width: 591px;
    align-items: flex-start;
    gap: 28px;
    flex-shrink: 0;
}

.genre-book-img {
    width: 175.596px;
    height: 280.206px;
    flex-shrink: 0;
    aspect-ratio: 175.60/280.21;
    border-radius: 20px;
}

.genre-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    flex: 1 0 0;
    align-self: stretch;
}

.genre-info h3 {
    color: var(--BLACK);
    font-family: Montserrat;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    align-self: stretch;
}

.genre-info p {
    color: var(--Neutral-N400);
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.genre-info span {
    color: var(--Neutral-N400);
    font-family: Montserrat;
    font-size: 14px;
    font-style: italic;
    font-weight: 500;
    line-height: 20px;
}

.genre-views {
    display: flex;
    align-items: center;
    gap: 20px;
    align-self: stretch;
}

.genre-views span:nth-child(1) {
    color: var(--Neutral-N100);
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.genre-views span:nth-child(2) {
    color: var(--Neutral-N300);
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.genre-list-pagination {
    display: flex;
    width: 1216px;
    padding: 12px 24px 16px 24px;
    margin-top: 5rem;
    justify-content: center;
    align-items: center;
    border-top: 1px solid var(--Primary-P75);
}

.genre-list-pagination div {
    display: flex;
    width: 40px;
    padding: 10px;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--Gray-300);
    background: var(--WHITE);
    color: var(--BLACK);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
}

.genre-list-pagination .previous {
    border-radius: 8px 0px 0px 8px;
}

.genre-list-pagination .next {
    border-radius: 0px 8px 8px 0px;
}

.genre-list-pagination div.active {
    color: var(--MAIN-1) !important;
}

/* END OF GENRE LIST */


/* MOBILE RESPONSIVE  */
@media only screen and (max-width: 1122px) {
    .browse-section {
        padding: 20px 0px 40px;
    }

    .browse-section .container {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .genre-names {
        gap: 12px;
    }

    .genre-names a {
        font-size: 16px;
    }

    .gn-2 {
        display: none;
    }

    .show-genre {
        display: flex;
    }

    .view-more-genre {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        align-self: stretch;
    }

    .view-more-genre button {
        display: flex;
        padding: 8px 18px;
        justify-content: center;
        align-items: center;
        gap: 8px;
        border-radius: 8px;
        border: 1px solid var(--MAIN-1);
        background: var(--WHITE);
        box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
        color: var(--MAIN-1, #8D5499);
        font-family: Montserrat;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 24px;
    }

    .genre-list {
        row-gap: 42px !important;
    }

    .genre-details {
        width: 100% !important;
        gap: 25px !important;
    }

    .genre-book-img {
        width: 162.539px;
        height: 259.371px;
        flex-shrink: 0;
        aspect-ratio: 162.54/259.37;
    }

    .genre-info h3 {
        font-size: 22px;
        line-height: 29px;
    }

    .genre-info p {
        font-size: 16px;
        line-height: 24px;
    }

    .genre-info span {
        font-size: 12px;
        line-height: 18px;
    }

    .genre-views span:nth-child(1),
    .genre-views span:nth-child(2) {
        font-size: 14px;
        line-height: 22px;
    }

    .genre-list-pagination {
        width: 100%;
    }

}

@media only screen and (max-width: 620px) {}

/* END OF MOBILE RESPONSIVE  */