
.unique-playbook-table{
    background-color: #fff;
    border-radius: 15px;
    display: block;
    width: 100%;
    overflow-x: auto;
}
.unique-playbook-table thead{
    background-color: #ECF1F3;   
}

.unique-playbook-table td a{
    color:#000000;
    font-weight: 600;
}
.unique-playbook-table .trl-cri-container{
    display: flex;
    gap: 20px;
    flex-direction: column;
}
.unique-playbook-table .trl-cri-container .trl-cri-item{
    background-color: #12A085;
    border-radius: 10px;
    padding:20px 30px;
    color:#ffffff;
    font-weight: 700;
    text-align: center;
    letter-spacing: 1.5px;
    width: fit-content;
    white-space: nowrap;
    /* width:115px; */
}
table.unique-playbook-table, 
.unique-playbook-table th, 
.unique-playbook-table td {
    border: none;
    border-width: 0 !important;
}
.unique-playbook-table th{
    padding:20px;
    vertical-align: middle;
    font-size:22px; 
    font-weight: 700;
}

.unique-playbook-table tbody tr:not(:last-child) {
  border-bottom: 1px solid #3C3C3C !important;
}

.unique-playbook-table td{
    padding:20px;
}

.unique-playbook-table .playbook-title-link{
    /* font-size:24px;
    font-weight: 600; */
}

.unique-playbook-resource-grid .new-array-filters-wrapper{
    display:flex;
    flex-direction: row;
    gap:8px;
    justify-content: space-between;
    margin-bottom: 60px;
    /* flex-wrap: wrap; */
}

.unique-playbook-resource-grid .unique-all-filters-group{
    display:flex;
    flex-direction: row;
    gap:8px;
    width:100%;
    /* flex-wrap: wrap; */
}


.unique-playbook-resource-grid .playbook-location{
    margin-top:10px;
}

.unique-playbook-resource-grid .playbook-ecosystem-tags{
    margin-top:10px;
}


.unique-playbook-resource-grid .unique-playbook-table th:first-child,
.unique-playbook-resource-grid .unique-playbook-table td:first-child { 
    width: 18%; 
}

.unique-playbook-resource-grid .column-ecosystem-category { 
    width: 10%; 
}

.unique-playbook-resource-grid .column-description {
    width: 30%;
}

.unique-playbook-resource-grid .column-support-provided { 
    width: 30%; 
}

.unique-playbook-resource-grid .column-funding-database-trl-selection,
.unique-playbook-resource-grid .column-eco-system-trl-selection { 
    width: 12%; 
}


.unique-playbook-resource-grid .unique-playbook-table {
    table-layout: fixed; /* Important for fixed widths to work */
    width: 100%;
}

.unique-playbook-table th,
.unique-playbook-table td {
    word-wrap: break-word; /* Ensure long text wraps */
    overflow-wrap: break-word;
}

.unique-playbook-resource-grid  .unique-resource-filter-item #unique_search{
    background:#fff;
    padding:20px;
    border-width:0px;
    height:100%;
}


.unique-playbook-resource-grid .new-array-filters-wrapper .table-filter-navs {
    padding: 15px 20px;
    border: 0px solid var(--playbook-teal);
    border-radius: 8px;
    color: var(--playbook-teal);
    background: white;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    text-transform: uppercase;
    height: 100%;
    outline:0;
    margin-bottom: 0px;
}

.unique-playbook-resource-grid .new-array-filters-wrapper select.table-filter-navs{
    background-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path fill="%2312A085" d="M256 294.1L383 167c9.4-9.4 24.6-9.4 33.9 0s9.3 24.6 0 34L273 345c-9.1 9.1-23.7 9.3-33.1.7L95 201.1c-4.7-4.7-7-10.9-7-17s2.3-12.3 7-17c9.4-9.4 24.6-9.4 33.9 0l127.1 127z"/></svg>');
    background-repeat: no-repeat !important;
    background-position: right 26px center !important;
    background-size: 18px 18px !important;
    /* Remove default arrow for cross-browser */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right:60px;
    outline: 0 ;
}

.unique-playbook-resource-grid .new-array-filters-wrapper select.table-filter-navs:hover {
    background: var(--playbook-teal);
    color: #fff;
    /* Swap SVG arrow to white on hover */
    background-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path fill="white" d="M256 294.1L383 167c9.4-9.4 24.6-9.4 33.9 0s9.3 24.6 0 34L273 345c-9.1 9.1-23.7 9.3-33.1.7L95 201.1c-4.7-4.7-7-10.9-7-17s2.3-12.3 7-17c9.4-9.4 24.6-9.4 33.9 0l127.1 127z"/></svg>');
}



.unique-playbook-resource-grid .new-array-filters-wrapper .table-filter-navs.active {
    background: var(--playbook-teal);
    color: white !important;
    box-shadow: none;
}

.unique-playbook-resource-grid .new-array-filters-wrapper .table-filter-navs:hover:not(#unique_search) {
    background: var(--playbook-teal);
    color: white !important;
    box-shadow: none;
}
.unique-playbook-resource-grid .new-array-filters-wrapper .unique-filter-group {
    height:100%;
}
.unique-playbook-resource-grid .new-array-filters-wrapper #unique_search::placeholder {
    color: #DAE5E8;
}


.unique-playbook-resource-grid .new-array-filters-wrapper .table-filter-navs .arrow svg{
    width: 18px;
}
.unique-playbook-resource-grid .new-array-filters-wrapper .table-filter-navs:hover .arrow svg path{
    fill:#fff !important;
}


.unique-playbook-resource-grid .new-array-filters-wrapper  .custom-multiselect-options, 
.unique-playbook-resource-grid .new-array-filters-wrapper  .custom-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}



.unique-playbook-resource-grid .new-array-filters-wrapper  .custom-multiselect-wrapper.open .custom-multiselect-options, 
.unique-playbook-resource-grid .new-array-filters-wrapper .custom-select-wrapper.open .custom-select-options {
    display: block;
}

.unique-playbook-resource-grid .new-array-filters-wrapper  .custom-multiselect-wrapper, 
.unique-playbook-resource-grid .new-array-filters-wrapper  .custom-select-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.unique-playbook-resource-grid .new-array-filters-wrapper  .custom-multiselect-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap:20px;
}

             
.unique-playbook-resource-grid .new-array-filters-wrapper  .custom-option {
    display: flex;
    align-items: center;
    padding: 0px 10px;
    cursor: pointer;
    transition: background 0.2s;
    color:#fff;
}

.unique-playbook-resource-grid .new-array-filters-wrapper  .custom-multiselect-wrapper.open .custom-multiselect-options, 
.unique-playbook-resource-grid .new-array-filters-wrapper  .custom-select-wrapper.open .custom-select-options{
    background: var(--playbook-teal);
}
.unique-playbook-resource-grid .new-array-filters-wrapper  .custom-multiselect-wrapper.open .custom-multiselect-trigger,
.unique-playbook-resource-grid .new-array-filters-wrapper  .custom-select-wrapper.open .custom-select-trigger{
    background: var(--playbook-teal);
}

.unique-playbook-resource-grid .new-array-filters-wrapper  .custom-multiselect-wrapper.open .custom-option:hover, 
.unique-playbook-resource-grid .new-array-filters-wrapper  .custom-select-wrapper.open .custom-option:hover {
    background: #0165fc;
}
.unique-playbook-resource-grid .new-array-filters-wrapper .custom-multiselect-wrapper.open .selected-text,
.unique-playbook-resource-grid .new-array-filters-wrapper .custom-select-wrapper.open .selected-text{
    color:#fff !important;
}

.unique-playbook-resource-grid .new-array-filters-wrapper .custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    cursor: pointer;
    gap:20px;
}
.unique-playbook-resource-grid .new-array-filters-wrapper  .custom-multiselect-wrapper.open .custom-option input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
}

.page-id-4067 footer{
 z-index: 0;
}

.unique-playbook-resource-grid button#sort-title-btn {
    background: #12A085;
    color: #fff;
    border: none;
    border-radius: 5px;
}

.unique-playbook-resource-grid .pagination-number.active {
    background-color: #12A085 !important;
    color: white !important;
    font-weight: 600;
}
.unique-playbook-resource-grid .pagination-number:hover {
    background-color: #12A085 !important;
    color: white !important;
    font-weight: 600;

}
.unique-playbook-resource-grid .selected-category-knowledge-hub thead{
    background:#dae5e8
}
.unique-playbook-resource-grid .selected-category-knowledge-hub tbody{
    background:#ecf1f3;
}

@media(max-width: 1024px) {
    .unique-playbook-resource-grid .new-array-filters-wrapper{
        flex-wrap: wrap;
    }

    .unique-playbook-resource-grid .unique-all-filters-group{
        flex-wrap: wrap;
        display: grid;
        width: fit-content;
    }
    .unique-playbook-resource-grid  .unique-resource-filter-item #unique_search{
        height: fit-content;
    }
    .unique-playbook-resource-grid .new-array-filters-wrapper .unique-filter-group {
        height:fit-content;
    }
    .unique-playbook-resource-grid .new-array-filters-wrapper .custom-select-trigger[data-target="array_field_filter_location"] {
        max-width: 400px;
    }

}

@media (max-width: 768px) {
    .unique-playbook-resource-grid .unique-playbook-table {
        -webkit-overflow-scrolling: touch;
    }
    .unique-playbook-resource-grid .unique-all-filters-group{
        width:100%;
    }
    .unique-playbook-resource-grid .unique-resource-filter-item, 
    .unique-playbook-resource-grid .unique-resource-filter-item #unique_search {
        width:100%;
    }
    .unique-playbook-resource-grid .new-array-filters-wrapper .custom-select-trigger[data-target="array_field_filter_location"] {
        max-width: 100%;
    }
    
}