/*
|--------------------------------------------------------------------------
| Edwumafie Categories Page
|--------------------------------------------------------------------------
*/

.edw-categories-page {
    min-height: calc(100vh - 180px);
    padding: 70px 0 90px;
    background: var(--edw-cream, #f8f3ea);
}


/*
|--------------------------------------------------------------------------
| Page Header
|--------------------------------------------------------------------------
*/

.edw-categories-header {
    margin-bottom: 45px;
}

.edw-categories-header-content {
    max-width: 760px;
}

.edw-categories-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--edw-green, #486b3c);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.edw-categories-eyebrow i {
    font-size: 0.9rem;
}

.edw-categories-header h1 {
    margin: 0 0 14px;
    color: var(--edw-brown, #3b2115);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
}

.edw-categories-header p {
    max-width: 680px;
    margin: 0;
    color: #6d625c;
    font-size: 1.05rem;
    line-height: 1.75;
}


/*
|--------------------------------------------------------------------------
| Alert
|--------------------------------------------------------------------------
*/

.edw-categories-alert {
    margin-bottom: 30px;
    border: 0;
    border-radius: 14px;
}


/*
|--------------------------------------------------------------------------
| Category Grid
|--------------------------------------------------------------------------
*/

.edw-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}


/*
|--------------------------------------------------------------------------
| Category Card
|--------------------------------------------------------------------------
*/

.edw-category-card {
    position: relative;
    display: flex;
    min-height: 255px;
    flex-direction: column;
    padding: 28px;
    overflow: hidden;
    border: 1px solid rgba(59, 33, 21, 0.09);
    border-radius: 20px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(59, 33, 21, 0.06);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.edw-category-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--edw-gold, #c59b45);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.edw-category-card:hover {
    border-color: rgba(197, 155, 69, 0.35);
    color: inherit;
    text-decoration: none;
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(59, 33, 21, 0.12);
}

.edw-category-card:hover::before {
    transform: scaleX(1);
}


/*
|--------------------------------------------------------------------------
| Category Icon
|--------------------------------------------------------------------------
*/

.edw-category-card-icon {
    display: flex;
    width: 62px;
    height: 62px;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 16px;
    background: rgba(72, 107, 60, 0.10);
    color: var(--edw-green, #486b3c);
    font-size: 1.55rem;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.edw-category-card:hover .edw-category-card-icon {
    background: var(--edw-green, #486b3c);
    color: #ffffff;
    transform: scale(1.05);
}


/*
|--------------------------------------------------------------------------
| Card Content
|--------------------------------------------------------------------------
*/

.edw-category-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.edw-category-card h2 {
    margin: 0 0 10px;
    color: var(--edw-brown, #3b2115);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
}

.edw-category-card p {
    margin: 0;
    color: #716963;
    font-size: 0.93rem;
    line-height: 1.65;
}


/*
|--------------------------------------------------------------------------
| Card Footer
|--------------------------------------------------------------------------
*/

.edw-category-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: auto;
    padding-top: 22px;
}

.edw-category-service-count {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #756a63;
    font-size: 0.82rem;
    font-weight: 600;
}

.edw-category-service-count i {
    color: var(--edw-gold, #c59b45);
}

.edw-category-card-arrow {
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: #f4eee5;
    color: var(--edw-brown, #3b2115);
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.edw-category-card:hover .edw-category-card-arrow {
    background: var(--edw-gold, #c59b45);
    color: #ffffff;
    transform: translateX(3px);
}


/*
|--------------------------------------------------------------------------
| Empty State
|--------------------------------------------------------------------------
*/

.edw-categories-empty {
    max-width: 650px;
    margin: 20px auto 60px;
    padding: 65px 30px;
    border: 1px solid rgba(59, 33, 21, 0.08);
    border-radius: 22px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 10px 30px rgba(59, 33, 21, 0.06);
}

.edw-categories-empty-icon {
    display: flex;
    width: 76px;
    height: 76px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: rgba(197, 155, 69, 0.12);
    color: var(--edw-gold, #c59b45);
    font-size: 1.8rem;
}

.edw-categories-empty h2 {
    margin: 0 0 12px;
    color: var(--edw-brown, #3b2115);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.65rem;
}

.edw-categories-empty p {
    max-width: 480px;
    margin: 0 auto 25px;
    color: #70655e;
    line-height: 1.7;
}


/*
|--------------------------------------------------------------------------
| Bottom CTA
|--------------------------------------------------------------------------
*/

.edw-categories-cta {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 60px;
    padding: 30px 34px;
    border-radius: 20px;
    background: var(--edw-brown, #3b2115);
    box-shadow: 0 15px 35px rgba(59, 33, 21, 0.14);
}

.edw-categories-cta-icon {
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 15px;
    background: rgba(197, 155, 69, 0.16);
    color: var(--edw-gold, #c59b45);
    font-size: 1.3rem;
}

.edw-categories-cta-content {
    flex: 1;
}

.edw-categories-cta-content h2 {
    margin: 0 0 5px;
    color: #ffffff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.45rem;
    font-weight: 700;
}

.edw-categories-cta-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    line-height: 1.5;
}

.edw-categories-cta-action {
    flex-shrink: 0;
}


/*
|--------------------------------------------------------------------------
| Button Fallbacks
|--------------------------------------------------------------------------
*/

.edw-categories-page .edw-btn-primary,
.edw-categories-page .edw-btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 11px 20px;
    border: 0;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.edw-categories-page .edw-btn-primary {
    background: var(--edw-green, #486b3c);
    color: #ffffff;
}

.edw-categories-page .edw-btn-gold {
    background: var(--edw-gold, #c59b45);
    color: var(--edw-brown, #3b2115);
}

.edw-categories-page .edw-btn-primary:hover,
.edw-categories-page .edw-btn-gold:hover {
    color: inherit;
    text-decoration: none;
    transform: translateY(-2px);
}


/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 1199.98px) {

    .edw-categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 767.98px) {

    .edw-categories-page {
        padding: 50px 0 65px;
    }

    .edw-categories-header {
        margin-bottom: 32px;
    }

    .edw-categories-header h1 {
        font-size: 2.35rem;
    }

    .edw-categories-header p {
        font-size: 0.96rem;
    }

    .edw-categories-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .edw-category-card {
        min-height: 230px;
        padding: 24px;
    }

    .edw-categories-cta {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 40px;
        padding: 26px;
    }

    .edw-categories-cta-action {
        width: 100%;
    }

    .edw-categories-cta-action .edw-btn-gold {
        width: 100%;
    }

}


/*
|--------------------------------------------------------------------------
| Small Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 479.98px) {

    .edw-categories-page {
        padding: 40px 0 55px;
    }

    .edw-categories-header h1 {
        font-size: 2rem;
    }

    .edw-category-card {
        padding: 21px;
        border-radius: 17px;
    }

    .edw-category-card-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 18px;
        border-radius: 14px;
        font-size: 1.35rem;
    }

    .edw-category-card h2 {
        font-size: 1.2rem;
    }

    .edw-category-card p {
        font-size: 0.88rem;
    }

    .edw-categories-empty {
        padding: 45px 22px;
    }

    .edw-categories-cta {
        padding: 22px;
        border-radius: 17px;
    }

}


/*
|--------------------------------------------------------------------------
| Reduced Motion
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {

    .edw-category-card,
    .edw-category-card::before,
    .edw-category-card-icon,
    .edw-category-card-arrow,
    .edw-categories-page .edw-btn-primary,
    .edw-categories-page .edw-btn-gold {
        transition: none;
    }

}


.edw-categories-page {
    color: #24150d;
    padding-bottom: 32px;
}

.edw-categories-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.edw-categories-eyebrow {
    display: inline-block;
    margin-bottom: 7px;
    color: #1d5c3a;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.edw-categories-heading h1 {
    margin: 0 0 8px;
    color: #24150d;
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    font-weight: 800;
}

.edw-categories-heading p {
    margin: 0;
    color: #81766e;
    font-size: 0.92rem;
}

.edw-categories-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 43px;
    padding: 11px 16px;
    color: #fff;
    background: #1d5c3a;
    border: 1px solid #1d5c3a;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.edw-categories-primary-button:hover {
    color: #fff;
    background: #16462c;
    border-color: #16462c;
}

.edw-categories-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.edw-categories-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 20px;
    background: #fff;
    border: 1px solid #eee8e2;
    border-radius: 15px;
    box-shadow: 0 4px 16px rgb(36 21 13 / 3%);
}

.edw-categories-stat-icon {
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    font-size: 1.05rem;
}

.category-stat-total {
    color: #79501a;
    background: #f4e9d8;
}

.category-stat-active {
    color: #1d5c3a;
    background: #e3f2e8;
}

.category-stat-inactive {
    color: #6c5b83;
    background: #f0e9f7;
}

.edw-categories-stat > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.edw-categories-stat > div > span {
    color: #81766e;
    font-size: 0.78rem;
    font-weight: 600;
}

.edw-categories-stat strong {
    color: #24150d;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.1;
}

.edw-categories-panel {
    min-width: 0;
    margin-bottom: 24px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee8e2;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgb(36 21 13 / 3%);
}

.edw-categories-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 21px 22px;
    border-bottom: 1px solid #f0ebe6;
}

.edw-categories-panel-heading h2 {
    margin: 0 0 6px;
    color: #24150d;
    font-size: 1.05rem;
    font-weight: 800;
}

.edw-categories-panel-heading p {
    margin: 0;
    color: #847a73;
    font-size: 0.82rem;
}

.edw-categories-result-count {
    padding: 7px 10px;
    color: #1d5c3a;
    background: #e7f2e9;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

.edw-categories-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 22px;
    border-bottom: 1px solid #f0ebe6;
}

.edw-categories-search {
    position: relative;
    flex: 1;
    min-width: 150px;
}

.edw-categories-search > i {
    position: absolute;
    top: 50%;
    left: 13px;
    color: #968b81;
    font-size: 0.85rem;
    transform: translateY(-50%);
    pointer-events: none;
}

.edw-categories-search input,
.edw-categories-filters select {
    width: 100%;
    min-width: 0;
    height: 42px;
    padding: 9px 11px;
    color: #24150d;
    background: #fff;
    border: 1px solid #e6ded5;
    border-radius: 9px;
    outline: none;
    font-family: inherit;
    font-size: 0.82rem;
}

.edw-categories-search input {
    padding-left: 36px;
}

.edw-categories-search input:focus,
.edw-categories-filters select:focus {
    border-color: #c69b26;
    box-shadow: 0 0 0 3px rgb(212 160 23 / 12%);
}

.edw-categories-search input::placeholder {
    color: #a59a91;
}

.edw-categories-filter-button,
.edw-categories-reset-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease;
}

.edw-categories-filter-button {
    color: #fff;
    background: #1d5c3a;
    border-color: #1d5c3a;
}

.edw-categories-filter-button:hover {
    color: #fff;
    background: #16462c;
}

.edw-categories-reset-button {
    color: #5d5147;
    background: #f8f5f1;
    border-color: #e8dfd6;
}

.edw-categories-reset-button:hover {
    color: #24150d;
    background: #efe8df;
}

.edw-categories-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.edw-categories-table {
    width: 100%;
    min-width: 780px;
    margin: 0;
    vertical-align: middle;
    border-collapse: separate;
    border-spacing: 0;
}

.edw-categories-table thead th {
    padding: 14px 16px;
    color: #81766e;
    background: #fcfaf7;
    border-bottom: 1px solid #eee8e2;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.45px;
    text-transform: uppercase;
    white-space: nowrap;
}

.edw-categories-table tbody td {
    padding: 16px;
    color: #55483e;
    border-bottom: 1px solid #f1ece7;
    font-size: 0.8rem;
}

.edw-categories-table tbody tr:last-child td {
    border-bottom: 0;
}

.edw-categories-table tbody tr:hover td {
    background: #fffdf9;
}

.edw-categories-name-cell {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 175px;
}

.edw-categories-icon {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    color: #8a6516;
    background: #f6ecd6;
    border: 1px solid #f0e1be;
    border-radius: 12px;
    font-size: 1rem;
}

.edw-categories-name-cell > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.edw-categories-name-cell strong {
    color: #24150d;
    font-size: 0.84rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.edw-categories-name-cell small {
    color: #968a80;
    font-size: 0.69rem;
}

.edw-categories-slug {
    display: inline-block;
    padding: 5px 7px;
    color: #64594e;
    background: #f7f4ef;
    border-radius: 6px;
    font-size: 0.72rem;
    overflow-wrap: anywhere;
}

.edw-categories-description {
    display: block;
    max-width: 260px;
    color: #776b61;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.edw-categories-service-count {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #1d5c3a;
    font-weight: 800;
    white-space: nowrap;
}

.edw-categories-service-count i {
    color: #7c9d83;
}

.edw-categories-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 9px;
    border-radius: 7px;
    font-size: 0.7rem;
    font-weight: 800;
    white-space: nowrap;
}

.category-status-active {
    color: #1d5c3a;
    background: #e4f3e8;
}

.category-status-inactive {
    color: #76539a;
    background: #f0e9f7;
}

.category-status-unknown {
    color: #5f5147;
    background: #f0ebe5;
}

.edw-categories-date {
    color: #776b61;
    font-size: 0.74rem;
    white-space: nowrap;
}

.edw-categories-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.edw-categories-edit-button,
.edw-categories-toggle-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 33px;
    padding: 7px 9px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease;
}

.edw-categories-edit-button {
    color: #1d5c3a;
    background: #edf5ef;
    border-color: #d7e8db;
}

.edw-categories-edit-button:hover {
    color: #fff;
    background: #1d5c3a;
}

.edw-categories-toggle-button.toggle-inactive {
    color: #a05200;
    background: #fff3df;
    border-color: #f4dfbb;
}

.edw-categories-toggle-button.toggle-inactive:hover {
    color: #fff;
    background: #a05200;
}

.edw-categories-toggle-button.toggle-active {
    color: #1d5c3a;
    background: #e4f3e8;
    border-color: #cce5d3;
}

.edw-categories-toggle-button.toggle-active:hover {
    color: #fff;
    background: #1d5c3a;
}

.edw-categories-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 55px 20px;
    text-align: center;
}

.edw-categories-empty > span {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 17px;
    color: #8a6a25;
    background: #f7edda;
    border-radius: 19px;
    font-size: 1.4rem;
}

.edw-categories-empty h3 {
    margin-bottom: 7px;
    color: #24150d;
    font-size: 1.05rem;
    font-weight: 800;
}

.edw-categories-empty p {
    margin-bottom: 18px;
    color: #81766e;
    font-size: 0.85rem;
}

.edw-categories-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 17px 22px;
    border-top: 1px solid #f0ebe6;
}

.edw-categories-pagination > span {
    color: #81766e;
    font-size: 0.78rem;
}

.edw-categories-pagination > div {
    display: flex;
    align-items: center;
    gap: 5px;
}

.edw-categories-pagination a {
    display: grid;
    place-items: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    color: #5c5046;
    background: #fff;
    border: 1px solid #e9e1d8;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.edw-categories-pagination a:hover,
.edw-categories-pagination a.active {
    color: #fff;
    background: #1d5c3a;
    border-color: #1d5c3a;
}

.edw-categories-modal {
    overflow: hidden;
    border: 1px solid #eee4d9;
    border-radius: 16px;
}

.edw-categories-modal .modal-header {
    align-items: flex-start;
    padding: 22px;
    border-bottom-color: #f0ebe6;
}

.edw-categories-modal .modal-title {
    color: #24150d;
    font-size: 1.1rem;
    font-weight: 800;
}

.edw-categories-modal .modal-header p {
    margin-top: 5px;
    color: #81766e;
    font-size: 0.8rem;
}

.edw-categories-modal .modal-body {
    padding: 22px;
}

.edw-categories-modal .form-label {
    color: #403127;
    font-size: 0.82rem;
    font-weight: 800;
}

.edw-categories-modal .form-control,
.edw-categories-modal .form-select {
    min-height: 43px;
    color: #24150d;
    border-color: #e6ded5;
    border-radius: 9px;
    font-size: 0.85rem;
}

.edw-categories-modal textarea.form-control {
    min-height: 90px;
    resize: vertical;
}

.edw-categories-modal .form-control:focus,
.edw-categories-modal .form-select:focus {
    border-color: #c69b26;
    box-shadow: 0 0 0 3px rgb(212 160 23 / 12%);
}

.edw-categories-help {
    display: block;
    margin-top: 6px;
    color: #81766e;
    font-size: 0.73rem;
    line-height: 1.5;
}

.edw-categories-modal .modal-footer {
    padding: 16px 22px;
    border-top-color: #f0ebe6;
}

@media (max-width: 767.98px) {
    .edw-categories-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 20px;
    }

    .edw-categories-heading > button {
        width: 100%;
    }

    .edw-categories-stats {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 18px;
    }

    .edw-categories-stat {
        padding: 15px;
        border-radius: 12px;
    }

    .edw-categories-stat-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .edw-categories-stat strong {
        font-size: 1.35rem;
    }

    .edw-categories-panel {
        border-radius: 13px;
    }

    .edw-categories-panel-heading {
        padding: 17px;
    }

    .edw-categories-filters {
        align-items: stretch;
        flex-wrap: wrap;
        padding: 15px;
    }

    .edw-categories-search {
        flex-basis: 100%;
    }

    .edw-categories-filters select {
        flex: 1;
        min-width: 120px;
    }

    .edw-categories-filter-button,
    .edw-categories-reset-button {
        flex: 1;
    }

    .edw-categories-pagination {
        align-items: flex-start;
        flex-direction: column;
        padding: 15px;
    }

    .edw-categories-pagination > div {
        flex-wrap: wrap;
    }
}

@media (max-width: 420px) {
    .edw-categories-heading h1 {
        font-size: 1.5rem;
    }

    .edw-categories-panel-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .edw-categories-result-count {
        font-size: 0.72rem;
    }

    .edw-categories-filters {
        flex-direction: column;
    }

    .edw-categories-filters select,
    .edw-categories-filter-button,
    .edw-categories-reset-button {
        width: 100%;
    }
}

/* ==========================================================
EDWUMAFIE PUBLIC CATEGORIES - FONT AWESOME FIX
========================================================== */

.edw-categories-page .fa-solid,
.edw-categories-page .fa-regular,
.edw-categories-page .fa-brands {
display: inline-block !important;
visibility: visible !important;
opacity: 1 !important;
font-style: normal !important;
line-height: 1;
}

.edw-categories-page .fa-solid {
font-family: "Font Awesome 6 Free" !important;
font-weight: 900 !important;
}

.edw-categories-page .fa-regular {
font-family: "Font Awesome 6 Free" !important;
font-weight: 400 !important;
}

.edw-categories-page .fa-brands {
font-family: "Font Awesome 6 Brands" !important;
font-weight: 400 !important;
}

.edw-categories-page .edw-category-card-icon i,
.edw-categories-page .edw-categories-eyebrow i,
.edw-categories-page .edw-category-service-count i,
.edw-categories-page .edw-category-card-arrow i,
.edw-categories-page .edw-categories-empty-icon i,
.edw-categories-page .edw-categories-cta-icon i,
.edw-categories-page .edw-btn-primary i,
.edw-categories-page .edw-btn-gold i {
font-family: "Font Awesome 6 Free" !important;
font-weight: 900 !important;
}
