﻿.top-posts {
    margin-top: 40px;
}
    .top-posts .c {
        gap: 10px;
        display: flex;
    }
.right-hero {
    overflow: hidden;
    flex: 3;
}
.left-hero {
    flex-wrap: wrap;
    gap: 10px;
    display: flex;
    flex: 2.5;
    align-content: baseline;
}
    .left-hero .pp img {
        width: 100%;
        object-fit: cover;
        height: 100%;transition:all 0.3s;
    }
.right-hero .item:hover img, .left-hero .pp:hover img {
     transform:scale(1.1,1.1);
        transition: all 0.3s;
    }
    .left-hero .pp {position:relative;
        flex: 0 0 calc(50% - 8px);
        height: 245px;
        background: #f3f4f6;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 15px;
        overflow: hidden;
    }
        .left-hero .pp > div {
            display: flex;
            position: absolute;
            width: 100%;
            background: linear-gradient(to top, rgb(0 0 0 / 80%), transparent);
            color: #fff;
            bottom: 0;
            padding-bottom: 20px;
            padding-top: 20px;
            padding-right: 20px;
        }
.hero-slider .item {
    position: relative;
    height: 500px;
}
.right-hero .owl-theme .owl-dots .owl-dot.active span {
    width: 20px !important;
    transition: all 03s;
}
.right-hero .owl-theme .owl-dots .owl-dot span {
    transition: all 0.3s !important;
}

.hero-slider img {
    transition: all 0.3s;
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.slide-title {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    font-size: 24px;
    text-align: center;
}
.hero-slider .owl-stage-outer{border-radius:25px ;}
.facts {
    text-align: center;
    margin: 50px 0 50px 0;
}

    .facts .owl-carousel .item {
        background: linear-gradient(90deg,rgba(201, 160, 232, 1) 0%, rgba(250, 165, 222, 1) 100%);
        padding: 20px 25px 20px 25px;
        position: relative;
        min-height: 170px;
        display: flex;
        font-size: 19px;
        border-radius: 12px;
        justify-content: center;
        align-items: center;
        line-height: 2.3;
        word-spacing: 6px;
        overflow: hidden;
    }
        .facts .owl-carousel .item h4:after {
            width: 150px;
            position: absolute;
            height: 150px;
            border-radius: 50%;
            background: #ffc6f3;
            left: -60px;
            content: "";
            top: -60px;
            opacity: .2;
        }
        .facts .owl-carousel .item:after {
            width: 215px;
            content: "";
            height: 215px;
            border-radius: 60%;
            background: #d088fb;
            right: -90px;
            opacity: 0.2;
            bottom: -110px;
            position: absolute;
        }
        .facts .owl-carousel .item:before {
            content: "آیا میدانستید...";
            position: absolute;
            right: 30px;
            top: 10px;
            opacity: 0.2;
            font-size: 20px;
        }
    .facts  .owl-carousel .owl-nav button.owl-prev {
        right: 0;
        position: absolute;
        background: #fff !important;
        top: 40%;
        width: 40px;
        height: 40px;
        border-radius: 20px;
        opacity: .4;
    }
    .facts  .owl-carousel .owl-nav button.owl-next {
        left: 0;
        position: absolute;
        background: #fff !important;
        top: 40%;
        width: 40px;
        height: 40px;
        border-radius: 20px;
        opacity: .4;
    }
    .facts  .owl-theme .owl-nav [class*='owl-']:hover {
        opacity: 1;
        background: #d237d5 !important;
    }
.preg {
    color: #fff;
    background: #150c19;
    padding: 50px 0 50px 0;
}

    .preg .c {
        display: flex;
    }

    .preg a {
        display: inline-block;
        width: 60px;
        background: #fff;
        margin: 10px;
        color: #000000;
        text-align: center;
        padding-top: 15px;
        border-radius: 10px;
        padding-bottom: 15px;
        font-size: 18px;
    }

    .preg img {
        object-fit: contain;
        transform: rotateY(180deg);
    }

.offer {
    padding: 50px 0 70px 0;
   
}

.opdiv {
    display: flex;
    gap: 25px
}

    .opdiv .mainop {
        flex: 3
    }

        .opdiv .mainop a {
            display: block;
        }

    .opdiv img {
        width: 100%;
        border-radius: 24px;
    }

    .opdiv .op p {
        color: #444444;
        margin: 0;
        padding-top: 5px;
    }

    .opdiv .otherop {
        flex: 2
    }

    .opdiv .op {
        padding: 10px;
        box-shadow: 0px 0px 35px -30px rgb(0, 0, 0, .50);
        background: #ffffff;
        border-radius: 24px;
        transition: all 0.4s;
    }

    .opdiv .otherop .op {
        justify-content: space-around;
        gap: 10px;
        margin-bottom: 12px;
        align-items: center;
        display: flex;
    }

        .opdiv .otherop .op img {
            width: 170px;
            object-fit: cover;
            height: 120px;
            vertical-align: middle;
        }

    .opdiv .op:hover {
        box-shadow: 0px 1px 35px -20px rgb(0, 0, 0, .40);
        transition: all 0.4s;
    }

.post:hover, .mp .leftsection .pdp:hover {
    box-shadow: 0px 1px 35px -20px rgb(0, 0, 0, .40);
    transition: all 0.4s;
}

.post .postdetail {
    display: flex;
    align-self: center;
    flex-direction: column;
}

.opdiv .mainop .op p {
    margin-bottom: 10px;
}

.opdiv .otherop h2 {
    font-size: 16px;
    margin: 0;
    color: #444444;
}

.opdiv .mainop h2 {
    font-size: 22px;
    color: #444444;
}

.opdiv .pi {
    color: #606060;
    display: flex;
    margin-top: 8px;
    border-top: 1px dashed #e5e5e5;
    font-size: 14px;
    padding-top: 8px;
}

    .opdiv .pi a i {
        font-size: 18px;
        top: 2px;
        padding-left: 4px;
        position: relative;
    }

    .opdiv .pi a {
        margin-left: 10px;
        font-size: 15px;
    }

/*
.search {
    background-image: url(../img/SearchBg/bg.jpg);
    object-fit: cover;
    padding-bottom: 100px;
    padding-top: 100px;
}

    .search .c .searchdiv {
        text-align: center;
        border-radius: 24px;
        height: 500px;
        display: flex;
        justify-content: center;
        vertical-align: middle;
    }

    .search .c form {
        width: 85%;
        padding-top: 35px;
        background: #ffffffa8;
        position: relative;
        height: 250px;
        box-shadow: 0 25px 50px -12px rgba(10, 10, 10, .21);
        border-radius: 24px;
        bottom: -120px;
    }

        .search .c form div {
            margin-top: 40px;
        }

    .search form input.sb {
        width: 70%;
        padding-right: 25px;
        height: 50px;
        border: 1px solid #bbbfc7;
        border-radius: 25px;
        font-size: 14px;
        color: #484848;
    }

    .search form .sub {
        color: #ffffff;
        font-size: 19px;
        position: relative;
        right: -56px;
        width: 48px;
        height: 48px;
        cursor: pointer;
        top: 1px;
        border-radius: 25px;
        background: #000;
        border: none;
    }

        .search form .sub i {
            position: relative;
            top: 3px;
        }

    .search form input.sb:focus {
        border-color: #9d1b3fe0 !important;
        box-shadow: 0px 4px 12px -8px;
    }
*/
.top {
    padding: 70px 0 130px;
    text-align: center;
    width: 100%;
}

    .top h2 {
        padding-bottom: 40px
    }

    .top .c {
        grid-gap: 35px;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        display: grid;
    }

        .top .c a {
            background: #fff;
            transition: all 0.3s;
            border-radius: 24px;
            box-shadow: 0px 0px 35px -30px rgb(0, 0, 0, .40);
        }

        .top .c img {
            border-radius: 50%;
            width: 120px;
            margin-top: 25px;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .25), 0 4px 6px -7px rgba(0, 0, 0, .1);
            height: 120px;
        }

        .top .c h3 {
            font-size: 16px;
            margin: 0;
            padding-bottom: 30px;
            padding-top: 10px;
            color: #3a3a3a;
        }

    .top .allt {
        margin-top: 100px
    }

        .top .allt a {
            background: #ffffff;
            transition: all 0.3s;
            padding: 20px 45px;
            border-radius: 14px;
            box-shadow: 0px 0px 35px -30px rgb(0, 0, 0, .40);
        }

            .top .c a:hover, .top .allt a:hover {
                box-shadow: 0px 1px 35px -15px rgb(0, 0, 0, .44);
                transition: all 0.3s;
            }


.mp .c {
    display: flex;
    gap: 30px;
}

.mp {
    padding-top: 70px;
    background: #fdfdfd;
    padding-bottom: 120px;
}

    .mp .newposts {
        flex: 5;
    }

    .mp .lside {
        flex: 2.5;
    }

        .mp .lside h2:not(:first-child) {
            margin-bottom: 10px;
            margin-top: 60px;
        }

        .mp .lside .pd {
            display: flex;
            flex-direction: column;
            width: 100%;
            row-gap: 10px;
            justify-content: space-around;
        }

    .mp .pdp img {
        width: 120px !important;
        height: 90px;
        border-radius: 10px;
        object-fit: cover;
    }

    .mp .pdp {
        display: flex;
        gap: 10px;
        margin-bottom: 15px;
    }

    .mp .lside h2:after {
        content: '';
        position: absolute;
        width: 95px;
        height: 3px;
        background: var(--main-color);
        margin-top: 20px;
        margin-right: 20px;
        border-radius: 20px;
    }

.post img {
    height: 260px;
    width: 260px;
    margin-top: -60px;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 0 6px -2px #b5b5b5;
}

.post {
    gap: 30px;
    display: flex;
    background: #ffffff;
    margin-top: 60px;
    border-radius: 24px;
    box-shadow: 0px 0px 45px -10px rgba(0, 0, 0, .10);
    padding: 30px;
    transition: all 0.3s;
}

    .post h2 {
        font-size: 22px;
        margin: 0
    }

        .post h2 a {
            color: #434343
        }



.mp .leftsection:not(:first-child) {
    margin-top: 15px;
}

.mp .leftsection .pdp {
    transition: all 0.4s;
    display: flex;
    gap: 10px;
    padding: 10px;
    box-shadow: 0px 0px 35px -30px rgb(0, 0, 0, .50);
    margin-bottom: 15px;
    background: #fff;
    justify-content: space-between;
    border-radius: 24px;
}

    .mp .leftsection .pdp .pd > a {
        font-size: 16px;
    }

.mp .pi {
    border-top: 1px dashed #e5e5e5;
    font-size: 15px;
    padding-top: 8px;
}

    .mp .pi a {
        margin-left: 10px;
        color: #606060;
    }

    .mp .pi i {
        font-size: 18px;
        top: 2px;
        padding-left: 4px;
        position: relative;
    }


@media (max-width: 768px) {
    .top .c {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .post {
        margin-top: 20px;
    }

    .top .c {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .opdiv, .mp .c, .post {
        display: block;
    }

        .opdiv .mainop {
            margin-bottom: 15px;
        }

        .post img {
            height: 200px;
            width: 350px;
            margin-top: -10px;
            border-radius: 24px;
            object-fit: cover;
            box-shadow: 0 0 6px -2px #b5b5b5;
        }

    .search .c form {
        width: 95%;
    }

    .search form input.sb {
        width: 90%;
        height: 55px;
    }

    .search form .sub {
        left: -265px;
        top: -53px;
        right: auto;
    }

    .opdiv .otherop .op img {
        width: 250px;
        height: 160px;
    }
}

@media (max-width: 480px) {
    .post img {
        height: 200px;
        width: 350px;
    }

    .search .c form {
        width: 95%;
    }

    .search form input.sb {
        width: 85%;
        height: 55px;
    }

    .search form .sub {
        left: -150px;
        top: -53px;
        right: auto;
    }

    .opdiv .otherop .op img {
        width: 150px;
        height: 150px;
    }
}








