/* ===== Карточки Amelia Catalog (catalogbooking) ===== */
.wb-courses .am-fcil__item {
    border: none !important;
    border-radius: 20px;
    background: #fff !important;
    -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08), 0 8px 18px rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08), 0 8px 18px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 220px 18px 1fr 18px 160px;
    grid-template-columns: 220px 1fr 160px;
    gap: 18px;
    padding: 20px;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}

/* Левая колонка (картинка) */
.wb-courses .am-fcil__item-hero {
    border-radius: 14px;
    min-height: 140px;
    background-size: cover;
    background-position: center;
}

/* Центральная колонка (название + мета + описание) */
.wb-courses .am-fcil__item-heading {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
}

.wb-courses .am-fcil__item-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}

.wb-courses .am-fcil__item-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 8px;
}

.wb-courses .am-fcil__item-info__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 5px;
    background: #f3f4f6;
    color: #374151;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
}

/* Правая колонка (цена и кнопки) */
.wb-courses .am-fcil__item-cost {
    text-align: right;
    font-size: 18px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 10px;
}

.wb-courses .am-fcil__item-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 8px;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.wb-courses .am-fcil__item-footer .am-button {
    border-radius: 999px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    -webkit-box-shadow: 0 6px 14px rgba(124, 58, 237, 0.25) !important;
    box-shadow: 0 6px 14px rgba(124, 58, 237, 0.25) !important;
}

.wb-courses .am-fcil__item-footer .am-button--filled {
    background: #7c3aed !important;
    border: none !important;
}

.wb-courses .am-fcil__item-footer .am-button--filled:hover {
    background: #6d28d9 !important;
}

.wb-courses .am-fcil__item-footer .am-button--text {
    color: #6b7280 !important;
    font-weight: 600 !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

/* Значки (Service и т.п.) */
.wb-courses .am-fcil__item-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #111827;
    color: #fff;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
}

.wb-courses .am-fcil__item-badge.am-service {
    background: #10b981;
}

/* Сетка на маленьких экранах */
@media (max-width: 900px) {
    .wb-courses .am-fcil__item {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }

    .wb-courses .am-fcil__item-footer {
        -webkit-box-align: stretch;
        -ms-flex-align: stretch;
        align-items: stretch;
    }
}

body .amelia-event-wrapper .amelia-v2-booking #amelia-container .am-ec {
    -webkit-box-shadow: #3280A6CF 0px 2px 2px -1px, #3280A6CF 0px 0px 11px, #3280A6CF 8px 0px 0px inset !important;
    box-shadow: #3280A6CF 0px 2px 2px -1px, #3280A6CF 0px 0px 11px, #3280A6CF 8px 0px 0px inset !important
}

.amelia-v2-booking #amelia-container .am-button.am-button--filled {
    background-color: #3280A6 !important;
    border-color: #3280A6 !important;
}

.amelia-v2-booking #amelia-container .am-button.am-button--filled:hover {
    background-color: #3280A6CF !important;
    border-color: #3280A6CF !important;
}

.amelia-v2-booking #amelia-container .am-ec__actions-price {
    color: #3280A6CF !important;
}

.btn-container a {
    background-color: #3280A6;
    font-family: "Manrope", Sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 27px;
    fill: #FFFFFF;
    color: #FFFFFF;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #3280A6;
    border-radius: 8px 8px 8px 8px;
    padding: 13.5px 13.5px 13.5px 13.5px;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    display: block;
    width: 100%;
    text-align: center;
}

.btn-container a:hover {
    background-color: #00000000;
    color: #3280A6;
    border-color: #3280A6;
}

body .amelia-v2-booking #amelia-container .am-eli .am-eli__main .el-tabs__item.is-active,
body .amelia-v2-booking #amelia-container .am-eli__description-btn {
    color: #3280A6 !important;
}

body .amelia-v2-booking #amelia-container .am-eli__organizer-img {
    background-color: transparent !important;
}

body .amelia-v2-booking #amelia-container .am-dialog-el__main-container::-webkit-scrollbar-thumb {
    background: rgba(50, 128, 166, 0.3) !important;
}

body .amelia-v2-booking #amelia-container .am-eli .am-eli__main .el-tabs__active-bar {
    background: rgba(50, 128, 166, 1) !important;
}

body .amelia-v2-booking #amelia-container .am-dialog-el__main-container::-webkit-scrollbar-track {
    background: rgba(50, 128, 166, 0.1) !important;
}

.loop-main-section {
    padding: 16px;
    border-radius: 12px;
    background-color: #FFF;
    max-width: 100%;
    width: 100%;
}

.loop-main-section .posts-count {
    font-size: 18px;
    font-weight: 600;
    line-height: 25px;
    color: #1A2C37;
    margin-bottom: 16px;
    font-family: "Manrope", Sans-serif;
    width: 100%;
    max-width: 100%;
}

.loop-main-section .filter-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.loop-main-section .filter-container .search-main {
    max-width: calc(100% - 110px);
    width: 100%;
    padding-right: 10px;
}

.loop-main-section .filter-container .filter-button {
    max-width: 110px;
    width: 100%;
}

.live-search-main .live-search-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.live-search-main {
    width: 100%;
}

.loop-main-section .filter-container .filter-button a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 6px;
    font-family: "Manrope", Sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 20px;
    background-color: transparent;
    outline: none;
    color: rgb(26, 44, 55);
    border: 1px solid rgba(26, 44, 55, 0.3);
    padding: 9px;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    -webkit-box-shadow: 0 1px 3px rgba(26, 44, 55, 0.1);
    box-shadow: 0 1px 3px rgba(26, 44, 55, 0.1);
}

.loop-main-section .filter-container .filter-button a:hover {
    background-color: rgba(26, 44, 55, 0.1);
    border-color: rgba(26, 44, 55, 0.3);
    -webkit-box-shadow: none;
    box-shadow: none;
}

.loop-main-section .filter-container .filter-button a .icon {
    background-image: url('/wp-content/uploads/2025/12/filter-svgrepo-com.svg');
    width: 18px;
    height: 18px;
    background-position: center center;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

.loop-main-section .filter-container .filter-button a .txt {
    display: inline-block;
    padding-left: 8px;
}

.filter-main-taxonomies {
    display: none;
}

.search-main {
    position: relative;
}

.search-main .icon {
    position: absolute;
    left: 10px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 2;
    background-image: url('/wp-content/uploads/2025/12/search-svgrepo-com.svg');
    width: 18px;
    height: 18px;
    background-position: center center;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

.search-main input {
    width: 100% !important;
    display: block;
    padding: 9px 9px 9px 40px !important;
    border: 1px solid rgba(26, 44, 55, 0.3) !important;
    background-color: #FFF;
    -webkit-box-shadow: 0 1px 3px rgba(26, 44, 55, 0.1);
    box-shadow: 0 1px 3px rgba(26, 44, 55, 0.1);
    border-radius: 6px !important;
    font-family: "Manrope", Sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 20px;
    outline: none;
    color: rgb(26, 44, 55);
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.search-main input::-webkit-input-placeholder {
    color: rgba(26, 44, 55, 0.5) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    line-height: 20px !important;
    font-family: "Manrope", Sans-serif !important;
}

.search-main input::-moz-placeholder {
    color: rgba(26, 44, 55, 0.5) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    line-height: 20px !important;
    font-family: "Manrope", Sans-serif !important;
}

.search-main input:-ms-input-placeholder {
    color: rgba(26, 44, 55, 0.5) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    line-height: 20px !important;
    font-family: "Manrope", Sans-serif !important;
}

.search-main input::-ms-input-placeholder {
    color: rgba(26, 44, 55, 0.5) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    line-height: 20px !important;
    font-family: "Manrope", Sans-serif !important;
}

.search-main input::placeholder {
    color: rgba(26, 44, 55, 0.5) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    line-height: 20px !important;
    font-family: "Manrope", Sans-serif !important;
}

.taxonomies-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -5px;
    padding-top: 10px;
}

.taxonomies-container .filter-style {
    width: 25%;
    padding: 5px;
}

.taxonomies-container ul {
    display: none;
}

.taxonomies-container .tax-name {
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    color: #1A2C37;
    margin-bottom: 5px;
    font-family: "Manrope", Sans-serif;
    width: 100%;
    max-width: 100%;
}

.selected {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 6px;
    font-family: "Manrope", Sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 20px;
    background-color: transparent;
    outline: none;
    color: rgb(26, 44, 55);
    border: 1px solid rgba(26, 44, 55, 0.3);
    padding: 9px;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    -webkit-box-shadow: 0 1px 3px rgba(26, 44, 55, 0.1);
    box-shadow: 0 1px 3px rgba(26, 44, 55, 0.1);
    max-width: 80%;
    width: 100%;
    cursor: pointer;
}

.selected .icon {
    background-image: url('/wp-content/uploads/2025/12/arrow-bottom.svg');
    width: 12px;
    height: 12px;
    background-position: center center;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

.selected .selected-text {
    display: inline-block;
    padding-right: 8px;
    max-width: calc(100% - 12px);
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.taxonomies-container .filter-style ul {
    list-style-type: none;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #FFF;
    z-index: 2;
    top: calc(100% + 10px);
    padding: 4px 12px;
    max-width: 100%;
    width: 100%;
    -webkit-box-shadow: 0 1px 3px rgba(26, 44, 55, 0.1);
    box-shadow: 0 1px 3px rgba(26, 44, 55, 0.1);
    border: 1px solid rgba(26, 44, 55, 0.3);
    border-radius: 6px;
}

.taxonomies-container .filter-style ul li {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: #1A2C37;
    font-family: "Manrope", Sans-serif;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    padding: 8px 0;
    border-bottom: 1px solid rgba(26, 44, 55, 0.3);
}

.taxonomies-container .filter-style ul li:last-child {
    border-bottom: 0;
}

.taxonomies-container .filter-style ul li.active,
.taxonomies-container .filter-style ul li:hover {
    color: #3280A6;
    border-bottom: 1px solid #3280A6;
}

.taxonomies-container .filter-style .categories {
    position: relative;
}

.post-list-main {
    padding-top: 12px;
}

.post-list-main .post-main {
    margin-bottom: 12px;
}

.post-list-main .post-main .post-main-container {
    padding: 12px 16px 12px 24px;
    background-color: #FFF;
    -webkit-box-shadow: rgba(50, 128, 166, 0.81) 0px 2px 2px -1px, rgba(50, 128, 166, 0.81) 0px 0px 11px 0px, rgba(50, 128, 166, 0.81) 8px 0px 0px 0px inset;
    box-shadow: rgba(50, 128, 166, 0.81) 0px 2px 2px -1px, rgba(50, 128, 166, 0.81) 0px 0px 11px 0px, rgba(50, 128, 166, 0.81) 8px 0px 0px 0px inset;
    border-radius: 8px;
}

.post-list-main .post-main .post-main-container .flex-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.post-list-main .post-main .post-main-container .flex-container .date {
    max-width: 72px;
    width: 100%;
    padding-right: 10px;
    font-family: "Manrope", sans-serif;
}

.post-list-main .post-main .post-main-container .flex-container .beginnt {
    color: rgba(26, 44, 55, 0.5);
    font-size: 12px;
    line-height: 18px;
    font-weight: normal;
    display: inline-block;
}

.post-list-main .post-main .post-main-container .flex-container .day {
    color: rgb(26, 44, 55);
    font-weight: 500;
    line-height: 20px;
    font-size: 20px;
    display: inline-block;
    padding-right: 2px;
}

.post-list-main .post-main .post-main-container .flex-container .month {
    color: rgb(26, 44, 55);
    display: inline-block;
    font-size: 13px;
    line-height: 16px;
    font-weight: normal;
}

.post-list-main .post-main .post-main-container .flex-container .time {
    color: rgba(26, 44, 55, 0.8);
    display: inline-block;
    font-size: 12px;
    line-height: 18px;
    font-weight: normal;
}

.post-list-main .post-main .post-main-container .feat-img {
    max-width: 88px;
    width: 100%;
    height: 88px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.post-list-main .post-main .post-main-container .feat-img > div {
    width: 100%;
    height: 100%;
}

.post-list-main .post-main .post-main-container .feat-img img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center center;
    object-position: center center;
}

.post-list-main .post-main .post-main-container .read-more {
    max-width: 110px;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    font-family: "Manrope", sans-serif;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    min-height: 88px;
}

.post-list-main .post-main .post-main-container .post-title {
    max-width: calc(100% - 270px);
    width: 100%;
    padding: 0 16px;
}

.post-list-main .post-main .post-main-container .post-title h2 {
    color: rgba(26, 44, 55, 0.9);
    margin: 0 0 8px 0;
    font-size: 16px;
    line-height: 28px;
    font-weight: 600;
    font-family: "Manrope", sans-serif;
}

.post-list-main .post-main .post-main-container .meta-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-family: "Manrope", sans-serif;
}

.post-list-main .post-main .post-main-container .meta-info span {
    color: rgba(26, 44, 55, 0.8);
    display: inline-block;
    font-size: 15px;
    line-height: 24px;
    font-weight: 400;
}

.post-list-main .post-main .post-main-container .meta-info .green {
    color: rgb(1, 151, 25);
    display: inline-block;
    padding-right: 8px;
    font-size: 15px;
    line-height: 24px;
    font-weight: 500;
}

.post-list-main .post-main .post-main-container .meta-info .bold {
    color: rgba(26, 44, 55, 0.8);
    display: inline-block;
    font-size: 15px;
    line-height: 24px;
    font-weight: 700;
    padding-right: 4px;
}

.post-list-main .post-main .post-main-container .read-more .price span {
    color: rgba(50, 128, 166, 0.81);
    font-size: 16px;
    line-height: 25px;
    font-weight: 700;
}

.post-list-main .post-main .post-main-container .read-more .price {
    margin-bottom: 8px;
}

.post-list-main .post-main .post-main-container .read-more a {
    background-color: #3280A6;
    font-family: "Manrope", Sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    fill: #FFFFFF;
    color: #FFFFFF;
    border-radius: 6px 6px 6px 6px;
    padding: 6px 16px 6px 16px;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.post-list-main .post-main .post-main-container .read-more a:hover {
    background-color: #3280A6CF;
    color: #FFFFFF;
    border-color: #3280A6CF;
}

@media (max-width: 992px) {
    .taxonomies-container .filter-style {
        width: 33.333%;
    }
}

@media (max-width: 767px) {
    .taxonomies-container .filter-style {
        width: 100%;
    }
}

@media (max-width: 550px) {
    .post-list-main .post-main .post-main-container .feat-img,
    .post-list-main .post-main .post-main-container .post-title,
    .post-list-main .post-main .post-main-container .read-more,
    .post-list-main .post-main .post-main-container .flex-container .date {
        max-width: 100%;
        padding: 0;
    }

    .post-list-main .post-main .post-main-container .flex-container .date {
        padding-bottom: 8px;
    }

    .post-list-main .post-main .post-main-container .flex-container .day {
        font-size: 18px;
        line-height: 18px;
    }

    .post-list-main .post-main .post-main-container .flex-container .beginnt,
    .post-list-main .post-main .post-main-container .flex-container .month,
    .post-list-main .post-main .post-main-container .flex-container .time {
        font-size: 14px;
    }

    .post-list-main .post-main .post-main-container .feat-img {
        height: auto;
    }

    .post-list-main .post-main .post-main-container .read-more {
        -webkit-box-orient: unset;
        -webkit-box-direction: unset;
        -ms-flex-direction: unset;
        flex-direction: unset;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .post-list-main .post-main .post-main-container .read-more {
        margin-top: 20px;
        min-height: 1px;
    }

    .post-list-main .post-main .post-main-container .read-more .price {
        margin-bottom: 0;
    }

    .selected {
        max-width: 100%;
    }

    .search-main input {
        padding-right: 32px !important;
    }
}

.filter-main-taxonomies,
.loop-main-section .filter-container .filter-button {
	display: none !important;
}

.loop-main-section .filter-container .search-main {
	max-width: 100% !important;
	padding: 0 !important;
}