.pryf-filter {
	margin-bottom: 1.5em;
}

.pryf-filter__form {
	display: flex;
	align-items: center;
	gap: 0.6em;
	flex-wrap: nowrap;
}

@media (max-width: 767px) {
	.pryf-filter__form {
		flex-wrap: wrap;
	}
}

/* Hide original labels */
.pryf-filter__label {
	display: none;
}

/* ==========================================================================
   Custom Select Dropdown — replaces native <select> with full CSS control
   ========================================================================== */

/* Wrapper */
.pryf-custom-select {
	position: relative;
	display: inline-block;
}

/* Floating label on the trigger */
.pryf-custom-select::before {
	font-family: 'Arial', sans-serif;
	content: attr( data-label );
	position: absolute;
	top: 8px;
	left: 16px;
	font-size: 12px;
	line-height: 1.33;
	letter-spacing: 0.4px;
	color: #808080;
	pointer-events: none;
	z-index: 2;
}

/* Trigger — visible "select box" */
.pryf-custom-select__trigger {
	width: 342px;
	height: 56px;
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: flex-end;
	padding: 8px 36px 8px 16px;
	border-radius: 12px;
	border: solid 1px #e6e6e6;
	background-color: #fff;
	cursor: pointer;
	font-family: 'Arial', sans-serif;
	font-size: 16px;
	color: #333;
	transition: border-color 0.2s ease;
	user-select: none;
}

.pryf-custom-select__trigger:hover {
	border-color: #ccc;
}

.pryf-custom-select--open .pryf-custom-select__trigger {
	border-color: #edf5fe;
}

/* Selected text inside trigger */
.pryf-custom-select__selected-text {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Hidden native select — kept for form submission compatibility */
.pryf-filter__select {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect( 0, 0, 0, 0 ) !important;
	clip-path: inset( 50% ) !important;
	border: 0 !important;
	white-space: nowrap !important;
	pointer-events: none !important;
	visibility: hidden !important;
}

/* Custom arrow icon (SVG chevron) on the wrapper — forced visible */
.pryf-custom-select::after {
	content: url("data:image/svg+xml;utf8,<svg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='m11.68 15.779-6-6 1.4-1.4 4.6 4.6 4.6-4.6 1.4 1.4-6 6z' fill='%23515354'/></svg>") !important;
	position: absolute !important;
	top: 50% !important;
	right: 14px !important;
	transform: translateY(-50%) !important;
	width: 24px !important;
	height: 24px !important;
	pointer-events: none !important;
	transition: transform 0.25s ease !important;
	z-index: 10 !important;
	display: block !important;
}

/* Rotate chevron when dropdown is open */
.pryf-custom-select--open::after {
	transform: translateY(-50%) rotate(180deg) !important;
}

/* Hide any native select arrow/icon that Elementor might add */
.pryf-filter__select {
	-appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	background: none !important;
}

/* Options dropdown panel — HIDDEN by default */
.pryf-custom-select__options {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	min-width: 342px;
	max-width: 342px;
	max-height: 365px;
	overflow-y: auto;
	background-color: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba( 0, 0, 0, 0.1 );
	list-style: none !important;
	padding: 4px 0;
	margin: 0;
	z-index: 999999 !important;
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* Show only when wrapper has --open class */
.pryf-custom-select--open .pryf-custom-select__options {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* Individual option */
.pryf-custom-select__option {
	padding: 10px 16px;
	font-family: 'Arial', sans-serif;
	font-size: 16px;
	color: #333;
	cursor: pointer;
	transition: background-color 0.15s ease;
	user-select: none;
	background-color: transparent !important;
}

.pryf-custom-select__option:hover,
.pryf-custom-select__option:focus {
	background-color: #edf5fe !important;
	outline: none;
}

.pryf-custom-select__option.current {
	background-color: #edf5fe !important;
	font-weight: 600;
}

/* .pryf-custom-select__option[aria-selected="true"]::after {
	content: ' ✓';
	color: #067EEB;
	font-weight: bold;
} */

.pryf-filter__status {
	font-size: 0.85em;
	color: #666;
	margin-top: 0.35em;
	min-height: 1.2em;
}

.pryf-card {
	margin-bottom: 1.5em;
}

.pryf-card__thumb img {
	width: 100%;
	height: auto;
	display: block;
}

.pryf-card__title {
	margin: 0.3em 0;
}

.pryf-card__date {
	font-size: 0.85em;
	color: #888;
	margin-bottom: 0.5em;
}

.pryf-no-results {
	padding: 2em 0;
	text-align: center;
	color: #666;
}

/* --- AJAX pagination styles --- */
.elementor-18151 .elementor-element.elementor-element-72d40c10 .pp-posts-pagination-bottom .pp-posts-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
}

.elementor-18151 .elementor-element.elementor-element-72d40c10 .pp-posts-pagination .page-numbers,
.elementor-18151 .elementor-element.elementor-element-72d40c10 .pp-posts-pagination a {
	width: 40px;
	max-width: 40px;
	height: 40px;
	max-height: 40px;
	padding: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.elementor-18151 .elementor-element.elementor-element-72d40c10 .pp-posts-pagination .page-numbers.current {
	padding: 8px;
    width: 24px;
    height: 24px;
	margin-left: 8px;
	margin-right: 8px;
}

.pryf-pagination {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 0px;
    justify-content: center;
	align-items: center;
}

.pryf-pagination .prev a,
.pryf-pagination .next a,
.pryf-pagination a[rel="prev"],
.pryf-pagination a[rel="next"] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 2px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.pryf-pagination .prev.page-numbers {
	transform: rotate(180deg);
    background-image: url("data:image/svg+xml;utf8,<svg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='m10 18-1.4-1.4 4.6-4.6-4.6-4.6L10 6l6 6-6 6z' fill='%23067EEB'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
	font-size: 0 !important;
	border-radius: 2px;
	border: 1px solid #067EEB;
	width: 24px !important;
	height: 24px !important;
}

.pryf-pagination .next.page-numbers {
    background-image: url("data:image/svg+xml;utf8,<svg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='m10 18-1.4-1.4 4.6-4.6-4.6-4.6L10 6l6 6-6 6z' fill='%23067EEB'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
	font-size: 0 !important;
	border-radius: 2px;
	border: 1px solid #067EEB;
	width: 24px !important;
	height: 24px !important;
}

.pryf-pagination a, 
.pryf-pagination span {
    border: none;
    border-radius: 2px;
    text-decoration: none;
}

.pryf-pagination a:hover {
    background-color: #edf5fe;
}


.pryf-pagination .page-numbers {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.6px;
    text-align: center;
}
