/*
 Theme Name:   Booklovers Child Theme
 Theme URI:    http://booklovers.ancorathemes.com
 Description:  Booklovers Child Theme
 Author:       AncoraThemes
 Author URI:   http://ancorathemes.com
 Template:     booklovers
 Version:      1.0
 Tags:         flexible-header, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
 Text Domain:  booklovers
*/


/* =Theme customization starts here
------------------------------------------------------------ */
h2.sc_item_title {
    margin-bottom: 0.8rem;
}
.product .woocommerce_extensions_brand_item .woocommerce_extensions_brand_item_label {
    display: none;
}
.product .woocommerce_extensions_brand_item .woocommerce_extensions_brand_item_caption {
    margin-left: 0px;
}
.subtitle {
    color: #222;
    font-size: 20px;
    margin-top: -20px;
}
.sc_extended_products .woocommerce ul.products li.product span.price,
.woocommerce .related.products ul.products li.product .price {
    display: none;
}
.team_page_wrap_info .team_page_wrap_info_over {
    padding: 0;
}
.sc_blogger_columns_wrap {
    margin-bottom: 50px;
}

/* Product page
------------------------------------------------------------ */
.woocommerce-product-attributes-item__value p {
    font-weight: 400;
    color: #797979;
}

.woocommerce ul.products li.product .post_featured:hover img, .woocommerce-page ul.products li.product .post_featured:hover img, .woocommerce ul.products li.product a:hover img, .woocommerce-page ul.products li.product a:hover img {
    transform: none;
}

a.product-page_serie__link {
    color: #6d9773;
    transition: .3s;
    font-weight: 400;
}
a.product-page_serie__link:hover {
    color: #121212;
}

/* Author page
------------------------------------------------------------ */
.author-thumbnail {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}
.authors_all_book {
    margin-bottom: 20px;
}
.authors_all_books a {
    background-color: black;
    color: white;
    text-align: center;
    padding: 10px 20px;
    width: 100%;
}
@media (max-width: 768px) {
    .author-thumbnail {
        float: left;
        margin-right: 0;
    }
}




/* Стили для контейнера карточек авторов */
.author-card-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1320px; /* Максимальная ширина контейнера */
    margin: 0 auto;
}

/* Стили для каждой карточки автора */
.author-card {
    flex-grow: 1; /* Занимает всю доступную ширину внутри контейнера */
    background-color: #f5f5f4;
    padding: 0;
    margin: 0 10px 20px; /* Промежутки справа и слева по 10px, снизу 20px */
    box-sizing: border-box;
    position: relative;
}

.author-card h4 {
    font-size: 24px;
    text-align: center;
    margin: 10px 0;
}

/* Стили для контейнера изображения */
.image-container {
    display: block;
    position: relative;
    overflow: hidden;
    padding-bottom: 150%;
}

/* Стили для изображения */
.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Стили для мобильных устройств (максимальная ширина 768px) */
@media screen and (max-width: 768px) {
    .author-card {
        flex-basis: calc(50% - 20px);
    }
}

/* Pagination styles */
.klim_pagination {
    display: flex;
    justify-content: flex-start;
    margin-top: 20px;
}

.klim_pagination .page-numbers {
    margin: 0 2px;
    padding: 10px 20px;
    background-color: #fff;
    text-decoration: none;
    text-align: center;
    color: #000;
    transition: background-color 0.3s ease;
    border-radius: 0;
}

.klim_pagination .page-numbers:hover {
    background: #fcfcfc;
}

.klim_pagination .page-numbers.current {
    background-color: #000;
    color: #fff;
}

.klim_pagination .page-numbers.current,
.klim_pagination .page-numbers:hover {
    border-radius: 0;
}

.klim_purchase_button {
    margin-top: 10px;
    margin-bottom: 20px;
}








