﻿.shahrdar
{
    height:400px;
    border-radius:20px;
}


/* کل سکشن */
.stats-section {
    background: #f9fafc;
    padding: 60px 0;
}

/* ===== تصاویر ===== */

.statrrow {
    align-items: center;
}

.statsp1 {
    height: 187px;
    margin-bottom: 15px;
    border: 5px solid #fff;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    z-index: 5;
    box-shadow: 0 4px 4px rgba(0,0,0,.25);
}

.statsp2 {
    height: 335px;
    border: 5px solid #fff;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-inline-end: -130px;
    z-index: 10;
    box-shadow: 0 4px 4px rgba(0,0,0,.25);
}

.statsp3 {
    height: 509px;
    border: 5px solid #fff;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    z-index: 5;
    box-shadow: 0 4px 4px rgba(0,0,0,.25);
}

.fit-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== باکس آمار ===== */

.stats-box {
    background: #fff;
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
}

.stats-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .stats-title span {
        width: 40px;
        height: 4px;
        background: #0d2c54;
        border-radius: 4px;
    }

.stat-card {
    background: #f8f9fb;
    padding: 25px 10px;
    border-radius: 18px;
    height: 100%;
}

    .stat-card i {
        font-size: 28px;
        margin-bottom: 10px;
        display: block;
    }

    .stat-card strong {
        font-size: 20px;
        display: block;
        margin-bottom: 5px;
    }


/* ===== جستجو ===== */
.highlight {
    background-color: yellow;
    color: black;
    font-weight: bold;
}

.search-result {
    transition: background-color 0.3s ease;
}

    .search-result:hover {
        background-color: #FFFAF0;
    }

.search-input {
    background-color: #fff;
    color: #000;
    border: 1px solid #333;
}

    .search-input::placeholder {
        color: #aaa;
    }

.ads-img
{
    border-radius:20px;
}

@media (max-width: 767.98px) {
    .stats-box .row > .col-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}



@media (max-width: 991px) {
    .mobile-inline-box {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        flex-wrap: nowrap;
    }

        .mobile-inline-box h6 {
            margin-bottom: 0 !important;
        }

        .mobile-inline-box img {
            max-width: 20px;
            height: auto;
        }

        .mobile-inline-box a {
            white-space: nowrap;
        }
}


/* دکمه‌های قبلی را override کن */
.owl-nav .owl-prev,
.owl-nav .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #000;
    border-radius: 50%;
    box-shadow: 0 7px 13px rgba(0, 0, 0, .11);
    font-size: 26px; /* اندازه فلش */
    line-height: 1;
    font-family: inherit; /* CocoBiker اگر بد نشون میده، این بهتره */
    cursor: pointer;
    z-index: 10;
}

/* جایگذاری چپ و راست */
.owl-nav .owl-prev {
    left: -0.6rem;
}

.owl-nav .owl-next {
    right: -0.6rem;
}

    /* حالت hover (اختیاری) */
    .owl-nav .owl-prev:hover,
    .owl-nav .owl-next:hover {
        background: #f5f5f5;
    }

.owl-nav .owl-prev,
.owl-nav .owl-next {
    font-size: 0; /* متن داخل div را بی‌اثر می‌کنیم */
}

    .owl-nav .owl-prev::before,
    .owl-nav .owl-next::before {
        font-size: 22px;
        line-height: 1;
        color: #000;
        font-family: Arial, sans-serif; /* همیشه خوب رندر می‌شود */
    }

    .owl-nav .owl-prev::before {
        content: "›";
    }
    /* فلش بهتر از > */
    .owl-nav .owl-next::before {
        content: "‹";
    }
