.tax-page-wrapper,
.tax-detail-wrapper {
    background-color: #f5f8fa;
    padding: 24px 0 60px 0;
    font-family: var(--font-1, 'Poppins', sans-serif);
}

.tax-breadcrumb {
    margin-bottom: 20px;
}

.tax-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
    align-items: center;
    font-size: 15px;
}

.tax-breadcrumb li {
    font-weight: 500;
}

.tax-breadcrumb li a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tax-breadcrumb li a:hover {
    color: #212529;
}

.tax-breadcrumb li.active {
    color: #212529;
}

.tax-breadcrumb li+li::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 600;
    padding: 0 0.5rem;
    color: #64748b;
    opacity: 0.6;
}


/* ==========================================================================
   2. Job Categories Directory Page (en/job-categories.php)
   ========================================================================== */
.tax-hero-card {
    background: #081a2f;
    border-radius: 10px;
    padding: 25px 30px;
    color: #ffffff;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
}

.tax-hero-title {
    font-size: 30px;
    font-weight: 600;
    color: #ffffff;
}

.tax-search-box {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.tax-search-box input {
    width: 100%;
    padding: 10px 16px 10px 38px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.96);
    color: #0f172a;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

.tax-search-box input:focus {
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.tax-search-box i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 14px;
}

.tax-sidebar-col {
    position: relative;
}

.tax-sidebar {
    position: sticky;
    top: 90px;
    z-index: 10;
}

.tax-sidebar::-webkit-scrollbar {
    width: 4px;
}

.tax-sidebar::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.tax-sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.tax-nav-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    margin-bottom: 16px;
}

.tax-nav-card-header {
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.8px;
    color: #747474;
    margin-bottom: 10px;
    padding-left: 6px;
}

.tax-job-categories-left-scroll {
    overflow: hidden;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.tax-job-categories-left-scroll .nav {
    flex-wrap: unset;
}

.tax-job-categories-left-scroll::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.tax-tabs-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tax-tab-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 12px;
    border-radius: 5px;
    border: 1px solid transparent;
    background: #ffffff;
    text-align: left;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    outline: none;
    color: #212529;
}

.tax-tab-btn:hover {
    background: #f5f8f8;
}

.tax-tab-btn.active {
    background: #eef1fe;
}

.tax-tab-btn-content {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.tax-tab-sno-badge {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12.5px;
    background: #f1f5f9;
    color: #475569;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.tax-tab-btn.active .tax-tab-sno-badge {
    background: #0a66c2;
    color: #ffffff;
}

.tax-tab-title {
    font-size: 15px;
    font-weight: 500;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tax-tab-title svg {
    opacity: 0;
}

.tax-tab-btn.active .tax-tab-title {
    color: #0a66c2;
}

.tax-tab-btn.active .tax-tab-title svg {
    opacity: 1;
    fill: #0a66c2;
}

.tax-tab-count {
    background: #f1f5f9;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 12px;
    flex-shrink: 0;
    margin-left: 6px;
}

.tax-tab-btn.active .tax-tab-count {
    background: #dbeafe;
    color: #1e40af;
}

.tax-content-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 30px 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    margin-bottom: 25px;
}

.tax-content-card .tax-tabs-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 0 20px 0;
    margin-bottom: 8px;
}

.tax-content-card .tax-tab-btn {
    width: auto;
    padding: 5px 8px;
    background: #f6f6f6;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.tax-content-card .tax-tab-btn .tax-tab-title {
    color: #565e66;
    font-size: 13px;
}

.tax-content-card .tax-tab-btn:hover .tax-tab-title {
    color: #212529;
}

.tax-content-card .tax-tab-btn.active {
    background: #081a2f;
}

.tax-content-card .tax-tab-btn.active .tax-tab-title {
    color: #ffffff;
}

.tax-subgroup-tab-content.tax-search-active .tab-pane {
    display: block !important;
    opacity: 1 !important;
}

.tax-kw-count {
    font-size: 12.5px;
    color: #212529;
    margin-left: 3px;
}

.tax-content-header-section {
    padding-bottom: 15px;
}

.tax-main-heading {
    font-size: 22px;
    font-weight: 600;
    color: #000;
}

.tax-main-desc {
    color: #747474;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.tax-group-block {
    margin-bottom: 28px;
}

.tax-group-block:last-child {
    margin-bottom: 0;
}

.tax-group-heading {
    font-size: 18px;
    font-weight: 600;
    text-decoration: underline;
    color: #0a66c2;
    margin-bottom: 14px;
}

.tax-keywords-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 30px;
    row-gap: 8px;
}

@media (max-width: 767px) {
    .tax-keywords-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

.tax-kw-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px;
    border-radius: 3px;
    transition: all 0.2s ease;
    border-bottom: 1px solid #ebeff396;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.tax-kw-item:last-child {
    border: none;
}

.tax-kw-item::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    background: #eef1fe;
    transition: height 0.3s ease;
    z-index: 0;
}

.tax-kw-item:hover::before {
    height: 100%;
    cursor: pointer;
}

.tax-kw-item .tax-kw-title>*,
.tax-kw-item .tax-kw-cities-sub>* {
    position: relative;
    z-index: 1;
}

.tax-kw-city-btn:hover {
    color: rgb(114, 112, 112);
}

.tax-kw-city-btn span:hover {
    color: #0a66c2;
    text-decoration: underline;
}

.tax-kw-top {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 16px;
}

.tax-kw-bullet {
    color: #1e293b;
    font-size: 15px;
    line-height: 1;
    user-select: none;
    flex-shrink: 0;
}

.tax-kw-title {
    margin: 0;
    padding: 0;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.45;
    display: inline;
}

.tax-kw-link {
    color: #212529;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
    word-break: break-word;
}

.tax-kw-link:hover .tax-kw-name {
    color: #212529;
    text-decoration: underline;
}

.tax-kw-cities-sub {
    margin-top: 2px;
}

.tax-kw-city-btn {
    display: flex;
    align-items: start;
    gap: 5px;
    font-size: 13.8px;
    color: #565e66;
    text-decoration: none;
    transition: all 0.15s ease;
    line-height: 18px;
}

.tax-kw-city-btn svg {
    flex-shrink: 0;
    fill: rgb(114, 112, 112);
}

/* Search Highlights */
.tax-highlight {
    background-color: #fef08a;
    color: #854d0e;
    padding: 0 2px;
    border-radius: 3px;
    font-weight: 600;
}

.tax-kw-item.is-dimmed {
    opacity: 0.2;
}

.tax-search-status {
    font-size: 12.5px;
    color: #e0e7ff;
    margin-top: 4px;
    display: none;
}

.tax-detail-title {
    font-size: 30px;
    font-weight: 600;
    margin: 0;
    color: #ffffff;
}

.tax-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tax-btn-back:hover {
    background: #ffffff;
    color: #124395;
    border-color: #ffffff;
}

.tax-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 30px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    margin-bottom: 25px;
}

.tax-card-heading {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 10px;
    color: #0a66c2;
    text-decoration: underline;
    border: none;
}

.tax-card-heading-link {
    display: inline-block;
}

.tax-card-heading-link:hover {
    color: #212529;
    text-decoration: underline;
}

/* Mobile Sub-Tabs Navigation Start */
.tax-subnav-mshow {
    position: relative;
    display: none !important;
}

.tax-title-m {
    display: inline-flex;
    gap: 5px;
    align-items: start;
    background: #F6F6F6;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid transparent;
}

.tax-title-m span {
    font-size: 14px;
    font-weight: 500;
    color: #212529;
    line-height: 18px;
}

.tax-title-m svg {
    flex-shrink: 0;
}

.tax-content-m {
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
    padding: 20px 15px;
    border-radius: 5px;
    position: absolute;
    top: 50px;
    left: 0;
    width: 350px;
    background: #ffffff;
    z-index: 100;
    display: none;
    animation: zoomIn 0.3s ease forwards;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}


@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.tax-content-m .tax-con-btn {
    background: transparent;
    border-radius: 5px;
    padding: 8px 10px;
    width: 100%;
    text-align: left;
    margin-bottom: 5px;
}

.tax-content-m .tax-con-btn.active {
    background: #eef1fe;
}

.tax-content-m .tax-con-btn:hover {
    background: #f5f8f8;
    cursor: pointer;
}

.tax-content-mhide.show {
    display: block;
}

.tax-content-mshow.active {
    border: 1px solid #212529;
}

/* Mobile Sub-Tabs Navigation End */

/* =========================================
    Pagination Start 
   ========================================= */
.tax-content-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
}

.tax-pagination {
    display: flex;
    align-items: center;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tax-pagination li {
    display: inline-flex;
    margin: 5px 10px;
}

.tax-page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 2px;
    border-radius: 50px;
    color: #212529;
    background: transparent;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.tax-page-link:hover {
    background: #dddada;
    color: #212529;
}

.tax-page-link.active {
    background: #085bae;
    color: #fff;
}

.tax-page-dots {
    padding: 0 5px;
    color: #64748b;
    font-size: 14px;
}

.tax-kw-item.tax-page-hidden {
    display: none !important;
}

.tax-page-link.disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: default;
}

/* Pagination End  */



/* =========================================
        Job Categories Redirected Page 
   ========================================= */
.tax-cpage-link {
    width: 100%;
}

.tax-cpage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
    column-gap: 50px;
}

.tax-cpage-grid .tax-cpage-colle {
    display: inline-block;
    width: 100%;
    margin-bottom: 15px;
    border-bottom: 1px solid #ebeff396;
    padding-bottom: 25px;
}

.tax-cpage-grid .tax-cpage-colle:last-child {
    border: none;
}

.tax-cpage-grid .tax-cpage-colle .tax-cpage-ctitle {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 15px 0;
    line-height: 20px;
    display: inline-block;
}

.tax-cpage-grid .tax-cpage-colle .tax-cpage-ctitle:hover {
    text-decoration: underline;
}

.tax-cpage-sublink {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    row-gap: 8px;
}

.tax-cpage-sublink .tax-cpage-subflx {
    font-size: 14px;
    background: #f6f6f6f2;
    color: #565e66;
    padding: 4px 6px 4px 2px;
    border-radius: 5px;
    font-weight: 500;
    display: flex;
    gap: 2px;
    line-height: 18px;
}

.tax-cpage-subflx span:hover {
    color: #212529;
    text-decoration: underline;
}

.tax-cpage-sublink .tax-cpage-subflx svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: #21252942;
}

.text-c-all {
    padding-top: 10px;
    color: #212529;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.text-c-all a svg path {
    stroke: #212529;
    stroke-width: 1.5;
}

.text-c-all :hover,
.text-c-all a svg path {
    color: #000;
    stroke: #000;
}

.text-c-all a {
    text-decoration: underline !important;
    color: #212529;
    cursor: pointer;
}

.tax-cpage-sublink .tax-cpage-subflx {
    padding: 5px 8px !important;
}

/* =========================================
        Job Categories Redirected Page - Region
   ========================================= */

.tax-cities-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.tax-city-item {
    display: flex;
    align-items: start;
    gap: 3px;
    transition: all 0.2s ease;
    background: transparent;
    border-radius: 5px;
}

.tax-city-item:hover .tax-city-anchor {
    color: #212529;
    text-decoration: underline;
}

.tax-city-item svg {
    flex-shrink: 0;
    fill: #c1cddf;
}

.tax-city-title {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 400;
    display: inline;
}

.tax-city-anchor {
    color: #212529;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.2s ease;
    word-break: break-word;
    font-weight: 500;
}

@media (max-width: 991px) {
    .tax-card-heading {
        font-size: 20px;
    }

    .tax-cpage-grid .tax-cpage-colle .tax-cpage-ctitle {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .tax-cpage-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tax-cpage-sublink .tax-cpage-subflx {
        padding: 3px 5px;
        font-size: 13.5px;
    }

    .tax-cpage-sublink .tax-cpage-subflx svg {
        display: none;
    }
}

/* Job Categories Redirected Page End */


@media (max-width: 1230px) {
    .tax-tab-title {
        font-size: 14.5px;
    }
}

@media (min-width: 992px) {
    .col-lg-8 {
        width: 69.666667%;
    }

    .col-lg-4 {
        width: 30.333333%;
        padding: 0 8px;
    }
}

@media (max-width: 998px) {
    .tax-subnav-mhide {
        display: none !important;
    }

    .tax-main-heading {
        font-size: 20px;
    }

    .tax-subnav-mshow {
        display: block !important;
    }

    .tax-nav-card {
        padding: 12px;
        margin: 0;
    }

    .tax-hero-title,
    .tax-detail-title {
        font-size: 22px;
    }

    .tax-content-card,
    .tax-card {
        padding: 22px 18px;
    }

    .tax-cities-columns {
        grid-template-columns: repeat(2, 1fr);
    }

    .tax-sidebar-col {
        padding-bottom: 20px;
    }

    .tax-tabs-nav {
        flex-direction: row;
    }

    .tax-job-categories-left-scroll {
        overflow-x: auto;
        overflow-y: hidden;
    }

    .tax-tab-btn .tax-tab-title svg,
    .tax-nav-card-header,
    .tax-group-heading {
        display: none;
    }

    .tax-tab-btn {
        padding: 5px 12px;
    }

    .tax-content-card .tax-tabs-nav {
        border: none;
        margin-bottom: 0;
    }

    .tax-hero-card {
        padding: 25px 20px;
    }

}

@media (max-width: 767px) {
    .tax-main-heading {
        font-size: 18px;
    }

    .tax-cities-columns {
        grid-template-columns: 1fr;
    }

    .tax-tab-title {
        display: flex;
    }

    .tax-nav-card .tax-tab-btn {
        width: auto;
        padding: 6px 10px;
        border: 1px solid transparent;
    }

    .tax-content-m {
        width: 100%;
    }

    .tax-sidebar-col {
        overflow: visible !important;
    }

    .tax-sidebar {
        position: sticky;
        top: 10px;
        z-index: 100;
        align-self: flex-start;
    }

    .tax-pagination li {
        margin: 3px;
    }
}

@media (max-width: 320px) {
    .tax-hero-card {
        padding: 20px;
    }

    .tax-hero-title,
    .tax-detail-title {
        font-size: 20px;
    }
}