/* Add left arrow for Previous */
.elementor-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
}

.elementor-pagination .prev, 
.elementor-pagination .next {
    font-size: 0;
    height: 26px;
}

.elementor-pagination .page-numbers:not(.next, .prev) {
    height: 40px;
    width: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent; 
    margin: 0 5px;
}

.elementor-pagination .page-numbers.current,
.elementor-pagination .page-numbers:hover {
    border-color: #E4DBB3;
}

.elementor-pagination .prev::before {
  content: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAAaCAYAAAAaAmTUAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGASURBVHgB5ZhBTsMwEEVn7HTfA7AIEntyg/gASM1VOFkXCHEUJFgECaRuu6xI4mHsKqV1AVM1Nrb4m1StK73nOGNPEDJO2y7ns042IEQNGhRCRtnBo7gGAr5Suf970jIGXr5LJczMfwHvJimZA3ggxV9Vp/z/T2UMfNEXFQIuGN6AKzgjUWWmhncTVGaEFwA1bcGNwBwCZXKZ1+c7LpHI0MSzHxbezdkykeDXQHTrG3SyzNvTfcUlkgVoXDrhZx7x5eLq5tI3rPANWLUP5dAPzSe8tvAE6eVIZoTne8a7LDVD3ycL76aw8F2n7PlmDz4LeicCNpvtJ615JeEaMs5RAbAPOAwVClyQxsp3HoqSXxYAbzU7kKNI1cvNVDJudqUZubpRWqX5f2+avjhyCiIm+KnZyPHFtLQ1BJaL3s9YOe4a0WzKObUAvowtwlRy6bXNg1SokaulXZb5tM2+jHJCm5cZaO7cj3JZvWpaPS7Lbiar7+SyknFj5AYpFdhnTdQfOyitqg0mdwYAAAAASUVORK5CYII=');
  display: inline-block;
  margin-right: 6px;
}

/* Add right arrow for Next */
.elementor-pagination .next::after {
  content: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAAaCAYAAAAaAmTUAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAF1SURBVHgB1ZdNTsMwEEZnGqdrtkggkQXcBSEW3IAbcQSukAAHcG7gbgsSWeQA2dNkGLe0okNR0shO7bdopSg/31MmnjHWH2+fAKCh68okTfV5dltBpGD9/krimAFE07Vdkc5TE5PcIRnJTq6dtzrLHhoIlCEyEsOX6Y7LMjS5MTISzbcxBFSs1MqcUs6FjERv5S6v7zVMiA8ZieYHlPbft9wUMhLNjy34zRnXclgvXx77z8In/j0D99jvy7iSwyEn1UturEhX4J8G12WJJRDqi5s7c8zFoclINnJEBUBi+uRCl9kHsUIi859cXDISloNfc+UMYoZob1FSEBcNv40cCBaJSnI5BIcu0yDaBQDLQ+Elocnswo9ZmtWwpkk+GqbFadNUXIPPMB1Ow0t8l9k6/HbQ9L1F8CHDNQ8L7mD51PsbFzInCy8ZI8PjBJQ0I90mYW2b+2UIK7trDDG85K/MT3jk1eYrbfOQw0uUDQ+zzbAWW3jJNyUV+CBqR4TKAAAAAElFTkSuQmCC');
  display: inline-block;
  margin-left: 6px;
}

.elementor-post-navigation {
    border: 1px solid #fff;
}

.elementor-post-navigation__link a {
    padding: 20px;
}

/*// stid-filters-wrapper*/
#stid-filters-wrapper {
    height: 40px;
}

#stid-filters-wrapper .e-filter {
    position: relative;
    display: inline-block;
    width: 200px;
    margin-right: 10px; /* Space between filters */
}

/* Style the first button as the toggle */
#stid-filters-wrapper .e-filter-item:first-child {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px 40px 10px 15px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    position: relative;
    display: block;
    transition: border-color 0.3s ease, border-radius 0.3s ease, background 0.3s ease;
}

#stid-filters-wrapper .e-filter-item:first-child:hover {
    border-color: #888;
}

#stid-filters-wrapper .e-filter-item:first-child::after {
    content: '▼';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #555;
    font-size: 12px;
    transition: transform 0.3s ease;
}

/* Rotate arrow on hover */
#stid-filters-wrapper .e-filter:hover .e-filter-item:first-child::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Hide other buttons by default */
#stid-filters-wrapper .e-filter-item:not(:first-child) {
    display: block;
    width: 100%;
    padding: 10px 15px;
    background: #fff;
    border: none;
    border-top: 1px solid #eee;
    text-align: left;
    font-size: 16px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.3s ease;
}

/* Show dropdown on hover */
#stid-filters-wrapper .e-filter:hover .e-filter-item:not(:first-child) {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* Dropdown container */
#stid-filters-wrapper .e-filter:hover .e-filter-item:not(:first-child) {
    position: relative;
    top: 0;
    left: 0;
    z-index: 10;
}

/* Style dropdown container when open */
#stid-filters-wrapper .e-filter:hover .e-filter-item:first-child {
    border-radius: 4px 4px 0 0;
}

/* Hover effect for dropdown items */
#stid-filters-wrapper .e-filter-item:not(:first-child):hover {
    background: #f0f0f0;
}

/* Style for selected item */
#stid-filters-wrapper .e-filter-item[aria-pressed="true"] {
    font-weight: bold;
    background: #e0e0e0;
    transition: background 0.3s ease, font-weight 0.3s ease;
}

/* Ensure last item has rounded bottom corners */
#stid-filters-wrapper .e-filter:hover .e-filter-item:last-child {
    border-radius: 0 0 4px 4px;
}