

.search-sec__form {
    position: relative
}

.search-sec__form .search-btn {
    cursor: pointer;
    transition: all .2s linear
}

.search-sec__form .search-btn:hover {
    background-color: #f7941e !important;
    color: #fff
}

.search-page__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.search-page__list .search-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 20px 18px;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.search-page__list .search-item:hover {
    background: #fff;
    border-color: rgba(247, 148, 30, .35);
    box-shadow: 0 4px 16px rgba(247, 148, 30, .1);
}

.search-page__list .search-item__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 2px;
    min-width: 0;
    flex: 1;
}

.search-item__category {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    margin-top: -40px;
    padding: 4px 12px;
    border-radius: 6px;
    background: #f7941e;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    border: 1px solid #f7941e;
    position: relative;
    z-index: 1;
}

.search-item__title {
    display: block;
    width: 100%;
    color: #2b2d42;
    text-decoration: none;
    transition: color .2s ease;
}

.search-item__title:hover {
    color: #f7941e;
}

.search-item__excerpt {
    margin: 0;
    width: 100%;
    color: #6b6e82;
    line-height: 1.7;
}

.search-page__list .search-item__pic {
    position: relative;
    border-radius: 10px !important;
    overflow: hidden;
    width: 150px;
    height: auto;
    aspect-ratio: 300/200 !important;
    margin-bottom: 0;
    flex-shrink: 0;
}

.search-tags {
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 0px;
    flex-wrap: wrap
}

.search-tags .tag {
    background: transparent;
    border: none;
    padding: 3px 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #8a8a8a;
    font-size: 14px;
    font-weight: 500;
    transition: color .2s linear
}

.search-tags .tag::before {
    content: "#";
    margin-left: 2px;
}

.search-tags .tag:hover {
    background: transparent;
    color: #f7941e
}

.search-tags .tag.active {
    background: transparent;
    color: #f7941e;
    font-weight: 600
}

.search-item__pic {
    flex-shrink: 0
}

.mini-tag {
    display: flex;
    width: max-content;
    background: unset;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all .2s linear;
}

.live-search-dropdown {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 8px;
    display: none;
    direction: rtl
}

.live-search-dropdown.active {
    display: block
}

.live-search-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: all .2s ease;
    border-bottom: 1px solid #f5f5f5
}

.live-search-item:last-child {
    border-bottom: none
}

.live-search-item:hover {
    background-color: #f9f9f9
}

.live-search-item-keyword {
    font-size: 14px;
    font-weight: 500;
    color: #2b2d42;
    margin-bottom: 4px
}

.live-search-item-count {
    font-size: 12px;
    color: #999
}

.live-search-loading {
    padding: 16px;
    text-align: center;
    color: #999
}

.live-search-empty {
    padding: 16px;
    text-align: center;
    color: #999
}

.live-search-highlight {
    color: #f7941e;
    font-weight: 600
}

header .search-sec__form input {
    margin-bottom: 0;
}

header .search-btn {
    height: calc(100% - 2px);
}

#searchTags:not(.search-tags--visible) {
    display: none !important;
}

.keywords,
.keywords-wrap:empty,
.keywords-list:not(.keywords-list--visible) {
    display: none !important;
}

/* Advanced search filters */
.search-adv-filters {
    margin-top: 8px;
    font-family: inherit;
}

.search-adv-filters__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    padding: 12px 4px;
    margin-bottom: 0;
    border-radius: 8px;
    transition: background .2s ease;
}

.search-adv-filters__toggle:hover {
    background: rgba(247, 148, 30, .06);
}

.search-adv-filters__toggle::-webkit-details-marker {
    display: none;
}

.search-adv-filters__toggle-start {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-adv-filters__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #f7941e 0%, #e8850f 100%);
    color: #fff;
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(247, 148, 30, .35);
}

.search-adv-filters__icon img {
    width: 18px;
    height: 18px;
    display: block;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.search-adv-filters__title {
    font-size: 16px;
    font-weight: 700;
    color: #ed8a14;
    letter-spacing: -.01em;
}

.search-adv-filters__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: #f7941e;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.search-adv-filters__badge[hidden] {
    display: none;
}

.search-adv-filters__chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #f7941e;
    border-radius: 50%;
    background: rgba(247, 148, 30, .1);
    transition: background .2s ease;
}

.search-adv-filters__chevron .niafam {
    font-size: 12px;
    line-height: 1;
    transition: transform .3s ease;
    transform: rotate(-90deg);
}

.search-adv-filters[open] .search-adv-filters__chevron {
    background: rgba(247, 148, 30, .18);
}

.search-adv-filters[open] .search-adv-filters__chevron .niafam {
    transform: rotate(90deg);
}

.search-adv-filters__panel {
    margin-top: 16px;
    padding: 20px;
    background: transparent;
    border: none;
    border-radius: 0;
    animation: searchAdvPanelIn .35s ease;
}

.search-adv-filters__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e8e8e8;
}

.search-adv-filters__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    position: relative;
}

.search-adv-filters__date {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    min-width: 0;
    position: relative;
}

.search-adv-filters__label-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    width: 100%;
    min-height: 22px;
}

.search-adv-filters__label-wrap:has(.search-adv-filters__hint-trigger:hover),
.search-adv-filters__label-wrap:has(.search-adv-filters__hint-trigger:focus-visible),
.search-adv-filters__label-wrap:has(.search-adv-filters__hint:hover) {
    z-index: 3;
}

.search-adv-filters__label {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: #4a4d63;
    line-height: 1.4;
}

.search-adv-filters__hint-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .08);
    color: #9a9a9a;
    font-size: 11px;
    font-weight: 700;
    border: none;
    padding: 0;
    cursor: help;
    flex-shrink: 0;
    font-family: inherit;
    line-height: 1;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.search-adv-filters__hint-trigger:hover,
.search-adv-filters__hint-trigger:focus-visible {
    background: rgba(0, 0, 0, .12);
    color: #6b6e82;
    outline: none;
    transform: scale(1.08);
}

.search-adv-filters__hint {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 15;
    padding: 10px 12px;
    background: #2b2d42;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.65;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
    pointer-events: none;
    text-align: right;
}

.search-adv-filters__hint-trigger:hover+.search-adv-filters__hint,
.search-adv-filters__hint-trigger:focus-visible+.search-adv-filters__hint,
.search-adv-filters__hint:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

@keyframes searchAdvPanelIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-adv-filters__input,
.search-adv-filters__select {
    width: 100%;
    height: 46px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: #efefef;
    color: #2b2d42;
    font: inherit;
    font-size: 14px;
    line-height: normal;
    outline: none;
    box-sizing: border-box;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.search-adv-filters__select {
    background: #fff;
    border-color: #e8e8e8 !important;
    border-radius: 10px !important;
}

.search-adv-filters__input:hover {
    background: #e9e9e9 !important;
}

.search-adv-filters__select:hover {
    background: #fff !important;
    border-color: #d9d9d9 !important;
}

.search-adv-filters__input:focus,
.search-adv-filters__select:focus {
    background: #fff !important;
    border-color: rgba(247, 148, 30, .45) !important;
    box-shadow: 0 0 0 3px rgba(247, 148, 30, .12) !important;
}

.search-adv-filters__input::placeholder {
    color: #9a9a9a !important;
}

.search-adv-filters__select-wrap {
    position: relative;
    width: 100%;
    min-width: 0;
    font: inherit;
    font-size:14px;
}

.search-adv-filters__select-arrow {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #777;
    pointer-events: none;
    line-height: 1;
    transition: color .2s ease;
}

.search-adv-filters__select-wrap:focus-within .search-adv-filters__select-arrow {
    color: #f7941e;
}

.search-adv-filters__select {
    appearance: none;
    -webkit-appearance: none;
    padding-left: 36px;
    cursor: pointer;
}

.search-adv-filters__select:invalid {
    color: #9a9a9a;
}

.search-adv-filters__select option,
.search-adv-filters__select optgroup {
    font: inherit;
    font-size: 14px;
    font-weight: inherit;
    color: #2b2d42;
    background: #fff;
}

/* multi-select (نوع محتوا) با select2 */
.search-adv-filters__multiselect-wrap .select2-container {
    width: 100% !important;
    font: inherit;
}

/* single-select (جستجو در) با select2 */
.search-adv-filters__select2-wrap .select2-container {
    width: 100% !important;
    font: inherit;
}

.search-adv-filters__select2-wrap .select2-container--default .select2-selection--single {
    height: 46px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.search-adv-filters__select2-wrap .select2-container--default:hover .select2-selection--single {
    border-color: #d9d9d9;
}

.search-adv-filters__select2-wrap .select2-container--default.select2-container--focus .select2-selection--single,
.search-adv-filters__select2-wrap .select2-container--default.select2-container--open .select2-selection--single {
    border-color: rgba(247, 148, 30, .45);
    box-shadow: 0 0 0 3px rgba(247, 148, 30, .12);
    outline: none;
}

.search-adv-filters__select2-wrap .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 44px;
    padding: 0;
    color: #2b2d42;
    text-align: right;
}

.search-adv-filters__select2-wrap .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #9a9a9a;
}

.search-adv-filters__select2-wrap .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px;
    left: 8px;
    right: auto;
}

.search-adv-filters__select2-wrap .select2-container--default .select2-selection--single .select2-selection__clear {
    height: 44px;
    margin-left: 24px;
    margin-right: 0;
    font-size: 16px;
    color: #9a9a9a;
}

.search-adv-filters__select2-wrap .select2-container--default .select2-selection--single .select2-selection__clear:hover {
    color: #2b2d42;
}

.search-adv-filters__select2-wrap .search-adv-filters__select {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.search-adv-filters__multiselect-wrap .select2-container--default .select2-selection--multiple {
    min-height: 46px;
    padding: 2px 8px 2px 36px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.search-adv-filters__multiselect-wrap .select2-container--default:hover .select2-selection--multiple {
    background: #fff;
    border-color: #d9d9d9;
}

.search-adv-filters__multiselect-wrap .select2-container--default.select2-container--focus .select2-selection--multiple,
.search-adv-filters__multiselect-wrap .select2-container--default.select2-container--open .select2-selection--multiple {
    background: #fff;
    border-color: rgba(247, 148, 30, .45);
    box-shadow: 0 0 0 3px rgba(247, 148, 30, .12);
    outline: none;
}

.search-adv-filters__multiselect-wrap .select2-selection__rendered {
    padding: 0 !important;
}

.search-adv-filters__multiselect-wrap .select2-selection__choice {
    background: #f7941e !important;
    border: none !important;
    color: #fff !important;
    border-radius: 6px !important;
    padding: 3px 9px !important;
    margin: 4px 0 0 4px !important;
    font-size: 13px;
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
}

.search-adv-filters__multiselect-wrap .select2-selection__choice__display {
    padding: 0 !important;
    line-height: 1.6;
}

.search-adv-filters__multiselect-wrap .select2-selection__choice__remove {
    position: static !important;
    color: #fff !important;
    background: transparent !important;
    border: none !important;
    margin: 0 0 0 6px !important;
    padding: 0 !important;
    font-size: 15px;
    line-height: 1;
    order: 1;
}

.search-adv-filters__multiselect-wrap .select2-selection__choice__remove:hover {
    color: #fff !important;
    background: transparent !important;
    opacity: .8;
}

.search-adv-filters__multiselect-wrap .select2-search--inline {
    float: right;
}

.search-adv-filters__multiselect-wrap .select2-search--inline .select2-search__field {
    font: inherit;
    margin-top: 8px;
    color: #2b2d42;
}

.search-adv-filters__multiselect-wrap .select2-selection__placeholder {
    color: #9a9a9a;
    line-height: 40px;
    float: right;
}

/* دکمه پاک‌کردن همه (allowClear) در حالت RTL */
.search-adv-filters__multiselect-wrap .select2-selection--multiple {
    position: relative;
}

/* فلش مثل جستجو در (select2 single) */
.search-adv-filters__multiselect-wrap .select2-selection--multiple::after {
    content: '';
    position: absolute;
    left: 14px;
    top: 50%;
    width: 0;
    height: 0;
    margin-top: -2px;
    border-color: #888 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    pointer-events: none;
    z-index: 1;
}

.search-adv-filters__multiselect-wrap .select2-container--open .select2-selection--multiple::after {
    border-color: transparent transparent #888 transparent;
    border-width: 0 4px 5px 4px;
    margin-top: -3px;
}

.search-adv-filters__multiselect-wrap .select2-selection__clear {
    position: absolute !important;
    left: 32px !important;
    right: auto !important;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 !important;
    padding: 0 !important;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0e0e0 !important;
    color: #666 !important;
    border: none !important;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.search-adv-filters__multiselect-wrap .select2-selection__clear:hover {
    background: #f7941e !important;
    color: #fff !important;
}

.search-adv-filters__multiselect-wrap .select2-selection__rendered {
    padding-left: 24px !important;
}

.select2-dropdown {
    border-color: #ececec;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    overflow: hidden;
    z-index: 1200;
}

.select2-container--default .select2-results__option {
    font-size: 14px;
    color: #2b2d42;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted {
    background: #f7941e;
    color: #fff;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background: #fff1e3;
    color: #c56f00;
}

.search-adv-filters__date-range {
    display: grid;
    grid-template-columns: repeat(2, minmax(170px, 1fr));
    gap: 16px;
    width: 100%;
}

.search-adv-filters__date-field {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.search-adv-filters__date-prefix {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    min-width: 28px;
    height: 46px;
    font-size: 14px;
    font-weight: 700;
    color: #f7941e;
    text-align: center;
    flex-shrink: 0;
}

.search-adv-filters__input-wrap--date {
    display: block;
    position: relative;
    flex: 1;
    min-width: 0;
    height: 46px;
    background: #efefef;
    border: 1px solid transparent;
    border-radius: 10px;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.search-adv-filters__input-wrap--date:focus-within {
    background: #fff;
    border-color: rgba(247, 148, 30, .45);
    box-shadow: 0 0 0 3px rgba(247, 148, 30, .12);
}

.search-adv-filters__input-wrap--date .search-adv-filters__date-input {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0 12px 0 40px;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
    text-align: left;
    direction: ltr !important;
    unicode-bidi: plaintext;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
    box-sizing: border-box;
    margin: 0;
}

.search-adv-filters__input-wrap--date .search-adv-filters__date-input:hover,
.search-adv-filters__input-wrap--date .search-adv-filters__date-input:focus {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    outline: none;
}

.search-adv-filters__input-wrap--date .search-adv-filters__input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #888;
    pointer-events: none;
    transition: color .2s ease;
}

.search-adv-filters__input-wrap--date:focus-within .search-adv-filters__input-icon {
    color: #f7941e;
}

.search-adv-filters__input-wrap--date .search-adv-filters__date-input:not(:placeholder-shown)~.search-adv-filters__input-icon {
    color: #f7941e;
}

.search-adv-filters__input-wrap {
    position: relative;
    width: 100%;
    min-width: 0;
}

/* JalaliDatePicker theme */
jdp-container {
    border-radius: 14px !important;
    box-shadow: 0 10px 32px rgba(0, 0, 0, .14) !important;
    border: 1px solid #ececec !important;
    font: inherit;
    min-width: 320px !important;
    max-width: 340px !important;
    padding: 12px 10px 10px !important;
    overflow: hidden;
}

jdp-container>div:first-of-type {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    padding: 0 8px 10px !important;
    margin-bottom: 4px;
    box-sizing: border-box;
}

jdp-container .jdp-icon-minus,
jdp-container .jdp-icon-plus {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

jdp-container .jdp-months {
    display: flex !important;
    align-items: center !important;
    justify-content: stretch !important;
    flex: 1 1 55% !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
}

jdp-container .jdp-years {
    display: flex !important;
    align-items: center !important;
    justify-content: stretch !important;
    flex: 0 0 96px !important;
    min-width: 96px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
}

jdp-container .jdp-month,
jdp-container .jdp-year {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    font: inherit;
}

jdp-container .jdp-month::after,
jdp-container .jdp-year::after {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #777;
    pointer-events: none;
    z-index: 1;
}

jdp-container .jdp-month select,
jdp-container .jdp-month input,
jdp-container .jdp-year select,
jdp-container .jdp-year input {
    width: 100% !important;
    height: 46px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 0 16px 0 36px !important;
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    background: #efefef !important;
    color: #2b2d42 !important;
    font: inherit !important;
    font-size: 14px !important;
    line-height: normal !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease !important;
}

jdp-container .jdp-month select option,
jdp-container .jdp-year select option {
    font: inherit !important;
    font-size: 14px !important;
    font-weight: inherit !important;
    color: #2b2d42 !important;
    background: #fff !important;
}

jdp-container .jdp-month select,
jdp-container .jdp-month input {
    direction: rtl !important;
    text-align: right !important;
}

jdp-container .jdp-year select,
jdp-container .jdp-year input {
    direction: ltr !important;
    text-align: left !important;
    min-width: 76px !important;
}

jdp-container .jdp-month select:hover,
jdp-container .jdp-month input:hover,
jdp-container .jdp-year select:hover,
jdp-container .jdp-year input:hover {
    background: #e9e9e9 !important;
    border-color: transparent !important;
}

jdp-container .jdp-month select:focus,
jdp-container .jdp-month input:focus,
jdp-container .jdp-year select:focus,
jdp-container .jdp-year input:focus {
    background: #fff !important;
    border-color: rgba(247, 148, 30, .45) !important;
    box-shadow: 0 0 0 3px rgba(247, 148, 30, .12) !important;
}

jdp-container .jdp-month:focus-within::after,
jdp-container .jdp-year:focus-within::after {
    border-top-color: #f7941e;
}

jdp-container .jdp-days {
    padding: 10px 6px 0 !important;
    gap: 2px;
}

jdp-container .jdp-day,
jdp-container .jdp-day-name {
    width: 13.6% !important;
    flex-basis: 13.6% !important;
    height: 34px !important;
    line-height: 34px !important;
    border-radius: 8px !important;
    margin: 2px 0 !important;
}

jdp-container .jdp-day-name {
    background: #f3f3f3 !important;
    font-weight: 700 !important;
    color: #666 !important;
}

jdp-container .jdp-day-name.selected,
jdp-container .jdp-day.selected {
    background-color: #f7941e !important;
    color: #fff !important;
    border-color: #f7941e !important;
}

jdp-container .jdp-day:not(.disabled-day):hover {
    background: rgba(247, 148, 30, .15) !important;
    transform: none !important;
}

jdp-container .jdp-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding: 12px 6px 2px !important;
    border-top: 1px solid #eee;
    margin-top: 6px;
}

jdp-container .jdp-btn-close,
jdp-container .jdp-btn-empty,
jdp-container .jdp-btn-today {
    background: #f7941e !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 8px 12px !important;
    line-height: 1.4 !important;
}

jdp-container .jdp-btn-empty {
    background: #eee !important;
    color: #444 !important;
}

.search-page .search-tags {
    margin-bottom: 20px;
    margin-top: 20px;
}

.search-adv-filters__actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e8e8e8;
}

.search-adv-filters__clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 148px;
    height: 46px;
    padding: 0 24px;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    background: #fff;
    color: #4a4d63;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.search-adv-filters__clear:hover {
    background: #f5f5f5;
    border-color: #c8c8c8;
    color: #2b2d42;
}

.search-adv-filters__clear:focus-visible {
    outline: none;
    border-color: rgba(247, 148, 30, .45);
    box-shadow: 0 0 0 3px rgba(247, 148, 30, .12);
}

.search-adv-filters__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 148px;
    height: 46px;
    padding: 0 24px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #f7941e 0%, #e8850f 100%);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(247, 148, 30, .35);
    transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.search-adv-filters__submit:hover {
    box-shadow: 0 4px 14px rgba(247, 148, 30, .45);
    transform: translateY(-1px);
}

.search-adv-filters__submit:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(247, 148, 30, .25);
}

@media (max-width: 768px) {
    .search-adv-filters__panel {
        padding: 18px 16px;
    }

    .search-adv-filters__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .search-adv-filters__date-range {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .search-adv-filters__date-field {
        flex-direction: row;
        align-items: center;
    }

    .search-adv-filters__actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .search-adv-filters__clear,
    .search-adv-filters__submit {
        width: 100%;
    }
}

.keywords {
    display: none;
}

.keywords-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    direction: rtl
}

.keywords-list li {
    background: transparent;
    color: #8a8a8a;
    padding: 3px 4px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    transition: color .2s ease;
    border: none
}

.keywords-list li::before {
    content: "#";
    margin-left: 2px;
}

.keywords-list li:hover {
    color: #f7941e;
    border: none
}

[dir="rtl"] .pagination>li {
    display: inline-flex;
}

[dir="rtl"] .pagination-sm>li:first-child>a,
[dir="rtl"] .pagination-sm>li:first-child>span {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

[dir="rtl"] .pagination-sm>li:last-child>a,
[dir="rtl"] .pagination-sm>li:last-child>span {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.search-tags__label {
    color: #595959;
}

body .search-sec__header input {
    border: 1px solid #C3C3C3 !important;
}

.search-page__results-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 4px;
    margin-bottom: 16px;
}

.search-page__results-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #f7941e 0%, #e8850f 100%);
    color: #fff;
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(247, 148, 30, .35);
}

.search-page__results-icon img {
    width: 18px;
    height: 18px;
    display: block;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.search-page__results-title {
    font-size: 16px;
    font-weight: 700;
    color: #ed8a14;
    letter-spacing: -.01em;
}

.search-page__results {
    margin-bottom: 32px;
}