

#blog-detail #banner .banner-main {
    max-width: 50rem;
    margin: auto;
}

    #blog-detail #banner .banner-main > h1 {
        text-align: right;
    }

#blog-detail h1.top-seprator::before {
    right: 0;
}

main section {
    padding: 6em 0;
}

    main section .categories {
        width: 100%;
        margin-bottom: 2.5em;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

        main section .categories .category {
            padding: 0.3em 0.6em;
            margin: 0 0.5em 1em;
            text-decoration: none;
            border-radius: 0.8em;
        }

            main section .categories .category:hover {
                background-color: rgba(57, 150, 139, 0.3);
            }

            main section .categories .category.active {
                background-color: var(--primary);
                padding-right: 1em;
                padding-left: 1em;
            }

    main section .section-body {
        width: 100%;
    }

    main section .pagination-wrap {
        margin-top: 2.5em;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    main section .pagination {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5em;
        list-style: none;
        padding: 0;
        margin: 0;
        justify-content: center;
    }

        main section .pagination .page-item .page-link {
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 2.5em;
            height: 2.5em;
            padding: 0 0.6em;
            text-decoration: none;
            color: rgba(255,255,255,0.9);
            background-color: rgba(255,255,255,0.08);
            border-radius: 0.5em;
            transition: all 0.2s ease;
            border: 1px solid rgba(255,255,255,0.15);
        }

            main section .pagination .page-item .page-link:hover {
                background-color: rgba(57, 150, 139, 0.3);
                color: #fff;
                border-color: var(--primary);
            }

        main section .pagination .page-item.active .page-link {
            background-color: var(--primary);
            color: #fff;
            border-color: var(--primary);
        }

main h1.top-seprator {
    position: relative;
}

    main h1.top-seprator:before {
        position: absolute;
        content: "";
        right: calc(50% - 0.75em);
        top: -0.5em;
        width: 1.5em;
        background-color: var(--primary);
        height: 3px;
    }

main section .section-title {
    width: 100%;
    margin-bottom: 4em;
    text-align: center;
}

    main section .section-title h1 {
        font-size: 2.5em;
        font-weight: 600;
        width: 100%;
        margin: 0;
        position: relative;
    }

    main section .section-title span {
        color: var(--primary);
        font-weight: 500;
        font-size: 1.05em;
        margin-bottom: 3em;
        display: block;
        margin-top: 0;
    }
/*
main #banner {
    background: url('../img/home.jpeg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding: 0;
    padding-top: 7em;
}

    main #banner:before {
        position: absolute;
        content: "";
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.7);
        z-index: 0;
    }

    main #banner > div {
        z-index: 1;
    }

    main #banner .banner-main {
        padding: 7em 0 5em;
        color: var(--white);
    }

        main #banner .banner-main > h1 {
            margin: 0;
            font-size: 2.6em;
            font-weight: 500;
            margin-bottom: 0.4em;
            text-align: center;
        }


        main #banner .banner-main > p {
            margin: 0;
            font-size: 1.9em;
            font-weight: 200;
            margin-bottom: 1em;
            padding-left: 2em;
        }*/

/*main section#blogs {
}

    main section#blogs .section-body {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

    main section#blogs .blog {
        padding: 1em;
        width: calc(33.33% - 2em);
        text-align: center;
    }

        main section#blogs .blog > div {*/
/*background-color: rgba(255,255,255,0.05);*/
/*width: 100%;
            box-shadow: 0px 0px 15px 0px rgba(0,0,0, 0.2);
            position: relative;
            border-bottom: solid 1px rgba(0,0,0,0);
        }

            main section#blogs .blog > div:hover {
                box-shadow: 0px 0px 30px 0px rgba(0,0,0, 0.4);
                border-color: var(--primary);
            }

        main section#blogs .blog:last-of-type > div:before {
            background-color: var(--primary-dark);
            content: "";
            position: absolute;
            left: -1.5em;
            bottom: -1.3em;
            width: 12em;
            height: 5em;
            z-index: -1;
            border-radius: var(--border-radius);
        }

        main section#blogs .blog > div .image {
            width: 100%;
            position: relative;
            padding-bottom: 60%;
            overflow: hidden;
            border-radius: var(--border-radius) var(--border-radius) 0 0;
        }

            main section#blogs .blog > div .image img {
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: center;
                transform: scale(1);
                transform-origin: center;
                filter: grayscale(30%);
                -webkit-filter: grayscale(30%)
            }

        main section#blogs .blog > div:hover .image img {
            transform: scale(1.05);
            filter: grayscale(0%);
            -webkit-filter: grayscale(0%);
            border-radius: var(--border-radius);
        }

        main section#blogs .blog > div .content {
            padding: 2em;
            background-color: #323232;
            position: relative;
            margin-top: -0.1em;
            border-radius: 0 0 var(--border-radius) var(--border-radius);
        }

            main section#blogs .blog > div .content h3 {
                margin: 0;
                font-size: 1.2em;
                font-weight: 500;
                margin-bottom: 1em;
            }

            main section#blogs .blog > div .content p {
                margin: 0;
                font-size: 0.95em;
                font-weight: 200;
                color: var(--white-light);
            }

        main section#blogs .blog > div > a {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: transparent;
            opacity: 0;
        }*/

#blog-detail p,
#blog-detail ul,
#blog-detail h2,
#blog-detail h3 {
    margin: auto;
    line-height: 2;
    /*text-align: center;*/
    max-width: 50rem;
    color: rgba(255,255,255,0.8);
}

#blog-detail h2 {
    color: var(--primary);
    margin-top: 1.5em;
}

#blog-detail h3 {
    color: rgba(255,255,255,0.9);
}

#blog-detail p + h3 {
    margin-top: -0.7em;
}

#blog-detail h2 {
    font-size: 1.5em;
    font-weight: 600;
}

#blog-detail p {
    font-size: 1em;
    margin-bottom: 1.2em;
    font-weight: 300;
}

#blog-detail strong {
    color: var(--primary);
}

#blog-detail p br {
    margin-bottom: 0.75em;
}

#blog-detail a {
    color: var(--primary);
}

#blog-detail .features .section-body {
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
}

#blog-detail .features .feature {
    width: calc(50% - 1em);
    padding: 0;
    margin: 0;
}

    #blog-detail .features .feature > div {
        padding: 2em;
        padding-right: 2.5em;
        overflow: hidden;
        position: relative;
        background-color: rgba(255,255,255,0.05);
        margin-bottom: 2em;
        border-radius: var(--border-radius);
        border: 0;
        -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,.25),0 3px 10px 0 rgba(0,0,0,.2);
        box-shadow: 0 2px 5px 0 rgba(0,0,0,.25),0 3px 10px 0 rgba(0,0,0,.2);
    }

    #blog-detail .features .feature .service-icon {
        position: absolute;
        top: 2em;
        height: calc(100% - 4em);
        right: 1em;
        width: 0.3em;
        border-radius: 2em;
    }

    #blog-detail .features .feature:nth-of-type(6n-5) .service-icon {
        background-color: #ff669a
    }

    #blog-detail .features .feature:nth-of-type(6n-4) .service-icon {
        background-color: #54b6e3
    }

    #blog-detail .features .feature:nth-of-type(6n-3) .service-icon {
        background-color: #bfcc3b
    }

    #blog-detail .features .feature:nth-of-type(6n-2) .service-icon {
        background-color: #69d6a1
    }

    #blog-detail .features .feature:nth-of-type(6n-1) .service-icon {
        background-color: #e666fb
    }

    #blog-detail .features .feature:nth-of-type(6n) .service-icon {
        background-color: #ff8b66
    }

    #blog-detail .features .feature .service-icon > svg {
        width: 50%;
        height: 50%;
    }

    #blog-detail .features .feature .service-title {
        color: #101010;
        font-weight: 600;
        margin-bottom: 0.5em;
        font-size: 1.25em;
    }


    #blog-detail .features .feature:nth-of-type(6n-5) .service-title {
        color: #ff669a
    }

    #blog-detail .features .feature:nth-of-type(6n-4) .service-title {
        color: #54b6e3
    }

    #blog-detail .features .feature:nth-of-type(6n-3) .service-title {
        color: #bfcc3b
    }

    #blog-detail .features .feature:nth-of-type(6n-2) .service-title {
        color: #69d6a1
    }

    #blog-detail .features .feature:nth-of-type(6n-1) .service-title {
        color: #e666fb
    }

    #blog-detail .features .feature:nth-of-type(6n) .service-title {
        color: #ff8b66
    }

    #blog-detail .features .feature .service-details {
    }

        #blog-detail .features .feature .service-details p {
            margin: 0;
            color: rgba(255,255,255,0.8);
            font-weight: 300;
            font-size: 0.95em;
            text-align: right;
            line-height: 1.7;
        }

#blog-detail .images .section-body > div {
    display: flex;
    justify-content: center;
    align-items: start;
    flex-wrap: wrap;
}

#blog-detail .images .image-item {
    width: 33%;
    display: flex;
    justify-content: center;
}

    #blog-detail .images .image-item > div {
        width: calc(100% - 2em);
        height: 100%;
        position: relative;
        margin-bottom: 2.2em;
        padding-bottom: 70%;
        overflow: hidden;
    }

    #blog-detail .images .image-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        position: absolute;
        left: 0;
        top: 0;
        transform: scale(1);
    }

    #blog-detail .images .image-item > div:hover img {
        transform: scale(1.1);
    }

    #blog-detail .images .image-item .image-title {
        position: absolute;
        left: 1.5em;
        top: 1.5em;
        right: 1.5em;
        bottom: 1.5em;
        background-color: rgba(0,0,0,0.8);
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
    }

    #blog-detail .images .image-item > div:hover .image-title {
        opacity: 1;
    }

    #blog-detail .images .image-item .image-title > p {
        margin: 0;
        font-weight: 400;
        font-size: 1.15em;
        color: #fff;
    }

#blog-detail .videos .section-body > div {
}

#blog-detail .videos #videoIframe {
    max-width: 50em;
    margin: 0 auto;
}

    #blog-detail .videos #videoIframe iframe {
        border: none;
    }

#blog-detail .related-blogs {
    display:flex;
    justify-content:start;
    align-items:start;
    flex-wrap:wrap;
    gap:1em;
}

    #blog-detail .related-blogs .related-blog {
        width: calc(50% - 2em - 0.5em);
        padding: 1em;
        box-shadow: 0px 0px 15px 0px rgba(0,0,0, 0.2);
        position: relative;
        border-bottom: solid 1px rgba(0,0,0,0);
        border-radius: var(--border-radius);
        background-color: #323232;
        height:100%;
        cursor:pointer;
    }
        #blog-detail .related-blogs .related-blog:hover {
            box-shadow: 0px 0px 30px 0px rgba(0,0,0, 0.4);
            border-color: var(--primary);
        }
        #blog-detail .related-blogs .related-blog > div {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap:wrap;
        }


#blog-detail .related-blogs .related-blog .image {
    width: 10rem;
    height: 10rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

            #blog-detail .related-blogs .related-blog .image > img {
                width:100%;
                height:100%;
                object-fit:cover;
                object-position:center;
            }
    #blog-detail .related-blogs .related-blog:hover .image > img {
        transform: scale(1.05);
        filter: grayscale(0%);
        -webkit-filter: grayscale(0%);
    }

#blog-detail .related-blogs .related-blog .content {
    width: calc(100% - 10rem - 1.5em);
    display: flex;
    justify-content: start;
    align-items: start;
    flex-wrap: wrap;
}

            #blog-detail .related-blogs .related-blog .content > span.blog-subtitle {
                display: inline-block;
                border-radius: var(--border-radius);
                padding: 0.15em 0.9em;
                font-size: 0.8em;
                font-weight: 400;
                color: var(--primary);
                margin-bottom: 0.4em;
                background-color: rgba(57, 150, 139, 0.1);
            }

            #blog-detail .related-blogs .related-blog .content > h3 {
                margin: 0;
                margin-bottom: 0px;
                font-size: 1.1em;
                font-weight: 500;
                text-align: right;
                width:100%;
            }

            #blog-detail .related-blogs .related-blog .content > p {
                margin: 0;
                font-size: 0.95em;
                font-weight: 100;
                color: var(--white-light);
                text-align: right;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
                width: 100%;
            }

            #blog-detail .related-blogs .related-blog .content > span.blog-date {
                display: block;
                font-size: 0.8em;
                color: var(--white-light);
                opacity: 0.8;
                margin-top: 1em;
                text-align: left;
                margin-right:auto;
            }

        #blog-detail .related-blogs .related-blog a {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: transparent;
            opacity:0;
        }

@media (max-width:1400px) {
}

@media (max-width:1200px) {
}

@media (max-width:992px) {
    #blog-detail .images .image-item {
        width: 50%;
    }
    #blog-detail .related-blogs .related-blog{
        width:100%;
    }
}

@media (max-width:768px) {
    main h1.top-seprator::before {
        display: none;
    }

    main section .categories {
        font-size: 0.95em;
    }
    /*
    main section#blogs .blog {
        width: calc(50% - 2em);
    }*/

    #blog-detail .features .feature {
        width: 100%;
    }
}

@media (max-width:576px) {
    main section .categories {
        font-size: 0.9em;
    }
    #blog-detail #banner .banner-main > h1,
    #blog-detail p,
    #blog-detail ul,
    #blog-detail h2,
    #blog-detail h3 {
        text-align: center;
    }
    /*    main section#blogs .blog {
        width: 100%;
        padding-right: 0;
        padding-left: 0;
    }
*/
    #blog-detail .images .image-item {
        width: 100%;
    }

        #blog-detail .images .image-item > div {
            width: 100%;
        }
    #blog-detail .related-blogs .related-blog .image{
        width:100%;
        margin-bottom:1em;
    }
    #blog-detail .related-blogs .related-blog .content{
        width:100%;
    }
        #blog-detail .related-blogs .related-blog .content > span.blog-subtitle,
        #blog-detail .related-blogs .related-blog .content > h3,
        #blog-detail .related-blogs .related-blog .content > p,
        #blog-detail .related-blogs .related-blog .content > span.blog-date {
            text-align: center;
            margin-right: auto;
            margin-left: auto;
        }
}

@media (max-width:450px) {
}
