.single-main {
    padding-top: 164px;
}
.single-bg {
    background: url("../img/AFS.png");
    background-position: bottom;
    position: absolute;
    top: 0;
    right: 0;
    min-height: 200px;
    width: 100%;
}
.single-date {
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.single-date i {
    color: var(--color4);
    font-size: 15px;
    background: #fff;
    width: 28px;
    height: 28px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-top: -4px;
    border-radius: 100%;
}
.single-content {
    margin-bottom: 14px;
}
.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-direction: row;
    padding-bottom: 24px;
}
.category_post > i {
    color: var(--color4);
    font-size: 15px;
    background: #fff;
    width: 28px;
    height: 28px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
}
.share-title {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 14px;
    color: #fff;
    font-family: var(--med_font);
}
.thumbnail-post-img {
    position: relative;
}
.thumbnail-post-img img {
    border-radius: 24px;
    width: 100%;
}
.category_post {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 6px;
    font-family: var(--bold_font);
}
.category_post a {
    color: #fff;
    font-size: 14px;
    line-height: 32px;
    position: relative;
    padding-top: 4px;
}
.category_post a:hover {
    color: var(--color4);
}
.category_post a:not(:last-child)::after {
    content: '-';
    margin-left: 6px;
}
.tags_post {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 6px;
}
.tags_post i {
    color: #fff;
    font-size: 15px;
    background: var(--color4);
    width: 28px;
    height: 28px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
}
/* width */
.tags_post::-webkit-scrollbar {
    height: 4px !important;
    width: 3px !important;
}
/* Track */
.tags_post::-webkit-scrollbar-track {
    background: #eae8e4 !important;
    height: 4px !important;
}
/* Handle */
.tags_post::-webkit-scrollbar-thumb {
    background: rgb(123, 123, 123) !important;
    height: 4px !important;
}
/* Handle on hover */
.tags_post::-webkit-scrollbar-thumb:hover {
    background: var(--color1);
}
.tags_post a {
    font-size: 14px;
    color: #0B3B22;
    padding-top: 4px;
}
.category_post a:hover {
    color: #2AD46A;
}
.tags_post a:hover {
    color: #2AD46A;
}
.tags_post a:not(:last-child)::after {
    content: '-';
    margin-left: 6px;
}
.section-related .section-title.part-title {
    margin-bottom: 32px;
}
.socials-share .icon-share {
    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    font-size: 21px;
    color: var(--color1);
    transition: 0.4s ease;
    background: var(--color2);
    border-radius: 5px;
}
.socials-share {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: space-between;
    background: var(--color1);
    border-radius: 10px;
    padding: 5px 5px 5px 15px;
}
.socials-share.mobile-share {
    margin: 20px 0 32px;
}
.content-excerpt {
    margin: 12px 0;
}
.single-socials {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
}
.single-socials a {
    display: flex;
    font-size: 20px;
    line-height: 1;
    color: #fff;
}
.single-socials a:hover {
    color: var(--color3);
}
.copy-btn {
    position: relative;
    display: flex;
    font-size: 20px;
    color: #fff;
    line-height: 1;
    cursor: pointer;
    transition: 0.4s ease;
}
.copy-btn:hover {
    color: #fff;
}
.copy-btn i {
    z-index: 2;
}
.copy-btn .tooltip-url {
    position: absolute;
    box-shadow: 0 1px 7px rgba(67, 43, 179, 0.1);
    background: #fff;
    padding: 9px 8px 5px;
    border-radius: 11px;
    bottom: 115%;
    min-width: 75px;
    right: 50%;
    transform: translateX(50%);
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
    white-space: nowrap;
    font-size: 16px;
    direction: ltr;
    color: #000;
    text-align: center;
    z-index: 1;
}
.copy-btn .tooltip-url::before {
    content: '';
    display: block;
    position: absolute;
    right: 50%;
    bottom: -8px;
    width: 0;
    height: 0;
    box-sizing: border-box;
    border: 3px solid #000;
    border-top-color: rgb(0, 0, 0);
    border-right-color: rgb(0, 0, 0);
    border-bottom-color: rgb(0, 0, 0);
    border-left-color: rgb(0, 0, 0);
    border-top-color: rgb(0, 0, 0);
    border-right-color: rgb(0, 0, 0);
    border-bottom-color: rgb(0, 0, 0);
    border-left-color: rgb(0, 0, 0);
    border-top-color: rgb(0, 0, 0);
    border-right-color: rgb(0, 0, 0);
    border-bottom-color: rgb(0, 0, 0);
    border-left-color: rgb(0, 0, 0);
    border-color: #0000 #0000 #fff #fff;
    transform-origin: 0 0;
    transform: rotate(-45deg) translateX(50%);
    box-shadow: -1px 1px 3px 0 rgb(106 137 204 / 19%);
    z-index: 0;
}
.copy-btn:hover .tooltip-url {
    opacity: 1;
    visibility: visible;
}
.copy-btn .tooltip-url:hover {
    opacity: 0;
    visibility: hidden;
}
.caticon {
    cursor: pointer;
    position: absolute;
    left: 13px;
    top: 21px;
    color: var(--color3);
    font-size: 20px;
    transition: 0.4s ease;
    line-height: 1;
    display: flex;
}
.caticon:before {
    content: "\e922";
    font-family: icomoon;
    transition: 0.4s ease;
}
.caticon.active {
    transform: rotate(180deg);
}
.help-heading {
    mask-image: url('../svg/help.svg');
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
    margin-bottom: 12px;
    display: block;
    overflow: hidden;
    background: #fff;
    padding: 16px;
}
.mobile .help-heading {
    margin: 32px 0;
}
.help-heading > span {
    transition: .4s;
    position: relative;
    color: var(--color4);
    cursor: pointer;
    font-family: var(--bold_font);
    mask-image: url('../svg/help-ti.svg');
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
    display: flex;
    overflow: hidden;
    padding: 16px;
    background: #E1E8EB;
    text-align: center;
    width: 100%;
    aspect-ratio: 267 / 79;
    justify-content: center;
    align-items: center;
}
.mobile .help-heading > span {
    text-align: left;
    position: relative;
}
.help-heading .caticon {
    left: 20px;
    top: 27px;
}
.help-heading li:not(:last-child) {
    margin-bottom: 20px;
}
.mobile .help-heading li:not(:last-child) {
    margin-bottom: 10px;
}
.help-heading > ul {
    padding: 28px 20px;
}
.help-heading > ul > li > a {
    position: relative;
    line-height: 32px;
    font-size: 16px;
    font-family: var(--med_font);
    color: var(--color4);
    transition: 0.4s ease;
}
.mobile .help-heading > ul > li > a {
    font-size: 14px;
}
.help-heading a:hover {
    color: var(--color2);
}
.access-post .widget-side {
    display: inline-flex;
    background: #fff !important;
    border: none;
}
.access-post > a {
    transition: .4s;
    position: relative;
    color: var(--color4);
    cursor: pointer;
    font-family: var(--bold_font);
    mask-image: url('../svg/access.svg');
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
    display: flex;
    overflow: hidden;
    padding: 16px;
    background: #fff;
    text-align: center;
    width: 100%; /* Or any desired width */
    aspect-ratio: 299 / 79;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
}
.access-post > a:hover {
    background: var(--color1);
    color: #fff
}
.thumbnail-post-img {
    text-align: center;
    mask-image: url('../svg/blog.svg');
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
    margin-bottom: 20px;
    display: block;
    overflow: hidden;
}
.bottom-single-detail, .top-single-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.bottom-single-detail {
    border-top: 1px solid #66686933;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    justify-content: flex-start;
    align-items: flex-start;
}
.bottom-single-detail .blog-date {
    font-size: 16px;
}
.section-products {
    position: relative;
    padding-top: 40px;
}
.section-products .bg-pattern {
    top: 0;
}
.section-related {
    position: relative;
    padding: 54px 0;
    overflow: hidden;
}
/*****************
   product
****************/
.product-inner {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-direction: column;
}
.swiper-products-wrap {
    flex: 0 0 100%;
    max-width: 100%;
}
.product-item {
    border-radius: 36px;
    overflow: hidden;
    display: block;
    position: relative;
}
.product-item img {
    width: 100%;
}
.product-body {
    position: absolute;
    color: #fff;
    z-index: 1;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 10px 15px 37px;
}
.product-item::before {
    content: '';
    height: 50%;
    width: 100%;
    background: linear-gradient(359.96deg, rgba(1, 27, 220, 0.58) 22.25%, rgba(0, 0, 0, 0) 99.96%);
    position: absolute;
    bottom: 0;
    transition: 0.4s ease;
}
.product-item:hover::before {
    height: 100%;
}
.product-content {
    margin-top: 16px;
    text-align: center;
}
.product-content .btns-wrap {
    justify-content: center;
}
.product-body .title {
    font-size: 26px;
    line-height: 41px;
}
.product-body .title-en {
    font-size: 25px;
    color: #ffffffa8;
}
.product-body::after {
    content: '';
    width: 40px;
    height: 3px;
    background: #fff;
    display: block;
    border-radius: 8px;
    margin: auto;
}
.single-title .title-heading {
    font-size: clamp(26px, 2vw, 32px);
    margin-bottom: 16px;
    line-height: 44px;
    color: #fff;
}
.sidebar-banner img {
    width: 100%;
}
.sidebar-banner {
    margin-bottom: 20px;
    display: block;
    border-radius: 45px;
    overflow: hidden;
}
.author-box {
    background-color: rgb(215, 227, 229);
    padding: 14px;
    border-radius: 24px;
    max-width: 100%;
    direction: ltr;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 16px;
}
.author-meta {
    text-align: left;
}
.author-meta strong {
    display: block;
    font-size: 16px;
}
.author-meta p {
    margin: 0;
    font-size: 14px;
    line-height: 28px;
    color: rgb(17, 17, 17)
}
.author-avatar img {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    object-fit: cover;
    background: #fff;
}
.newsletter-box {
    border: 1px solid rgba(178, 125, 52, 1);
    border-radius: 24px;
    padding: 45px 21px;
    display: flex;
    gap: 24px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    margin: 32px 0;
}
.newsletter-box::before, .newsletter-box::after {
    content: "\e91b";
    font-family: 'icomoon';
    color: var(--color3);
    position: absolute;
    right: 0;
    font-size: 41px;
}
.newsletter-box::after {
    right: unset;
    left: 0;
    transform: rotateY(180deg);
}
.mobile .newsletter-box::before,
.mobile .newsletter-box::after {
    top: -37px;
    right: 50%;
    transform: rotate(-90deg);
}
.mobile .newsletter-box::after {
    right: 50%;
    left: unset;
    transform: rotate(90deg);
    top: unset;
    bottom: -37px;
}
.newsletter-title .title {
    font-size: 16px;
    line-height: 32px;
}
.newsletter-title .desc {
    font-size: 14px;
    line-height: 28px;
}
#newsletter-form input {
    background: #fff;
    border: 1px solid rgb(245, 245, 245);
    border-radius: 10px;
    min-height: 40px;
    padding: 6px 18px;
    width: 250px;
    transition: 0.4s ease;
    font-size: 14px;
}
#newsletter-form input::placeholder {
    color: rgb(163, 163, 163);
    font-size: 14px;
}
#newsletter-form input:focus {
    border-color: var(--color3);
}
#newsletter-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    position: relative;
    flex-wrap: wrap;
}
.nws-label {
    font-size: 20px;
    color: var(--color_text);
    line-height: 34px;
}
.button.btn-newsletter {
    min-width: 83px;
    background: var(--color3);
    border-color: var(--color3);
}
.button.btn-newsletter:hover {
    background: var(--color1);
    border-color: var(--color1);
}
#newsletter-form .alert,
#newsletter-form label.error {
    position: absolute;
    right: 0;
    bottom: -22px;
    z-index: 2;
    font-size: 12px;
    color: #ff1540;
    background-color: unset;
}
#newsletter-form .alert.bg-primary {
    color: #00c4ff;
}
#newsletter-form .alert {
    padding: 0;
    margin: 0;
    background: none !important;
}
@media screen and (min-width: 768px) {
    .newsletter-box {
        padding: 12px 31px 12px 41px;
        justify-content: space-between;
        align-items: center;
        flex-direction: row;
        text-align: left;
    }
    .single-title .title-heading {
        margin-bottom: 20px;
    }
    .help-heading .caticon {
        left: 26px;
    }
    .thumbnail-img {
        max-width: 50%;
        float: left;
        margin-right: 30px;
    }
    .blog-meta {
        padding-bottom: 49px;
    }
    .bottom-single-detail, .top-single-detail {
        justify-content: space-between;
        flex-direction: inherit;
        align-items: center;;
    }
    .thumbnail-post-img {
        margin-top: 0;
    }
    .product-inner {
        flex-direction: row;
        gap: 35px;
    }
    .product-content {
        margin-top: 0;
        text-align: left;
    }
    .product-content .btns-wrap {
        justify-content: flex-start;
    }
    .swiper-products-wrap {
        flex: 0 0 68%;
        max-width: 68%;
    }
    .product-content .swiper-navigation {
        right: 0;
        transform: unset;
    }
    .single-main {
        padding-top: 153px;
    }
}
@media screen and (max-width: 767.99px) {
    .tags_post {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 24px;
    }
}
@media screen and (max-width: 430px) {
    #newsletter-form input {
        width: 100%;
    }
}
@media screen and (max-width: 380px) {
    .share-title {
        gap: 6px;
        font-size: 12px;
    }
    .socials-share .icon-share {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
}