#page .same-tour-area .same-tour-area-head,
#page .tour-group .tour-group-head,
#page .hotels .hotels-head,
#page .hotels .choose-city,
#page .visa .visa-head,
#page .tourism .tourism-head {
    display: flex;
    align-items: center;
    align-self: center;
    justify-content: space-between;
    width: 100%;
}

.same-tour-area,
.destinations,
.tour-group,
.hotels,
.banners,
.visa,
.tourism,
.why-tripall-head,
.footer-content-area,
#page {
    width: 75% !important;
    margin: auto;
}

p {
    margin: 0px !important;
}

#page *,
#page *:before,
#page *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*---------------------------#page setting--------------------------*/

#page section {
    width: 100% !important;
    margin: auto;
}

#page hr {
    width: 100%;
    margin: auto;
    border: 1px solid rgb(232, 232, 232);
}

#page #articleAndAside {
    display: grid;
    grid-template-columns: 70% 30%;
    width: 75%;
    margin: auto;
    gap: 10px;
}

    #page #articleAndAside aside {
        grid-column: 2 / 3;
    }

    #page #articleAndAside article {
        grid-column: 1 / 2;
    }

button, input, input::placeholder, textarea {
    font-size: 14px !important;
}

#page {
    line-height: 30px;
}

    /*--------------------------- aside ------------------------------*/

    #page .other {
        width: 97%;
        border-radius: 7px;
        border: none;
        padding: 10px 3%;
        box-shadow: 0px 0px 1px var(--caption-color);
        background-color: white;
        overflow: hidden;
    }

        #page .other .titr {
            display: flex;
            gap: 10px;
            font-size: 14px;
            align-items: center;
            font-weight: bold;
            color: var(--font-color);
        }

        /*other*/

        #page .other .content {
            display: flex;
            align-items: center;
            flex-direction: column;
            gap: 20px;
            margin: 10px 0px;
        }

            #page .other .content .item {
                display: flex;
                width: 100%;
                align-items: flex-start;
                justify-content: space-between;
                height: 100px;
                gap: 7px;
            }

                #page .other .content .item:hover .view {
                    gap: 6px;
                }

                #page .other .content .item .img {
                    width: 45%;
                    height: 100%;
                }

                    #page .other .content .item .img img {
                        width: 100%;
                        height: 100%;
                        border-radius: 7px;
                        object-fit: cover;
                    }

                #page .other .content .item .text {
                    width: 55%;
                    display: flex;
                    flex-direction: column;
                    height: 100%;
                    justify-content: space-between;
                    font-size: 13px;
                }

                    #page .other .content .item .text .view {
                        display: flex;
                        align-items: center;
                        gap: 4px;
                        color: var(--first-color) !important;
                        font-weight: bold;
                        transition: 0.1s;
                    }

                    #page .other .content .item .text p {
                        transition: 0.15s;
                        display: -webkit-box;
                        overflow: hidden;
                        -webkit-box-orient: vertical;
                        -webkit-line-clamp: 2;
                        color: var(--font-color);
                    }

                #page .other .content .item:hover .text p {
                    color: var(--first-color);
                }

                #page .other .content .item .text .img-caption span {
                    font-size: 13px;
                }


    /*--------------------------- popular content ------------------------------*/

    #page article .visa-category-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 10px;
        row-gap: 30px;
    }

        #page article .visa-category-content .item {
            display: flex;
            flex-direction: column;
            height: fit-content;
        }

            #page article .visa-category-content .item .img {
                aspect-ratio: 1.67/1;
                border-radius: 7px;
            }

                #page article .visa-category-content .item .img img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }

            #page article .visa-category-content .item .text {
                height: 20%;
            }

                #page article .visa-category-content .item .text h3 {
                    margin: 7px 0px 5px 0px;
                    color: var(--font-color);
                    display: -webkit-box;
                    overflow: hidden;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 1;
                }

            #page article .visa-category-content .item:hover .text h3 {
                color: var(--second-color);
                transition: 0.2s;
                display: inline-block;
            }

            #page article .visa-category-content .item .text p {
                display: -webkit-box;
                overflow: hidden;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 3;
                color: var(--caption-color);
                font-size: 13px;
            }

/*--------------------------- news-area ------------------------------*/

main .news-area {
    background-image: url(/Content/Website/img/TripAll/Newsletter.png);
    background-size: cover;
    border-radius: 15px;
    background-position: center;
    width: 100%;
    height: 350px;
    margin: 3rem auto;
}

    main .news-area .news-content-area {
        width: 100%;
        height: 100%;
        z-index: 6;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        main .news-area .news-content-area .news-content {
            width: max-content;
            margin: auto;
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

            main .news-area .news-content-area .news-content .title {
                width: 100%;
                color: white !important;
                font-size: 18px;
            }

            main .news-area .news-content-area .news-content .text {
                width: 100%;
                color: white !important;
                font-size: 14px;
            }

            main .news-area .news-content-area .news-content .input {
                position: relative;
                width: 100%;
                height: fit-content;
                margin: 10px 0px;
            }

                main .news-area .news-content-area .news-content .input input {
                    width: 100%;
                    padding: 8px 2.5% !important;
                    outline: none;
                    border: none;
                    border-radius: 5px;
                    font-family: vazir;
                    line-height: 30px;
                }

                    main .news-area .news-content-area .news-content .input input::placeholder {
                        font-family: vazir;
                        color: var(--caption-color);
                    }

                main .news-area .news-content-area .news-content .input .icon {
                    position: absolute;
                    width: 36px;
                    height: 36px;
                    left: 5px;
                    top: 5px;
                    background-color: var(--second-color);
                    border-radius: 5px;
                    color: white;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    border: none;
                }


@media screen and (max-width: 1280px) {
    #page {
        width: 95% !important;
    }
}


@media screen and (max-width: 500px) {

    boby {
        height: 100%;
    }

    span,
    p,
    caption {
        font-size: small !important;
    }

    #page section {
        width: 100% !important;
        padding: 0px 10px;
    }

    #page {
        width: 100% !important;
    }

        #page hr {
            width: 93%;
        }

    .title-container h1 {
        font-size: 16px !important;
    }

    /* ============== #page setting ========= */

    #page #articleAndAside {
        grid-template-columns: auto;
        width: 100%;
    }

        #page #articleAndAside aside,
        #page #articleAndAside article {
            grid-column: 1 / 3;

        }

        #page #articleAndAside aside {
            margin-top: 100px;
        }

    /* ======= visa category content ======= */

    #page article .visa-category-content {
        grid-template-columns: auto;
        row-gap: 40px;
    }

        #page article .visa-category-content .item .img img {
            height: 200px;
        }

    #page aside .other {
        width: 100% !important;
    }

    /*=====news=====*/

    #page .news-area {
        height: 300px;
    }

        #page .news-area .news-content-area .news-content {
            width: 85%;
        }

            #page .news-area .news-content-area .news-content .title span {
                font-size: 15px !important;
            }
}


/*--------------------------sidebar - reservation request--------------------------*/

#page .reservation-request {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 5px;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0px 0px 1px var(--caption-color);
    border-radius: 7px;
    width: 97%;
    margin-bottom: 10px;
}
    #page .reservation-request .search-tour-input {
        padding: 0px 10px;
    }

    #page .reservation-request .icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: var(--second-color);
        color: white;
        font-size: 17px;
        margin: auto;
    }

    #page .reservation-request .search-input {
        position: relative;
        outline: none;
        overflow: hidden;
        height: 45px;
        user-select: none;
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }


        #page .reservation-request .search-input input {
            width: 100%;
            height: 100%;
            border: none;
            outline: none;
            padding-right: 10px;
            overflow: hidden;
            border-radius: 5px;
            background-color: var(--bg-font-color) !important;
        }

            #page .reservation-request .search-input input::placeholder {
                font-family: vazir;
                color: var(--border-first-color);
            }

        #page .reservation-request .search-input .icon-input {
            position: absolute;
            height: 35px;
            width: 45px;
            background-color: var(--second-color);
            border: none;
            border-radius: 7px;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            top: 50%;
            left: 13px;
            transform: translate(-4%, -50%);
        }

        #page .reservation-request .search-input .icon:hover {
            cursor: pointer;
        }

        #page .reservation-request .search-input .icon:active {
            filter: brightness(0.9);
        }