﻿body {
    line-height: 30px;
}

.title-container h3 {
    display: inline;
    margin: 0px 10px;
    font-size: 16px;
}

#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 setting--------------------------*/

#page section {
    width: 100% !important;
    margin: auto;
}

#page {
    display: grid;
    grid-template-columns: 70% 30%;
    width: 75%;
    margin: auto;
    gap: 10px;
}

aside {
    grid-column: 2 / 3;
}

article {
    grid-column: 1 / 2;
}


/*--------------------------- 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 p {
                color: var(--second-color);
            }

            #page .other .content .item .img {
                width: 40%;
                height: 100%;
            }

                #page .other .content .item .img img {
                    width: 100%;
                    height: 100%;
                    border-radius: 7px;
                    object-fit: cover;
                }

            #page .other .content .item .text {
                width: 60%;
                display: flex;
                flex-direction: column;
                font-size: 13px;
            }

                #page .other .content .item .text p {
                    transition: 0.15s;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    display: -webkit-box;
                    -webkit-line-clamp: 2;
                    line-clamp: 2;
                    -webkit-box-orient: vertical;
                    line-height: 25px;
                }

                #page .other .content .item .text .img-caption span {
                    font-size: 13px;
                }

/*---------------------------artcle - blog details content ------------------------------*/

#page .blog-details-content {
    padding: 10px;
    box-shadow: 0px 0px 1px var(--caption-color);
    border-radius: 7px;
    background-color: white;
}

    #page .blog-details-content .img {
        width: 100%;
        /*height: 380px;*/
    }

        #page .blog-details-content .img img {
            width: 100%;
            height: 100%;
            border-radius: 7px;
            object-fit: cover;
            object-position: top;
        }

    #page .blog-details-content .details-and-share {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 7px 0px 0px 0px;
        padding: 0px 5px;
    }

        #page .blog-details-content .details-and-share .share {
            display: flex;
            align-items: center;
            row-gap: 10px;
            column-gap: 15px;
        }

            #page .blog-details-content .details-and-share .share .share-items {
                display: flex;
                align-items: center;
                gap: 10px;
            }

                #page .blog-details-content .details-and-share .share .share-items > span {
                    white-space: nowrap;
                }

                #page .blog-details-content .details-and-share .share .share-items > button {
                    border: none;
                    background: none;
                    padding: 0;
                }

            #page .blog-details-content .details-and-share .share .icon {
                color: var(--caption-color);
                font-size: 18px;
                transition: 0.2s;
            }

            #page .blog-details-content .details-and-share .share button {
                display: flex;
                align-items: center;
            }

                #page .blog-details-content .details-and-share .share button:hover .icon {
                    color: var(--second-color);
                }

                #page .blog-details-content .details-and-share .share button:hover .svg-icon {
                    fill: var(--second-color);
                }

            #page .blog-details-content .details-and-share .share > button {
                padding: 2px 10px;
                color: var(--caption-color);
                border: 1px solid var(--caption-color);
                border-radius: 7px;
                font-family: inherit;
                display: flex;
                align-items: center;
                background-color: white;
                gap: 5px;
                transition: 0.2s;
            }

                #page .blog-details-content .details-and-share .share > button:hover {
                    color: var(--first-color);
                    border: 1px solid var(--first-color);
                    cursor: pointer;
                }

                #page .blog-details-content .details-and-share .share > button.active {
                    background-color: var(--second-color);
                    color: #fff;
                    border: none;
                    box-shadow: 0 0 4px hsl(var(--second-color-hs) calc(var(--second-color-l) + 10%));
                }

    #page .blog-details-content .content h3 {
        margin: 7px 0px;
    }

/*---------------------------artcle - tags ------------------------------*/

#page article .tags {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

    #page article .tags .tag-item {
        background-color: white;
        box-shadow: 0px 0px 1px var(--caption-color);
        padding: 5px 15px;
        border-radius: 25px;
        transition: 0.2s;
        color: var(--caption-color);
    }

        #page article .tags .tag-item:hover {
            color: var(--second-color);
            box-shadow: 0px 0px 1px var(--second-color);
        }


@media screen and (max-width: 1280px) {
    #page {
        width: 95% !important;
    }
}


@media screen and (max-width: 500px) {

    /*---------------------------#page setting--------------------------*/

    #page section {
        width: 100% !important;
        margin: auto;
    }

    #page .other {
        width: 100%;
    }

    #page {
        grid-template-columns: 1fr;
        width: 100% !important;
    }

    article {
        padding: 0px 10px;
    }

    aside, article {
        grid-column: 1 / 3;
        width: 100%;
    }

    /*============= article - blog content ==============*/

    #page .blog-details-content .img {
        height: 200px;
    }

    #page .blog-details-content .details-and-share {
        align-items: flex-start;
    }

        #page .blog-details-content .details-and-share .share {
            flex-direction: column-reverse;
            align-items: flex-end;
        }

            #page .blog-details-content .details-and-share .share button {
                font-size: 13px;
                padding: 5px 10px;
            }

    /*============= article - tags ==============*/

    #page .tags {
        flex-wrap: wrap;
        column-gap: 7px !important;
    }

        #page .tags .tag-item {
            width: 100%;
            font-size: 11px !important;
        }
}



.related-posts {
    display: flex;
    justify-content: space-between;
}

.post {
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

    .post img, .post-img {
        width: 100%;
        height: 180px !important;
        border-radius: 8px;
    }

    .post h3 {
        font-size: 1.5em;
        margin: 10px 0;
    }

    .post p {
        font-size: 1em;
        color: #555;
    }

    .post a {
        display: inline-block;
        margin-top: 10px;
        color: #020202;
        text-decoration: none;
        font-size: 14px;
        font-weight: 700;
    }

.related-content-post {
    box-shadow: 0px 0px 1px var(--caption-color);
    border-radius: 7px;
}