/*
Theme Name: Nirweb Blog Hamsaz
Theme URI: https://nirweb.ir/
Author: the Nirweb team
Author URI: https://nirweb.ir/
Description:
Requires at least: 6.4
Tested up to: 6.4
Requires PHP: 7.4
Version: 1.0
*/


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Estedad, serif;
}

:root {
    --Border-Dark: #CBCDCD;
    --Border-Regular: #DEDFDF;
    --Background-Primary-Button: #EFFAFE;
    --Text-Darkest: #191A1A;
    --Key-Primary-Primary: #10A1D5;
    --Text-Dark: #242525;
    --Text-Light: #999D9C;
    --Background-Dark: #ECEDED;
}

body {
    background-color: #FFFFFF;
}

a {
    text-decoration: none;
}

.gap_c5 {
    column-gap: 5px;
}

.gap_r5 {
    row-gap: 5px;
}

.gap_c10 {
    column-gap: 10px;
}

.gap_r5 {
    row-gap: 10px;
}

.fit {
    width: fit-content;
}

/********** header ***********/
header {
    background-color: #ffffff;
    box-shadow: 0 4px 10px 0 #191A1A1A;
    padding: 5px 0;
    position: relative;
}

.nirweb_header_search_icon_mobile{
    background: #ffffff;
    border: none;
    padding: 5px;
}

.nw_site_logo {
    max-width: 100%;
    height: auto;
    max-height: 90px;
}

.nw_search_icon {
    padding: 7px;
    margin-left: 30px;
    cursor: pointer;
}

.nw_call_us_icon {
    margin-left: 20px;
}

header .nw_main_menu ul {
    list-style: none;
    display: flex;
    align-items: center;

}

.nw_main_menu ul li {
    margin-left: 10px;
}

.nw_main_menu ul li a {
    padding: 5px;
    color: #191A1A;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    transition: all 0.2s linear;
}

.nw_main_menu ul li.current-menu-item a, .nw_main_menu ul li a:hover {
    color: var(--Key-Primary-Primary, #10A1D5);

}

.nirweb_header_search_form {
    width: 100%;
    position: relative;
    max-width: 220px;
}

.nirweb_header_search_form input {
    width: 100%;
    height: 56px;
    border: 1px solid var(--Border-Regular, #DEDFDF);
    border-radius: 8px;
    padding: 10px 56px 10px 10px;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    text-align: right;

}

.nirweb_header_search_form input::placeholder {
    color: #999D9C;
}

.nirweb_header_search_form button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    cursor: pointer;
}

/********** archive ***********/
.nw_archive_post_sec {
    margin: 150px 0;
}

.nwhamsaz_archive_main_box {
    border: 1px solid var(--Border-Dark);
    padding: 20px 10px;
    border-radius: 8px;
}

/********* breadcrumb **********/
.nirshop_breadcrumb li {
    font-weight: 500;
}

.nirshop_breadcrumb span {
    font-weight: 300;
    /*color: #FFFFFF;*/
}

.nw_single_blog_sec .nirshop_breadcrumb span {
    font-weight: 300;
    color: #FFFFFF;
}


.nirshop_breadcrumb {
    list-style: none;
    display: flex;
    margin-bottom: 20px;
}

.nirshop_breadcrumb li:not(:last-child)::after {
    margin-right: 6px;
    margin-left: 6px;
    content: ">";
}

.nirshop_breadcrumb li a span {
    color: var(--Text-Dark);
    font-size: 14px;
    font-weight: 400;
}

.nirshop_breadcrumb .breadcrumbs__current {
    color: var(--Text-Light);
    font-size: 14px;
    font-weight: 400;
}

/********* single page **********/
.nwhamsaz_main_single {
    margin-top: 50px;
    margin-bottom: 30px;
}
.nirweb_related_articles_section{
    margin-top: 100px;
    margin-bottom: 120px;
}
.nirweb_related_articles_section h2{
    margin-bottom: 32px;
    padding-bottom: 15px;
    color: var(--Text-Darkest);
    font-weight: 800;
    font-size: 30px;
    border-bottom: 3px solid var(--Key-Primary-Primary);
}
.nwhamsaz_main_single_box {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--Border-Dark);
    margin-left: 20px;
    border-radius: 8px;
    padding: 15px;
}

.nwhamsaz_main_single_box h1 {
    margin: 15px 0;
    color: var(--Text-Dark);
    font-size: 32px;
    font-weight: 800;
}

.nwhamsaz_main_single_box > img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.nwhamsaz_sidebar_single {
    margin-right: 20px;
}

.nwhamsaz_main_single_box_link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 5px;
    color: var(--Key-Primary-Primary);
    font-size: 20px;
    font-weight: 700;
    width: fit-content;
}

.nwhamsaz_main_single_box_under_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.nwhamsaz_main_single_box_under_title p {
    border-left: 1px solid var(--Border-Dark);
    padding-left: 10px;
    margin-left: 10px;
    color: var(--Text-Dark);
    font-size: 14px;
    font-weight: 400;
}

.nwhamsaz_main_single_box_under_title p:last-child {
    border: none;
    padding: 0;
}

.nw_single_blog_shortcode_div {
    background-color: var(--Background-Dark);
    border-radius: 16px;
    width: 100%;
    margin: 15px 0;
}

.nw_single_blog_shortcode {
    width: 100%;
    padding: 10px 20px;
    column-gap: 10px;
    position: relative;
}

.nw_single_blog_shortcode::before {
    content: "";
    position: absolute;
    top: 0;
    right: -5px;
    width: 40px;
    height: 75px;
    background-color: var(--Key-Primary-Primary);
    z-index: -1;
    border-radius: 16px;
}

.nw_single_blog_shortcode h3 {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
}

.nw_single_blog_shortcode a {
    font-size: 18px;
    font-weight: 700;
    color: var(--Key-Primary-Primary);
    text-decoration: underline;
}

.nw_single_blog_shortcode img {
    width: 55px;
    height: 55px;
    border-radius: 8px;
}

.nwhamsaz_single_content {
    margin: 25px 0;
}

.nwhamsaz_single_content ul{
    padding-right: 18px;
}
.nwhamsaz_single_content ol{
    padding-right: 18px;
}

.nirweb_single_after_content {
    margin: 35px 0 0 0 !important;
    padding: 15px 0;
    border-top: 3px solid var(--Border-Dark, #CBCDCD);
}

.nirweb_single_after_content_meta {
    padding: 0 !important;
}

.nirweb_single_after_content_meta p {
    border-left: 1px solid var(--Border-Dark);
    padding-left: 10px;
    margin-left: 10px;
    color: var(--Text-Dark);
    font-size: 14px;
    font-weight: 400;
}

.nirweb_single_after_content_meta p:last-child {
    border: none;
    padding: 0;
}

.nirweb_single_after_content_tags {
    padding: 0 !important;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.nirweb_single_after_content_tags h2 {
    font-size: 16px;
    color: #242525;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nirweb_single_after_content_tags ul {
    list-style: none;
    display: flex;
    align-items: center;
}

.nirweb_single_after_content_tags a {
    padding: 2px 4px;
    background: #EFFAFE;
    color: #242525;
    text-decoration: none;
    margin-left: 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;

}

.nirweb_single_shear_btn {
    border: var(--Key-Primary-Primary) solid 1px;
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--Key-Primary-Primary);
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    width: max-content;
    background-color: #ffffff;
    font-weight: 400;
    cursor: pointer;
}

.nirweb_comment_list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nirweb_comment_list li {
    border-top: 1px solid var(--Border-Dark, #CBCDCD);
    margin-bottom: 20px;
    padding-top: 15px;
}

.nirweb_comment_list li:first-child {
    border-top: none;
}


.nirweb_comment_list .author_name {
    font-size: 16px;
    font-weight: 700;
    line-height: 28px;
    text-align: right;
    color: #000000;
    margin-bottom: 8px;
}
.nirweb_comment_list ul{
    padding-right: 40px;
    list-style: none;
}
.nirweb_comment_list ul .comment_author_name{
    border-right: 3px solid #F09400;
    padding-right: 8px;
    margin-bottom: 8px;
}
.comment-meta {
    color: #242525;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: right;

}

.comment-text {
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    text-align: justify;

}
.nirweb_comment_list > li:nth-child(n+4) {
    display: none;
}
.nirweb_comment_list_load_more{
    border-top: 1px solid var(--Border-Dark, #CBCDCD);
    padding-top: 16px;
    display: flex;
    align-items: center;

}
.nirweb_comment_list_load_more button{
    border: 1px solid var(--Key-Primary-Primary, #10A1D5);
    color: var(--Key-Primary-Primary);
    background: #ffffff;
    padding: 12px 24px;
    margin: auto;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: right;
border-radius: 8px;
    cursor: pointer;
}
.nirweb_comment_list .reply_info{
    color: #999D9C;
    font-size: 14px;
    font-weight: 400;
    line-height: 30px;
    text-align: right;
    margin-top: -10px;

}
.nirweb_comment_list .reply {
    margin-top: 10px;
    color: var(--Key-Primary-Primary, #10A1D5) !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reply a {
    font-size: 13px;
    color: #00a4e4;
    text-decoration: none;
}

.reply a:hover {
    text-decoration: underline;
}

/********* sidebar **********/
.hamsaz_most_view_post, .hamsaz_offers_post, .hamsaz_menu_post {
    border-radius: 8px;
    border: 1px solid var(--Border-Dark);
    padding: 15px;
    margin-bottom: 20px;
}

.hamsaz_most_view_post h3, .hamsaz_offers_post h3, .hamsaz_menu_post h3 {
    margin-top: 20px;
    padding-bottom: 15px;
    color: var(--Text-Darkest);
    font-weight: 800;
    font-size: 30px;
    border-bottom: 3px solid var(--Key-Primary-Primary);
}

.hamsaz_most_view_post_row_box {
    margin-top: 20px;
}

.hamsaz_most_view_post_row_box img {
    width: 111px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
}

.hamsaz_most_view_post_row_box .inner_box {
    margin-right: 15px;
}

.hamsaz_most_view_post_row_box .inner_box a {
    color: var(--Text-Dark);
    font-weight: 700;
    font-size: 20px;
}

.hamsaz_most_view_post_row_box .inner_box p {
    color: var(--Text-Dark);
    font-size: 14px;
    font-weight: 400;
}

.hamsaz_most_view_post_row_box .inner_box p:first-child {
    border-left: 1px solid var(--Border-Dark);
    padding-left: 10px;
    column-gap: 5px;
}

/*********** table of content **************/
.nirweb_table_of_content {
    border: 1px solid #e5e5e5;
    padding: 20px;
    border-radius: 10px;
    background-color: #ffffff;
    font-family: 'IRANSans', sans-serif; /* تغییر فونت در صورت نیاز */
}

.nirweb_table_of_content h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
    width: 100%;
}

.nirweb_table_of_content h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--Key-Primary-Primary); /* خط زیر عنوان */
}

.nirweb_table_of_content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nirweb_table_of_content li {
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 8px;
}

.nirweb_table_of_content li a {
    text-decoration: none;
    color: #242525;
    font-size: 16px;
    font-weight: 700;
}

.nirweb_table_of_content .toc-bullet {
    width: 16px;
    height: 16px;
    background-color: var(--Key-Primary-Primary);
    border-radius: 4px;
}

.nirweb_table_of_content_widget {
    border: none;
    padding: 0;
    border-radius: 10px;
    background: none;
}

/*********  single faq ***********/
.nirweb_single_faq {
    padding: 10px;
}

.nirweb_single_faq h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
    width: 100%;
}

.nirweb_single_faq h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--Key-Primary-Primary); /* خط زیر عنوان */
}

.nirweb_single_faq h3 {
    font-weight: 700;
    font-size: 16px;
    color: #242525;
    margin-bottom: 5px;
    margin-top: 10px;
}

.nirweb_single_faq p {
    font-weight: 400;
    font-size: 16px;
    color: #242525;
    text-align: justify;
}

/******** comment form ********/
.nirweb_single_comment_form {
    margin-top: 45px;
    border: 1px solid var(--Border-Dark);
    margin-left: 20px;
    border-radius: 8px;
    padding: 15px;
}

.nirweb_single_comment_form .logged-in-as {
    font-size: 15px;
    margin-bottom: 16px;
}

.nirweb_single_comment_form .logged-in-as a {
    color: var(--Key-Primary-Primary);
}

.nirweb_single_comment_form h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
    width: 100%;
}

.nirweb_single_comment_form h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--Key-Primary-Primary); /* خط زیر عنوان */
}

.nirweb_single_comment_form .comment_form_author {
    order: -1;
}

.nirweb_single_comment_form .comment_form_email {
    order: -1;
}

.nirweb_single_comment_form .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.nirweb_single_comment_form #wp-comment-cookies-consent {
    width: 15px;
    height: 15px;
    margin: 0;
}

.nirweb_single_comment_form input, .nirweb_single_comment_form textarea {
    width: 100%;
    border: 1px solid var(--Border-Regular, #DEDFDF);
    height: 56px;
    max-width: 100%;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 16px;
    font-size: 16px;
}

.nirweb_single_comment_form textarea {
    margin-bottom: 6px;
    height: 60px;
}

.nirweb_single_comment_form input[type='submit'] {
    height: max-content;
    width: max-content;
    padding: 8px 24px;
    border-radius: 8px;
    background-color: var(--Key-Primary-Primary);
    color: #ffffff;
    border: none;
    float: left;
    cursor: pointer;
}

/******** comment list ********/
.nirweb_single_comment_list {
    margin-top: 45px;
    border: 1px solid var(--Border-Dark);
    margin-left: 20px;
    border-radius: 8px;
    padding: 15px;
}

.nirweb_single_comment_list h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
    width: 100%;
}

.nirweb_single_comment_list h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--Key-Primary-Primary); /* خط زیر عنوان */
}

/********************************/
/*            home             */
/*****************************/
.hamsaz_sidebar_link_tag{
    display: flex;
    align-items: center;
    gap: 8px;
    color: #242525;
    font-size: 16px;
    font-weight: 700;
    line-height: 28px;
    margin-top: 16px;
}
.hamsaz_sidebar_link_tag:last-child{
    margin-bottom: 16px;
}
.nirweb_top_post_slider {
    margin-bottom: 120px;
}
.swiper_pagination_top_slider {
    text-align: center;
}
.nirweb_top_post_slider_box {
    height: 430px;
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center center;

}

.nirweb_top_post_slider_box_back {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 23%, #000000 84.88%);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9;
}

.nirweb_top_post_slider_box_content {
    display: flex;
    flex-direction: column;
    justify-content: end;
    color: #ffffff;
    height: 100%;
    width: 100%;
    z-index: 10;
    position: relative;
    padding: 20px;
}

.nirweb_top_post_slider_box_content h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 34px;
    text-align: justify;
    margin-bottom: 4px;
    color: #ffffff;
}

.nirweb_top_post_slider_box_content .post_slider_category {
    font-size: 18px;
    font-weight: 700;
    line-height: 30px;
    text-align: right;
    color: var(--Key-Primary-Primary, #10A1D5);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.nirweb_top_post_slider_box_content .post_slider_meta {
    display: flex;
    align-items: center;
}

.nirweb_top_post_slider_box_content .post_slider_meta p {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: right;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 8px;
    margin-left: 8px;
}

.nirweb_top_post_slider_box_content .post_slider_meta .post_slider_date {
    padding-right: 0;
    border-left: solid 1px #ffffff;
}

/***/
.nirweb_home_categories {
    margin-bottom: 140px;
}

.nirweb_home_category_col {
    width: 20%;
    padding: 10px;
}

.nirweb_home_category_box img {
    width: 100%;
    border-radius: 8px 8px 0 0;
    z-index: 8;
    position: relative;
}

.nirweb_home_category_box h3 {
    background: #EFFAFE;
    border-radius: 0 0 8px 8px;
    color: #04242F;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    text-align: center;
    padding: 8px;
    margin-top: -20px;
    z-index: 9;
    position: relative;
}

/***/
.nirweb_home_new_posts {
    background: var(--Background-Primary-Button, #EFFAFE);
    margin-bottom: 120px;
    padding: 40px 15px 100px 15px;
}

.nirweb_home_new_posts h2 {
    font-size: 32px;
    font-weight: 800;
    line-height: 54px;
    color: #191A1A;
    position: relative;
    padding: 16px 0;
    border-bottom: 3px solid var(--Key-Primary-Primary, #10A1D5);
    margin-bottom: 32px;
}

.nirweb_home_new_posts_box img {
    width: 100% !important;
    border-radius: 8px;
    margin-bottom: 15px;
    height: 250px;
    object-fit: cover;
}

.nirweb_home_new_posts_box_content {
    display: flex;
    flex-direction: column;
    justify-content: end;
    color: #242525;
    height: 100%;
    width: 100%;
    z-index: 10;
    position: relative;
}

.nirweb_home_new_posts_box_content h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 34px;
    text-align: justify;
    margin-bottom: 4px;
    color: #242525;
    margin-top: 16px;
}

.nirweb_home_new_posts_box_content .post_slider_category {
    font-size: 18px;
    font-weight: 700;
    line-height: 30px;
    text-align: right;
    color: var(--Key-Primary-Primary, #10A1D5);
    display: flex;
    align-items: center;
    gap: 8px;

}

.nirweb_home_new_posts_box_content .post_slider_meta {
    display: flex;
    align-items: center;
}

.nirweb_home_new_posts_box_content .post_slider_meta p {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: right;
    color: #242525;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 8px;
    margin-left: 8px;
}

.nirweb_home_new_posts_box_content .post_slider_meta .post_slider_date {
    padding-right: 0;
    border-left: 1px solid #ECEDED
}

.nirweb_home_new_posts_excerpt {
    margin-top: 6px;
}

/***/
.nirweb_home_box_content {
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--Border-Dark, #CBCDCD);
    margin-bottom: 40px;
}


.nirweb_home_box_content h2 {
    font-size: 24px;
    font-weight: 800;
    line-height: 54px;
    padding: 16px 0;
    border-bottom: 3px solid var(--Key-Primary-Primary, #10A1D5);
    margin-bottom: 32px;
}

.nirweb_home_box_content_half h2 {
    font-size: 24px;
}

.nirweb_home_content_posts_box {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 10px;
}

.nirweb_home_box_content_full {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    padding-left: 20px;
}

.nirweb_home_content_posts_box .box_image {
    padding: 10px 0 10px 20px;
}

.nirweb_home_content_posts_box img {
    width: 110px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    /*margin-bottom: 15px;*/
    /*margin-left: 20px;*/

}

.nirweb_home_box_content_full .box_image {
    padding: 0;

}

.nirweb_home_box_content_full img {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    /*margin-left: 0;*/
}


.nirweb_home_content_posts_box_content {
    display: flex;
    flex-direction: column;
    justify-content: end;
    color: #242525;
    width: 100%;
    z-index: 10;
    position: relative;
}

.nirweb_home_box_content_full h3 {
    margin-top: 15px;
}

.nirweb_home_content_posts_box_content h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 34px;
    margin-bottom: 4px;
    color: #242525;

}

.nirweb_home_content_posts_box_content .post_slider_category {
    font-size: 18px;
    font-weight: 700;
    line-height: 30px;
    text-align: right;
    color: var(--Key-Primary-Primary, #10A1D5);
    display: flex;
    align-items: center;
    gap: 8px;

}

 .post_slider_meta {
    display: flex;
    align-items: center;
}

 .post_slider_meta p {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: right;
    color: #242525;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 8px;
    margin-left: 8px;
}

 .post_slider_meta .post_slider_date {
    padding-right: 0;
    border-left: 1px solid #ECEDED
}

/*.nirweb_home_new_posts_excerpt{*/
/*    margin-top: 6px;*/
/*}*/

/******* footer ********/
.nirweb_newsletter_box {
    box-shadow: 0px 0px 10px 0px #0000001A;
    border-radius: 13px;
    margin: 40px auto;
    padding: 15px;
}

.nirweb_newsletter_box img {
    max-width: 130px;
    margin-left: 16px;
}

.nirweb_newsletter_box h3 {
    font-size: 24px;
    font-weight: 800;
    line-height: 40px;
    text-align: right;
    color: #191A1A;
    margin-bottom: 8px;
}

.nirweb_newsletter_box p {
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    text-align: right;
}

.nirweb_newsletter_box_text {
    display: flex;
    align-items: center;
}

.nirweb_newsletter_field_box {
    display: flex;
    justify-content: end;
    align-items: center;
    height: 100%;
    gap: 16px;
}

.nirweb_newsletter_field_box button {
    background: var(--Key-Primary-Primary, #10A1D5);
    padding: 16px 24px;
    border-radius: 8px;
    border: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    cursor: pointer;
}

.nirweb_newsletter_field_box .input_box {
    width: 60%;
    position: relative;
}

.nirweb_newsletter_field_box .input_box span {
    width: 0%;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-28%);
    height: max-content;
}

.nirweb_newsletter_field_box input {
    height: 56px;
    border: 1px solid var(--Border-Regular, #DEDFDF);
    background: #ffffff;
    border-radius: 8px;
    width: 100%;
    padding-right: 56px;
    padding-left: 10px;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
}

footer {
    background: #F7F7F7;
    padding: 40px 15px;
}

.hamsaz_footer_col h3.widget-title {
    color: #191A1A;
    font-size: 18px;
    font-weight: 700;
    line-height: 30px;
    text-align: right;
    margin-bottom: 15px;
}

.hamsaz_footer_col ul {
    list-style: none;
}

.hamsaz_footer_col ul li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.hamsaz_footer_col ul li a {

    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    text-align: right;
    color: #191A1A;
}

.nirweb_box_footer_licenses {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    border: 1px solid var(--Border-Dark, #CBCDCD);
    margin: 0 0 8px 8px;
    padding: 4px;
}

.nirweb_box_footer_licenses img {
    max-width: 100%;
    max-height: 100%;
}

/***/
.social-media-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;

}

.social-media {
    display: flex;
    gap: 10px;
}

.social-media img {
    width: 33px;
    height: 33px;
}

.divider {
    flex-grow: 1;
    border-bottom: 1px solid var(--Border-Dark, #CBCDCD);
    margin: 0 20px;
}

.follow-text a {
    color: var(--Key-Primary-Primary, #10A1D5);
    font-size: 16px;
    font-weight: 700;
    line-height: 28px;
}

.follow-text a:hover {
    text-decoration: underline;
}

.nirweb_footer_bottom_text h3 {
    color: #000000;
    font-size: 18px;
    font-weight: 700;
    line-height: 30px;
    margin-bottom: 15px;
}

.nirweb_footer_bottom_text p {
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    text-align: justify;
    color: #191A1A;
}

.nirweb_footer_bottom_text p a {
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    text-align: right;
    color: var(--Key-Primary-Primary, #10A1D5);
    display: inline-flex;
    align-items: center;
}

/***********
archive
**************/
.nirweb_pagination_base{
    margin-bottom: 40px;
}
.nirweb_pagination{
    display: flex;
    justify-content: center;
    gap: 15px;


}
.nirweb_pagination > *{
    width: 25px;
    height: 25px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--Text-Light, #999D9C);
}
.nirweb_pagination span{
    background: var(--Key-Primary-Primary);
    color: #ffffff;
}
.nirweb_archive_posts_box img {
    width: 100% !important;
    border-radius: 8px;
    margin-bottom: 15px;
}
.nirweb_archive_posts_box{
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #CBCDCD;
}
.nirweb_archive_posts_box:last-child{
    border-bottom: none;
}
.nirweb_archive_posts_image_box{
    width: 50%;
    padding: 10px;

}
.nirweb_archive_posts_image_box img{
    margin: 0;
}
.nirweb_archive_posts_box_content {
    display: flex;
    flex-direction: column;
    justify-content: end;
    color: #242525;
    height: 100%;
    padding: 10px;
    z-index: 10;
    position: relative;
    width: 50%;
}

.nirweb_archive_posts_box_content h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 34px;
    text-align: justify;
    margin-bottom: 4px;
    color: #242525;
    margin-top: 16px;
}

.nirweb_archive_posts_box_content .post_slider_category {
    font-size: 18px;
    font-weight: 700;
    line-height: 30px;
    text-align: right;
    color: var(--Key-Primary-Primary, #10A1D5);
    display: flex;
    align-items: center;
    gap: 8px;

}

.nirweb_archive_posts_box_content .post_slider_meta {
    display: flex;
    align-items: center;
}

.nirweb_archive_posts_box_content .post_slider_meta p {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: right;
    color: #242525;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 8px;
    margin-left: 8px;
}

.nirweb_archive_posts_box_content .post_slider_meta .post_slider_date {
    padding-right: 0;
    border-left: 1px solid #ECEDED
}


/*************************************************************/
/* منوی سایت */
/*************************************************************/

.nirweb_main_menu_descktop ul li {
    position: relative;
}

.nirweb_main_menu_descktop ul .menu-item-has-children {
    margin-left: 20px;
}


.nirweb_main_menu_descktop ul .menu-item-has-children:after {
    position: absolute;
    content: "";
    width: 7px;
    height: 7px;
    border: 2px solid black;
    border-right: 0px;
    border-top: 0px;
    transform: rotate(316deg);
    top: 10px;
}

.nirweb_main_menu_descktop ul li ul  .menu-item-has-children:after {
    position: absolute;
    content: "";
    width: 7px;
    height: 7px;
    border: 2px solid black;
    border-right: 0px;
    border-top: 0px;
    transform: rotate(46deg);
    top: 10px;
}


.nirweb_main_menu_descktop ul li{
    position: relative;
    z-index: 100;
}

.nirweb_main_menu_descktop ul li > ul {
    display: none;
    position: absolute;
    opacity: 0;
    /*visibility: hidden;*/
    transition: all ease 0.3s;
}

.nirweb_main_menu_descktop ul li ul {
    background-color: #fff;
    border-radius: 3px;
    width: calc(100% + 50px);
    border: 1px rgba(0, 0, 0, 0.12) solid;
}

.nirweb_main_menu_descktop ul li ul li{
    width: 100%;
    margin: 5px 0px;

}
.nirweb_main_menu_descktop ul li ul li ul{
    width: 100%;
}

.nirweb_main_menu_descktop ul li:hover > ul {
    display: block;
    opacity: 1;
    /*visibility: visible;*/
    transition: all ease 0.3s;
}

.nirweb_main_menu_descktop ul li ul li ul {
     right: 100%;
     top: 0px;
}

.nirweb_bazsazi_nosazi_amlak {
    padding: 0px;
}

.nirweb_dont_show_chirden ul li ul{
    display: none;
}

.nirweb_title_post_ {
    padding-left: 20px;
}

.nirweb_home_new_posts_excerpt {
    padding-left: 10px;
}


@media (max-width: 767px) {

    .nirweb_bazsazi_nosazi_amlak {
        padding: 0px !important;
    }

}




















