/*
Theme Name: DopomogaSobi
Theme URI: http://childtheme-generator.com/
Description: DopomogaSobi is a child theme of Twenty Twenty-Five, created by ChildTheme-Generator.com
Author: GwynnBleiidd
Author URI: http://childtheme-generator.com/
Template: twentytwentyfive
Version: 1.0.8
Text Domain: dopomogasobi
*/

/* Типографія */
body, .lection, .lectionCatalog {
    font-family: 'Karla', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0;
    color: #2C3E50;
}

h1, h2, h3, h4, h5, h6, .lectionTitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0;
    color: #2C3E50;
}

.categoryName {
    font-size: 14px;
    font-weight: 600;
    color: #6A8EAE;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.lectionBuy, .pods-form-filters-submit {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.lectionInfo {
    /** font-family: 'Poppins', sans-serif; **/
    font-size: 14px;
    font-weight: 600;
}

/* Картка лекції */
.lection-one {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    max-width: 350px;
    width: 100%;
    box-sizing: border-box;
    max-height: 400px;
}

.lection {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    max-width: 350px;
    width: 100%;
    box-sizing: border-box;
    max-height: 400px;
}

.lection-one img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin: 0;
    flex-shrink: 0;
}
.lection img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin: 0;
    flex-shrink: 0;
}

.lectionPricing {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Кнопки справа */
    gap: 12px;
    margin-top: auto;
}

.lectionPriceContainer {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0; /* Забороняємо стискати ціну */
    margin-right: auto; /* Виштовхує контейнер цін вліво */
}

.lectionPrice {
    font-size: 14px;
    font-weight: 700;
    color: #999999;
    margin: 0;
}

.lectionPrice s {
    text-decoration: line-through;
}

.lectionDiscount {
    font-size: 14px;
    font-weight: 700;
    color: #6A8EAE;
    margin: 0;
}

.lectionBuy, .lectionInfo {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
    background-color: #6A8EAE;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.lectionBuy:hover, .lectionInfo:hover {
    background-color: #5A7A9A;
}

/* Каталог лекцій */
.lectionCatalog {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.lectionCatalog.wp-block-pods-pods-block-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.lectionCatalog .lection {
    /** height: 500px; **/
    margin-bottom: 0;
}

.lectionCatalog-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    width: 100%;
}

/* Форма фільтрів */
.pods-form-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.pods-form-ui-field-select, .pods-form-filters-search {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    font-size: 14px;
    min-width: 200px;
}

.pods-form-filters-search {
    display: none;
    flex-grow: 1;
    max-width: 300px;
}

.pods-form-filters-submit {
    padding: 10px 20px;
    background-color: #6A8EAE;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 14px;
    font-weight: 600;
}

.pods-form-filters-submit:hover {
    background-color: #5A7A9A;
}

/* Пагінація */
.pods-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    width: 100%;
}

.pods-pagination-advanced {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pods-pagination-number,
.pods-pagination-label {
    padding: 8px 12px;
    text-decoration: none;
    color: #2C3E50;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pods-pagination-number:hover,
.pods-pagination-label:hover,
.pods-pagination-current {
    background-color: #6A8EAE;
    color: #fff;
    border-color: #6A8EAE;
}
