/* All New Courses catalogue styles */
.anc-catalogue-wrap {
    padding: 40px 0 60px;
    font-family: "Montserrat", system-ui, sans-serif;
}
.anc-catalogue-header {
    margin-bottom: 30px;
    text-align: center;
}
.anc-catalogue-header h1 {
    font-size: 32px;
    margin-bottom: 8px;
}
.anc-result-count {
    color: #636465;
    font-size: 15px;
}

.anc-catalogue-wrap > .container {
    width: calc(100% - 48px);
    max-width: 1200px;
    padding-left: 0;
    padding-right: 0;
}

/* Layout */
.anc-catalogue-layout {
    display: flex;
    flex-wrap: wrap;
}
.anc-sidebar {
    margin-bottom: 30px;
}
.anc-filter-form {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
}
.anc-filter-box {
    margin-bottom: 18px;
}
.anc-filter-box h4 {
    font-size: 15px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.anc-input,
.anc-select,
.anc-select option {
    width: 100%;
    height: 44px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-family: "Montserrat", system-ui, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #333333;
}
.anc-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23636465' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}
.anc-select option {
    padding: 8px 12px;
}
.anc-btn {
    display: inline-block;
    padding: 11px 18px;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    border: 0;
    margin-right: 8px;
    margin-top: 5px;
    transition: background 0.2s ease;
    font-family: "Montserrat", system-ui, sans-serif;
}
.anc-btn-primary {
    background: #0090B6;
    color: #fff;
}
.anc-btn-primary:hover {
    background: #007ba3;
}
.anc-btn-ghost {
    background: transparent;
    color: #0090B6;
    border: 1px solid #0090B6;
}
.anc-btn-ghost:hover {
    background: #f2f2f2;
}

/* Cards */
.anc-grid {
    display: flex;
    flex-wrap: wrap;
}
.anc-card {
    margin-bottom: 30px;
}
.anc-card-inner {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.anc-card-inner:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}
.anc-card-media {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #f2f2f2;
}
.anc-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.anc-card-inner:hover .anc-card-img {
    transform: scale(1.04);
}
.anc-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #636465;
    font-size: 14px;
    text-align: center;
    padding: 20px;
}
.anc-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.anc-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 3px;
    color: #fff;
}
.anc-badge-new {
    background: #009ADF;
}
.anc-badge-sale {
    background: #E5007E;
}
.anc-badge-featured {
    background: #E5007E;
    color: #fff;
}
.anc-card-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.anc-card-title {
    font-size: 17px;
    line-height: 1.35;
    margin: 0 0 6px;
}
.anc-card-title a {
    color: #636465;
    text-decoration: none;
    font-weight: 600;
}
.anc-card-title a:hover {
    color: #E5007E;
}
.anc-card-instructor {
    font-size: 13px;
    color: #636465;
    margin: 0 0 10px;
}
.anc-card-excerpt {
    font-size: 14px;
    color: #333333;
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
}
.anc-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}
.anc-card-price {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.anc-price-regular {
    color: #999;
    font-size: 14px;
}
.anc-price-current {
    font-size: 18px;
    font-weight: 700;
    color: #333333;
}
.anc-card-link {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    background: #0090B6;
    padding: 9px 14px;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
}
.anc-card-link:hover {
    background: #007ba3;
    color: #fff;
}

/* Pagination */
.anc-pagination {
    margin-top: 30px;
    text-align: center;
}
.anc-pagination ul,
.anc-pagination ul.page-numbers {
    display: inline-flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 0;
    margin: 0;
    list-style: none;
    background: transparent !important;
    border: 0 !important;
}
.anc-pagination ul li,
.anc-pagination ul.page-numbers li {
    display: inline-flex !important;
    float: none !important;
    width: auto !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}
.anc-pagination .page-numbers {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333333;
    text-decoration: none;
    background: #fff;
    font-family: "Montserrat", system-ui, sans-serif;
}
.anc-pagination .page-numbers.current,
.anc-pagination .page-numbers:hover {
    background: #0090B6;
    color: #fff;
    border-color: #0090B6;
}
.anc-empty {
    text-align: center;
    padding: 50px 20px;
}

/* Mobile */
@media (max-width: 767px) {
    .anc-catalogue-wrap {
        padding: 25px 0 40px;
    }
    .anc-catalogue-header h1 {
        font-size: 26px;
    }
    .anc-sidebar {
        width: 100%;
        order: 0;
        margin-bottom: 25px;
    }
    .anc-main {
        width: 100%;
        order: 1;
    }
    .anc-card {
        margin-bottom: 20px;
    }
    .anc-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    .anc-card-link {
        width: 100%;
        text-align: center;
    }
    .anc-pagination ul {
        gap: 4px;
    }
    .anc-pagination .page-numbers {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }
}
