form#blog-search-form {
    position: relative;
    height: 50px;
}

input#blog-search {
    width: 400px;
    border-radius: 50px;
    padding: 10px 110px 10px 15px;
    height: inherit;
    border-width: 1px;
}

input#blog-search:focus-visible {
    outline: 0;
}

#blog-search-form button {
    position: absolute;
    height: 100%;
    right: 0;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    border: 1px solid #000;
    border-left: 0;
    background-color: #000;
    padding: 0;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    cursor: pointer;
    transition: 0.3s ease;
}

#blog-search-form button:hover {
    background: #FFF;
}

#blog-search-form button:hover svg {
    filter: opacity(1) invert(1);
}

#blog_archive_filter_tab .blog_filter_tabs {
    list-style: none;
    padding: 0;
    margin-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 7.5px;
}

#blog_archive_filter_tab .blog_filter_tabs li {
    border: 1px solid #000000;
    border-radius: 50px;
    padding: 8px 25px;
    line-height: 20px;
    margin-bottom: 19px;
    background-color: #fff;
    color: #000000;
    cursor: pointer;
    font-size: 16px;
    transition: 0.5s ease all;
    padding-bottom: 10px;
    margin-bottom: 0;
}

#blog_archive_filter_tab .blog_filter_tabs li:hover,
#blog_archive_filter_tab .blog_filter_tabs li.blog_btn_active {
    background-color: #000000;
    color: #fff;
}

#blog_archive_filter_tab .posts-result div#load-more {
    border: 1px solid #000000;
    font-family: "Figtree";
    border-radius: 50px;
    padding: 11px 0px;
    line-height: 20px;
    background-color: transparent;
    color: #000;
    cursor: pointer;
    font-size: 16px;
    transition: 0.5s ease all;
    font-weight: 500;
    display: block;
    margin: auto;
    width: 160px;
    text-align: center;
    margin-top: 15px;
}

#blog_archive_filter_tab .posts-result div#load-more:hover {
    background-color: #000;
    color: #fff;
}

.loader {
    border: 10px solid #e1e1e1;
    border-radius: 50%;
    border-top: 10px solid #000 !important;
    width: 120px;
    height: 120px;
    -webkit-animation: loader 2s linear infinite;
    animation: loader 2s linear infinite;
    display: block;
    margin: auto
}

/* Blog Grid */
.blog_sec_box {
    display: flex;
    padding: 20px 5px;
    gap: 30px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center !important;
}

.blog_sec_box .blog_box_item {
    max-width: 342px;
    flex: 0 30.9%;
    position: relative;
    background-color: #fcfcfc;
    border: 1px solid #dfdede;
    border-radius: 8px;
    padding: 16px;
}

.blog_sec_box .blog_box_item .blog_img a {
    display: block;
}

.blog_sec_box .blog_box_item .blog_img a img {
    width: 100%;
}

.blog_sec_box .blog_box_item .blog_content_sec {
    padding: 10px 5px;
    padding-bottom: 0;
}

.blog_sec_box .blog_box_item .blog_content_sec .blog_cat {
    margin-bottom: 20px;
    margin-top: 5px;
}

.blog_sec_box .blog_box_item .blog_content_sec .blog_cat span {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: #f4476c;
}

.blog_sec_box .blog_box_item .blog_content_sec .blog_title {
    margin-bottom: 20px;
    height: 60px;
}

.blog_sec_box .blog_box_item .blog_content_sec .blog_title a h3 {
    margin-top: 0;
    font-size: 18px;
    font-weight: 500;
    line-height: 27px;
    letter-spacing: .3px;
    margin-bottom: 0;
    color: #000;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    font-family: "Figtree";
}

.blog_sec_box .blog_box_item .blog_content_sec .blog_content p {
    color: #4b4b4b;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.blog_sec_box .blog_box_item .blog_content_sec .blog_author_meta {
    margin-top: 40px;
}

.blog_sec_box .blog_box_item .blog_content_sec .blog_author_meta ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.blog_sec_box .blog_box_item .blog_content_sec .blog_author_meta ul li span {
    color: #878787;
    font-size: 14px;
    line-height: 1;
    font-weight: 400;
    font-family: "Figtree";
}

.blog_sec_box .blog_box_item .blog_content_sec .blog_author_meta ul li span a {
    color: #000;
    font-weight: 500;
}

/* Single Post */
.author--info {
    align-items: center;
}

.author--info .wp-block-post-author__avatar img {
    border-radius: 100%;
}

#blogContents {
    margin-top: 18px;
    /* margin-bottom: 35px; */
}

#blogContents h3 {
    position: relative;
    padding-left: 40px;
    cursor: pointer;
    font-family: "Figtree";
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin-bottom: 28px;
    margin-top: 18px;
}

#blogContents h3::before {
    content: '';
    width: 28px;
    height: 100%;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    left: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Free v7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.--><path d="M96 320C96 302.3 110.3 288 128 288L512 288C529.7 288 544 302.3 544 320C544 337.7 529.7 352 512 352L128 352C110.3 352 96 337.7 96 320z"/></svg>');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

#blogContents h3::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    height: 1px;
    width: 100%;
    background: #e5e5e5;
}

:is(#blogContents, .single_post_content) ul {
    margin: 0 20px;
    padding: 0;
}

:is(#blogContents, .single_post_content) ul li {
    list-style: none;
    position: relative;
    line-height: 20px;
    padding-left: 0;
    margin: 23px;
    margin-bottom: 25px;
}

:is(#blogContents, .single_post_content) ul li:before {
    content: "\2022";
    position: absolute;
    font-weight: 700;
    display: inline-block;
    width: 1.1em;
    margin-left: -1em;
    font-size: 22px;
}

#blogContents ul li:before {
    color: #f4476c;
}

.single_post_content ul li:before {
    color: #343434;
}

#blogContents ul li a {
    font-weight: 500;
    color: #f4476c;
    font-size: 16px;
    font-family: "Figtree";
}

.single-post .single_post_content p:not(:last-child) {
    margin-bottom: 30px;
}

.single-post .single_post_content :is(h2, h3, h4, h5, h6) {
    color: #000;
    font-family: "Figtree";
}

.single-post .single_post_content h2 {
    font-size: 32px;
    line-height: 38px;
    font-weight: 600;
    margin-bottom: 5px;
}

.single-post .single_post_content h3 {
    font-size: 28px;
    line-height: 32px;
    font-weight: 600;
}

.single-post .single_post_content h4 {
    font-size: 24px;
    line-height: 28px;
    font-weight: 600;
}

.single-post .single_post_content blockquote {
    padding: 1.2em;
    margin: 1.5em 1em 1.5em 3em;
    font-style: italic;
    border-left: 5px solid #dfdede;
}

.single-post .single_post_content blockquote p {
    font-size: 16px;
}

.single-post hr.is-style-wide {
    border-top: 2px solid #c3c3c3
}

.share-this-article span.uagb-ss__link {
    border: 1px solid #c3c3c3;
    border-radius: 100px;
}

.related_post_sec .related_post_sec_box .related-blogs-heading {
    text-align: center;
    font-size: 32px;
    color: #000;
    margin: 0;
    font-family: "Figtree";
    font-weight: 700;
}

.related_post_sec .related_post_sec_box .related-posts-wrapper {
    display: flex;
    padding: 20px 5px;
    gap: 3%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.related_post_sec .related_post_sec_box .related_post_box_item {
    flex: 0 30.9%;
    background-color: #fcfcfc;
    border: 1px solid #dfdede;
    border-radius: 8px;
    overflow: hidden;
    padding: 16px;
}

.related_post_sec .related_post_sec_box .related_post_box_item .related_post_img a {
    display: block;
}

.related_post_sec .related_post_sec_box .related_post_box_item .related_post_img a img {
    width: 100%;
}

.related_post_sec .related_post_sec_box .related_post_box_itmm .related_post_content_sec {
    padding: 10px 5px;
    padding-bottom: 0;
}

.related_post_sec .related_post_sec_box .related_post_box_item .related_post_cat a {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: #f4476c;
}

.related_post_sec .related_post_sec_box .related_post_box_item .related_post_title {
    margin-top: 20px;
}

.related_post_sec .related_post_sec_box .related_post_box_item .related_post_title a h3 {
    font-size: 18px;
    font-weight: 500;
    line-height: 27px;
    letter-spacing: .3px;
    margin-bottom: 0;
    color: #000;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    font-family: "Figtree";
    margin-top: 0px;
}

.single-post table {
    border-collapse: separate;
    border-spacing: 0;
    border-width: 1px 0 0 1px;
    margin: 0 0 1.5em;
    width: 100%;
}

.single-post :is(table, td, th) {
    border: 1px solid #dfdede;
}

.single-post :is(td, th) {
    padding: .7em 1em;
    border-width: 0 1px 1px 0;
}

@media only screen and (max-width: 990px) {
    .blog_sec_box .blog_box_item {
        flex: 0 1 47%;
        max-width: unset;
    }

    #blog_archive_filter_tab .blog_filter_tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 20px;
        margin-bottom: 30px;
    }

    #blog_archive_filter_tab .blog_filter_tabs li {
        flex: 2 0 auto;
    }
}

@media only screen and (max-width: 400px) {
    input#blog-search {
        width: 100%;
    }

    #blog-search-form button {
        padding: 6px 14px;
    }

    .blog_sec_box .blog_box_item {
        flex: 0 1 100%;
    }

    .related_post_sec .related_post_sec_box .related-posts-wrapper {
        display: initial;
    }
}

@-webkit-keyframes loader {
    0% {
        -webkit-transform: rotate(0)
    }

    100% {
        -webkit-transform: rotate(360deg)
    }
}

@keyframes loader {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(360deg)
    }
}