/* ==========================================================================
   Modern Archive v1.0 - Bul Bizden
   Kategori arşiv sayfası (ilan-kategorisi/*) modern tasarım
   ========================================================================== */

/* ---- HERO BANNER ---- */
.tax-rtcl_category .theme-banner {
    min-height: 220px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #013463 0%, #01234a 50%, #011a38 100%) !important;
}

.tax-rtcl_category .theme-banner::before {
    background: none !important;
}

.tax-rtcl_category .theme-banner::after {
    content: '';
    position: absolute;
    right: -80px;
    top: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(247, 147, 15, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.tax-rtcl_category .theme-banner .banner-content {
    position: relative;
    z-index: 2;
}

.tax-rtcl_category .theme-banner .entry-title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.tax-rtcl_category .theme-banner .main-breadcrumb {
    opacity: 0.75;
    font-size: 13px;
}

.tax-rtcl_category .theme-banner .main-breadcrumb a {
    color: rgba(255, 255, 255, 0.85) !important;
    transition: color 0.3s ease;
}

.tax-rtcl_category .theme-banner .main-breadcrumb a:hover {
    color: #f7930f !important;
}

/* ---- SEARCH BAR ---- */
.tax-rtcl_category .banner-search {
    position: relative;
    z-index: 10;
    margin-top: -30px;
    margin-bottom: 10px;
}

.tax-rtcl_category .banner-search .classima-listing-search-form {
    padding: 0;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.tax-rtcl_category .banner-search .classima-listing-search-form .form-group {
    flex: 1;
}

.tax-rtcl_category .banner-search .rtcl-search-input-button {
    border: none !important;
    border-right: 1px solid #f0f0f0 !important;
    height: 56px;
    line-height: 56px;
    background: transparent;
    font-size: 14px;
    padding: 0 20px;
    transition: background 0.2s ease;
}

.tax-rtcl_category .banner-search .rtcl-search-input-button:hover {
    background: rgba(247, 147, 15, 0.04);
}

.tax-rtcl_category .banner-search .rtcl-search-input-button::before {
    line-height: 56px;
    color: #013463;
    font-size: 15px !important;
}

.tax-rtcl_category .banner-search .rtcl-search-input-button::after {
    display: none !important;
}

.tax-rtcl_category .banner-search .rtcl-search-input-button .search-input-label {
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.tax-rtcl_category .banner-search .rtin-keyword .rtcl-autocomplete {
    border: none !important;
    height: 56px;
    padding: 0 20px;
    font-size: 14px;
    background: transparent;
    outline: none !important;
    box-shadow: none !important;
}

.tax-rtcl_category .banner-search .rtin-keyword .rtcl-autocomplete:focus {
    background: rgba(1, 52, 99, 0.02);
}

.tax-rtcl_category .banner-search .rtin-btn-holder {
    padding: 8px;
}

.tax-rtcl_category .banner-search .rtin-search-btn {
    height: 42px !important;
    border-radius: 12px !important;
    padding: 0 28px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    background: #013463 !important;
    border: none !important;
    color: #fff !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tax-rtcl_category .banner-search .rtin-search-btn:hover {
    background: #f7930f !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(247, 147, 15, 0.3);
}

/* ---- ARCHIVE TOP BAR ---- */
.tax-rtcl_category .listing-archive-top {
    background: #ffffff;
    border-radius: 14px;
    padding: 14px 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tax-rtcl_category .listing-archive-top .rtin-title {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    margin: 0;
    white-space: nowrap;
}

.tax-rtcl_category .listing-archive-top .listing-sorting {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tax-rtcl_category .listing-archive-top .rtcl-ordering select {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px 36px 8px 14px;
    font-size: 13px;
    color: #374151;
    background-color: #f9fafb;
    cursor: pointer;
    transition: border-color 0.2s ease;
    appearance: auto;
}

.tax-rtcl_category .listing-archive-top .rtcl-ordering select:focus {
    border-color: #013463;
    outline: none;
}

.tax-rtcl_category .listing-archive-top .rtcl-view-switcher > a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f3f4f6;
    color: #9ca3af;
    transition: all 0.2s ease;
}

.tax-rtcl_category .listing-archive-top .rtcl-view-switcher > a.active,
.tax-rtcl_category .listing-archive-top .rtcl-view-switcher > a:hover {
    background: #013463;
    color: #ffffff;
}

/* ---- LISTING GRID CARDS ---- */
.tax-rtcl_category #content .listing-grid-each {
    margin-bottom: 20px;
}

.tax-rtcl_category #content .listing-grid-each .rtin-item {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f0f2f5;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.tax-rtcl_category #content .listing-grid-each .rtin-item:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
    border-color: transparent;
}

/* Thumbnail */
.tax-rtcl_category #content .listing-grid-each .rtin-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.tax-rtcl_category #content .listing-grid-each .rtin-thumb .rtin-thumb-inner {
    display: block;
    overflow: hidden;
}

.tax-rtcl_category #content .listing-grid-each .rtin-thumb .rtin-thumb-inner img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tax-rtcl_category #content .listing-grid-each .rtin-item:hover .rtin-thumb img {
    transform: scale(1.06);
}

/* Badges */
.tax-rtcl_category #content .listing-grid-each .rtin-featured-ad {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
}

.tax-rtcl_category #content .listing-grid-each .badge.rtcl-badge-featured {
    background: linear-gradient(135deg, #f7930f, #ffab40) !important;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 8px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(247, 147, 15, 0.3);
}

/* Favorite button */
.tax-rtcl_category #content .listing-grid-each .rtcl-meta-buttons {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
}

.tax-rtcl_category #content .listing-grid-each .rtcl-meta-buttons .rtcl-btn,
.tax-rtcl_category #content .listing-grid-each .rtcl-meta-buttons .rtcl-favourites {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(8px);
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tax-rtcl_category #content .listing-grid-each .rtcl-meta-buttons .rtcl-btn:hover,
.tax-rtcl_category #content .listing-grid-each .rtcl-meta-buttons .rtcl-favourites:hover {
    background: #f7930f !important;
    color: #ffffff !important;
    transform: scale(1.08);
}

/* Content area */
.tax-rtcl_category #content .listing-grid-each .rtin-content {
    padding: 16px 18px 18px;
}

/* Category label */
.tax-rtcl_category #content .listing-grid-each .rtin-cat a {
    font-size: 12px;
    font-weight: 600;
    color: #013463;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.tax-rtcl_category #content .listing-grid-each .rtin-cat a:hover {
    color: #f7930f;
}

.tax-rtcl_category #content .listing-grid-each .rtcl-delimiter {
    color: #d1d5db;
    margin: 0 3px;
}

/* Title */
.tax-rtcl_category #content .listing-grid-each .rtin-title {
    margin: 8px 0 !important;
    line-height: 1.35 !important;
}

.tax-rtcl_category #content .listing-grid-each .rtin-title a {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    text-decoration: none;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tax-rtcl_category #content .listing-grid-each .rtin-title a:hover {
    color: #013463 !important;
}

/* Price */
.tax-rtcl_category #content .listing-grid-each .rtin-price {
    margin-bottom: 10px !important;
}

.tax-rtcl_category #content .listing-grid-each .rtin-price .rtcl-price-amount {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #013463 !important;
    letter-spacing: -0.3px;
}

.tax-rtcl_category #content .listing-grid-each .rtin-price .rtcl-price-currencySymbol {
    font-size: 16px;
    font-weight: 600;
}

/* Meta info */
.tax-rtcl_category #content .listing-grid-each .rtin-meta {
    list-style: none;
    padding: 12px 0 0 !important;
    margin: 0 !important;
    border-top: 1px solid #f3f4f6;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tax-rtcl_category #content .listing-grid-each .rtin-meta li {
    font-size: 12px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 4px;
}

.tax-rtcl_category #content .listing-grid-each .rtin-meta li a {
    color: #6b7280;
    text-decoration: none;
}

.tax-rtcl_category #content .listing-grid-each .rtin-meta li a:hover {
    color: #f7930f;
}

.tax-rtcl_category #content .listing-grid-each .rtin-meta li svg {
    opacity: 0.5;
}

.tax-rtcl_category #content .listing-grid-each .rtin-meta li i {
    color: #d1d5db;
    font-size: 13px;
}

/* Listing badges (new, top etc) */
.tax-rtcl_category #content .listing-grid-each .rtcl-listing-badge-wrap {
    margin-bottom: 6px;
}

.tax-rtcl_category #content .listing-grid-each .rtcl-listing-badge-wrap .badge {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ---- SIDEBAR FILTERS ---- */
.tax-rtcl_category .sidebar-widget-area .rtcl-widget-filter-wrapper {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f0f2f5;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.tax-rtcl_category .sidebar-widget-area .rtcl-widget-filter-wrapper .panel-block {
    padding: 0;
}

.tax-rtcl_category .sidebar-widget-area #rtcl-toggle-filter-mobile {
    display: none;
}

/* Accordion items */
.tax-rtcl_category .sidebar-widget-area .ui-accordion-item {
    border-bottom: 1px solid #f3f4f6;
}

.tax-rtcl_category .sidebar-widget-area .ui-accordion-item:last-child {
    border-bottom: none;
}

.tax-rtcl_category .sidebar-widget-area .ui-accordion-title {
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s ease;
}

.tax-rtcl_category .sidebar-widget-area .ui-accordion-title:hover {
    background: #f9fafb;
    text-decoration: none;
    color: #013463;
}

.tax-rtcl_category .sidebar-widget-area .ui-accordion-title span:first-child {
    font-size: 13px;
}

.tax-rtcl_category .sidebar-widget-area .ui-accordion-content {
    padding: 0 20px 16px;
}

/* Filter button */
.tax-rtcl_category .sidebar-widget-area .ui-buttons {
    padding: 16px 20px;
    border-top: 1px solid #f3f4f6;
}

.tax-rtcl_category .sidebar-widget-area .rtcl-filter-btn {
    width: 100%;
    height: 44px;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    background: #013463 !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.tax-rtcl_category .sidebar-widget-area .rtcl-filter-btn:hover {
    background: #f7930f !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(247, 147, 15, 0.25);
}

/* Price inputs */
.tax-rtcl_category .sidebar-widget-area .price-container input {
    border-radius: 10px !important;
    border: 1px solid #e5e7eb !important;
    padding: 10px 14px !important;
    font-size: 13px;
    transition: border-color 0.2s ease;
}

.tax-rtcl_category .sidebar-widget-area .price-container input:focus {
    border-color: #013463 !important;
    box-shadow: 0 0 0 3px rgba(1, 52, 99, 0.08) !important;
    outline: none;
}

/* Rating stars */
.tax-rtcl_category .sidebar-widget-area .ui-link-tree-item {
    padding: 6px 0;
    cursor: pointer;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tax-rtcl_category .sidebar-widget-area .ui-link-tree-item:hover {
    opacity: 0.8;
}

/* ---- TERM DESCRIPTION ---- */
.tax-rtcl_category .rtcl-term-description {
    background: linear-gradient(135deg, #f0f7ff 0%, #fef9f0 100%);
    border-radius: 14px;
    padding: 16px 22px;
    margin-bottom: 20px;
    border-left: 4px solid #013463;
}

.tax-rtcl_category .rtcl-term-description p {
    margin: 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.65;
}

/* ---- PAGINATION ---- */
.tax-rtcl_category .rtcl-pagination ul.page-numbers {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 24px;
}

.tax-rtcl_category .rtcl-pagination ul.page-numbers li a.page-numbers,
.tax-rtcl_category .rtcl-pagination ul.page-numbers li span.page-numbers {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.tax-rtcl_category .rtcl-pagination ul.page-numbers li a.page-numbers {
    background: #f3f4f6;
    color: #4b5563;
}

.tax-rtcl_category .rtcl-pagination ul.page-numbers li a.page-numbers:hover {
    background: #013463 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.tax-rtcl_category .rtcl-pagination ul.page-numbers li span.page-numbers.current {
    background: #013463 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(1, 52, 99, 0.25);
}

/* ---- NO RESULTS ---- */
.tax-rtcl_category .no-listing-found {
    text-align: center;
    padding: 60px 20px;
    background: #f9fafb;
    border-radius: 16px;
    border: 2px dashed #e5e7eb;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1199.98px) {
    .tax-rtcl_category .banner-search .classima-listing-search-form {
        flex-wrap: wrap;
    }

    .tax-rtcl_category .banner-search .rtcl-search-input-button {
        border-right: none !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }

    .tax-rtcl_category .banner-search .rtin-btn-holder {
        width: 100%;
        padding: 10px 12px;
    }

    .tax-rtcl_category .banner-search .rtin-search-btn {
        width: 100% !important;
        justify-content: center;
    }
}

@media (max-width: 991.98px) {
    .tax-rtcl_category .theme-banner {
        min-height: 180px;
    }

    .tax-rtcl_category .theme-banner .entry-title {
        font-size: 26px;
    }
}

@media (max-width: 767.98px) {
    .tax-rtcl_category .theme-banner {
        min-height: 150px;
    }

    .tax-rtcl_category .theme-banner .entry-title {
        font-size: 22px;
    }

    .tax-rtcl_category .banner-search {
        margin-top: -20px;
    }

    .tax-rtcl_category .listing-archive-top {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .tax-rtcl_category #content .listing-grid-each .rtin-thumb .rtin-thumb-inner img {
        height: 180px;
    }

    .tax-rtcl_category #content .listing-grid-each .rtin-content {
        padding: 14px 16px 16px;
    }
}

@media (max-width: 575.98px) {
    .tax-rtcl_category .theme-banner .entry-title {
        font-size: 20px;
    }

    .tax-rtcl_category #content .listing-grid-each .rtin-title a {
        font-size: 15px !important;
    }

    .tax-rtcl_category #content .listing-grid-each .rtin-price .rtcl-price-amount {
        font-size: 18px !important;
    }
}
