@import "reset.css";
@import "font.css";

/**
--------------------------------------------------------------------------------------
------------------------ ************ Public Css ************ ------------------------
--------------------------------------------------------------------------------------
**/

html {
    scroll-behavior: smooth;
}

.pull-left {
    float: left;
}

.pull-right {
    float: right;
}

.container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.container-fluid {
    width: 100%;
}

a {
    text-decoration: none;
    color: #000;
}

body {
    font-family: Estedad;
    background-color: #fafafa;
    overflow-x: hidden;
}

img {
    width: 100%;
    height: auto;
    display: block;
}

input,
textarea,
button {
    font-family: Estedad;
}

#top_header {
    background-color: #044273;
    padding: 6px 0;
}

.today {
    color: #ffffff;
    font-size: 11px;
    float: right;
}

.today img {
    width: 20px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 0 0 10px;
}

.search_icon {
    float: left;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    background-color: transparent;
    cursor: pointer;
}

.search_icon img {
    width: 100%;
    height: 100%;
}

.mobile_menu_toggle {
    display: none;
}

#main_page,
#archive,
#comingsoon,
#footer {
    transition: filter 0.28s ease;
}

.site_search_overlay {
    position: fixed;
    top: 118px;
    right: 0;
    bottom: 90px;
    left: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
}

.search-active .site_search_overlay {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.site_search_box {
    position: relative;
    width: min(640px, 100%);
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 70px rgba(25, 42, 70, 0.18);
    transform: translateY(10px);
    transition: 0.25s ease;
}

.search-active .site_search_box {
    transform: translateY(0);
}

.site_search_close {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background-color: #f1f4f7;
    color: #344054;
    font-size: 24px;
    line-height: 34px;
    cursor: pointer;
    transition: 0.2s ease;
}

.site_search_close:hover {
    background-color: #074c82;
    color: #ffffff;
}

.site_search_form label {
    display: block;
    margin: 0 0 14px 0;
    color: #1f1f1f;
    font-size: 20px;
    font-weight: 700;
}

.site_search_field {
    display: flex;
    gap: 10px;
}

.site_search_field input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #d8e1ea;
    border-radius: 8px;
    background-color: #ffffff;
    color: #222222;
    font-family: Estedad;
    font-size: 15px;
    outline: none;
    transition: 0.2s ease;
}

.site_search_field input:focus {
    border-color: #074c82;
    box-shadow: 0 0 0 3px rgba(7, 76, 130, 0.12);
}

.site_search_field button {
    height: 52px;
    min-width: 112px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background-color: #074c82;
    color: #ffffff;
    font-family: Estedad;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.site_search_field button:hover {
    background-color: #053a64;
}

.search-active #main_page,
.search-active #archive,
.search-active #comingsoon,
.search-active main,
.search-active #main,
.search-active #content {
    filter: blur(6px);
    pointer-events: none;
    user-select: none;
    transition: 0.25s ease;
}

#header {
    background-color: #074c82;
    padding: 12px 0;
}

.logo {
    width: 90px;
    float: right;
}

.main_menu {
    float: right;
    margin: 20px 30px 20px 0;
}

.main_menu ul li {
    position: relative;
    float: right;
    padding: 6px 12px;
}

.main_menu ul li a {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    transition: 0.3s ease;
}

.main_menu ul li:hover > a,
.main_menu ul li.current-menu-item > a,
.main_menu ul li.current-menu-ancestor > a {
    text-shadow: 0 0 5px #000000;
}

.main_menu ul li .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 20;
    min-width: 190px;
    padding: 8px 0;
    border-radius: 6px;
    background-color: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.2s ease;
}

.main_menu ul li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main_menu ul li .sub-menu li {
    width: 100%;
    float: none;
    padding: 0;
}

.main_menu ul li .sub-menu a {
    display: block;
    padding: 8px 14px;
    color: #333333;
    font-size: 13px;
    line-height: 22px;
    white-space: nowrap;
}

.main_menu ul li .sub-menu a:hover {
    background-color: #f4f8fb;
    color: #074c82;
    text-shadow: none;
}

.breadcrumb {
    font-size: 14px;
    margin: 30px 0;
}

.breadcrumb a {
    color: #767676;
    font-weight: 300;
    transition: 0.3s ease;
}

.breadcrumb a:hover {
    color: #000000;
}

.breadcrumb .separator {
    color: #767676;
    font-weight: 300;
    margin: 0 5px;
}

.breadcrumb .current {
    color: #000000;
}

.main_title_page {
    font-size: 40px;
    font-weight: 700;
    line-height: 64px;
}

.main_thumbnail_page {
    margin: 20px 0;
}

.main_thumbnail_page img {
    border-radius: 6px;
}

.main_excerpt_page {
    position: relative;
    padding: 14px 18px 14px 16px;
    border-right: 3px solid #074c82;
    border-radius: 6px;
    background-color: #f4f8fb;
    color: #4f5d68;
    font-size: 15px;
    line-height: 28px;
    font-weight: 400;
    text-align: justify;
    margin: 18px 0 20px 0;
}

.main_excerpt_page:before {
    content: "چکیده";
    display: inline-block;
    margin: 0 0 0 8px;
    padding: 2px 8px;
    border-radius: 5px;
    background-color: rgba(7, 76, 130, 0.08);
    color: #074c82;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
}

.main_details_page {
    background-color: #eeeeee;
    margin: 12px 0;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.date_published {
    font-size: 14px;
    font-weight: 500;
    flex: 1 1 auto;
    min-width: 0;
}

.action_items {
    display: flex;
    gap: 6px;
    align-items: center;
    flex: 0 0 auto;
}

.post_news_code {
    height: 28px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 10px;
    border: 1px solid #dddddd;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.55);
    color: #555555;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.post_news_code b {
    color: #333333;
    font-weight: 600;
    direction: ltr;
}

.print_header_bar {
    display: none;
}

.post_action_btn {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background-color: transparent;
    color: #555555;
    cursor: pointer;
    transition: 0.3s ease;
}

.post_action_btn:hover {
    background-color: #ffffff;
    color: #074c82;
}

.post_action_btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.main_content_page {
    font-size: 16px;
    line-height: 28px;
    text-align: justify;
}

.main_content_page h1 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 8px 0;
}

.main_content_page h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.main_content_page h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.main_content_page h4 {
    font-size: 16px;
    margin: 0 0 10px 0;
}

.main_content_page h5 {
    font-size: 14px;
    margin: 0 0 10px 0;
}

.main_content_page h6 {
    font-size: 12px;
    margin: 0 0 10px 0;
}

.main_content_page a {
    color: #0064f5;
    text-decoration: underline;
}

.main_content_page p, .main_content_page ol, .main_content_page ul {
    margin-bottom: 8px;
}

.main_content_page ul li {
    list-style: disc;
    list-style-position: inside;
}

.main_content_page ol li {
    list-style-position: inside;
}

.main_content_page img {
    width: auto !important;
    margin: 20px 0;
    border-radius: 5px;
}

.main_content_page a img {
    display: block;
    margin: 20px auto;
    border-radius: 5px;
}

.main_content_page .aligncenter {
    display: block;
    margin: 20px auto !important;
    max-width: 100%;
    height: auto;
}

.main_content_page .alignleft {
    float: left;
    margin: 5px 15px 15px 0 !important;
    max-width: 100%;
    height: auto;
}

.main_content_page .alignright {
    float: right;
    margin: 5px 0 15px 15px !important;
    max-width: 100%;
    height: auto;
}

.main_content_page .alignnone {
    margin: 20px 0 !important;
    max-width: 100%;
    height: auto;
}

.main_content_page .wp-caption {
    max-width: 100%;
}

.main_content_page .wp-caption img {
    margin-bottom: 8px;
}

.main_content_page .wp-caption-text {
    color: #777777;
    font-size: 13px;
    line-height: 24px;
    text-align: center;
}

.page_view {
    padding: 30px 0 0 0;
}

.page_content_wrap {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 0 12px 0;
}

.page_content_wrap .breadcrumb {
    margin-top: 0;
}

.page_header {
    margin: 0 0 18px 0;
    padding: 0 0 18px 0;
    border-bottom: 1px solid #eeeeee;
}

.page_header .main_title_page {
    margin: 0;
}

.page_excerpt {
    margin: 14px 0 0 0;
    color: #5f6b75;
    font-size: 15px;
    line-height: 28px;
    text-align: justify;
}

.page_thumbnail img {
    max-height: 430px;
    object-fit: cover;
}

.main_content_page blockquote {
    margin: 20px 0;
    padding: 14px 18px;
    border-right: 3px solid #074c82;
    border-radius: 6px;
    background-color: #f4f8fb;
    color: #4f5d68;
}

.main_content_page table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    background-color: #ffffff;
}

.main_content_page th,
.main_content_page td {
    padding: 10px 12px;
    border: 1px solid #eeeeee;
    text-align: right;
}

.main_content_page th {
    background-color: #f4f8fb;
    color: #1f1f1f;
    font-weight: 700;
}

.page_links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin: 24px 0 0 0;
}

.page_links a,
.page_links > span {
    min-width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 7px;
    background-color: #f3f5f7;
    color: #444444;
    font-size: 13px;
}

.page_links a:hover {
    background-color: #074c82;
    color: #ffffff;
    text-decoration: none;
}

.contact_page_wrap {
    max-width: 1080px;
}

.contact_header {
    max-width: 760px;
}

.contact_header p {
    margin: 12px 0 0 0;
    color: #5f6b75;
    font-size: 15px;
    line-height: 28px;
}

.contact_layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 22px;
    align-items: start;
}

.contact_info_panel,
.contact_form_panel {
    border: 1px solid #eeeeee;
    border-radius: 8px;
    background-color: #ffffff;
}

.contact_info_panel {
    padding: 8px 24px;
}

.contact_info_item {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.contact_info_item:last-child {
    border-bottom: 0;
}

.contact_info_label {
    display: block;
    margin: 0 0 8px 0;
    color: #777777;
    font-size: 13px;
    font-weight: 500;
}

.contact_info_item p,
.contact_info_item a {
    color: #1f1f1f;
    font-size: 15px;
    line-height: 28px;
    font-weight: 600;
}

.contact_ltr {
    direction: ltr;
    unicode-bidi: plaintext;
}

.contact_form_panel {
    padding: 24px;
}

.contact_form_panel h2 {
    position: relative;
    margin: 0 0 18px 0;
    padding: 0 14px 0 0;
    color: #1f1f1f;
    font-size: 20px;
    line-height: 32px;
    font-weight: 700;
}

.contact_form_panel h2:before {
    content: "";
    position: absolute;
    top: 8px;
    right: 0;
    width: 4px;
    height: 16px;
    border-radius: 4px;
    background-color: #074c82;
}

.contact_notice {
    margin: 0 0 16px 0;
    padding: 11px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 24px;
}

.contact_notice_success {
    border: 1px solid #b8e2c0;
    background-color: #effaf1;
    color: #236d31;
}

.contact_notice_error {
    border: 1px solid #f0c1c1;
    background-color: #fff1f1;
    color: #8b2c2c;
}

.contact_form {
    display: grid;
    gap: 14px;
}

.contact_form p {
    margin: 0;
}

.contact_form label {
    display: block;
    margin: 0 0 7px 0;
    color: #333333;
    font-size: 13px;
    font-weight: 500;
}

.contact_form input,
.contact_form textarea {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #dedede;
    border-radius: 8px;
    background-color: #fafafa;
    color: #222222;
    font-family: Estedad;
    font-size: 14px;
    line-height: 24px;
    transition: 0.3s ease;
}

.contact_form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact_form input:focus,
.contact_form textarea:focus {
    border-color: #074c82;
    background-color: #ffffff;
    outline: none;
}

.contact_form button {
    justify-self: start;
    min-width: 132px;
    height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background-color: #074c82;
    color: #ffffff;
    font-family: Estedad;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.contact_form button:hover {
    background-color: #053a64;
}

.contact_honey {
    position: absolute;
    width: 1px;
    height: 1px;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
}

.main_post_tags {
    margin: 28px 0 0 0;
    padding: 18px 0 0 0;
    border-top: 1px solid #eeeeee;
}

.main_post_tags_title {
    margin: 0 0 12px 0;
    color: #666666;
    font-size: 13px;
    font-weight: 600;
}

.main_post_tags_list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.main_post_tags_list a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background-color: #ffffff;
    color: #555555;
    font-size: 13px;
    font-weight: 500;
    transition: 0.2s ease;
}

.main_post_tags_list a:before {
    content: "#";
    margin: 0 0 0 4px;
    color: #074c82;
    font-weight: 700;
}

.main_post_tags_list a:hover {
    border-color: #074c82;
    background-color: #074c82;
    color: #ffffff;
}

.main_post_tags_list a:hover:before {
    color: #ffffff;
}

.main_post_shortlink {
    margin: 14px 0 0 0;
    padding: 12px 0 0 0;
    border-top: 1px solid #eeeeee;
}

.main_post_shortlink_title {
    display: inline-block;
    margin: 0 0 0 8px;
    color: #777777;
    font-size: 12px;
    font-weight: 500;
}

.main_post_shortlink_box {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: calc(100% - 86px);
    vertical-align: middle;
}

.main_post_shortlink_box a {
    max-width: 320px;
    min-height: 28px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 6px;
    background-color: #f3f5f7;
    color: #666666;
    font-size: 12px;
    direction: ltr;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main_post_shortlink_box button {
    min-width: 52px;
    height: 28px;
    border: 1px solid #dfe5ec;
    border-radius: 6px;
    background-color: transparent;
    color: #074c82;
    font-family: Estedad;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s ease;
}

.main_post_shortlink_box button:hover {
    border-color: #074c82;
    background-color: rgba(7, 76, 130, 0.06);
}

/* Comments Section Styles Start */
.main_comments_page {
    margin: 34px 0 0 0;
    padding: 26px;
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 8px;
}

.main_comments_page .comments-area {
    margin: 0 0 28px 0;
}

.main_comments_page .comments-title,
.main_comments_page .comment-reply-title {
    position: relative;
    margin: 0 0 20px 0;
    padding: 0 14px 0 0;
    color: #1f1f1f;
    font-size: 18px;
    line-height: 30px;
    font-weight: 700;
}

.main_comments_page .comments-title:before,
.main_comments_page .comment-reply-title:before {
    content: "";
    position: absolute;
    top: 7px;
    right: 0;
    width: 4px;
    height: 16px;
    background-color: #074c82;
    border-radius: 4px;
}

.main_comments_page .comment-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.main_comments_page .comment-list .children {
    margin: 14px 34px 0 0;
    padding: 0;
    list-style: none;
}

.main_comments_page .comment {
    margin: 0 0 14px 0;
}

.main_comments_page .comment-body {
    position: relative;
    padding: 18px 18px 16px 18px;
    background-color: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 8px;
}

.main_comments_page .comment-meta {
    margin: 0 0 12px 0;
}

.main_comments_page .comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #202020;
    font-size: 14px;
    font-weight: 700;
}

.main_comments_page .comment-author img {
    width: 44px !important;
    height: 44px !important;
    margin: 0;
    border-radius: 50%;
}

.main_comments_page .comment-author .says {
    display: none;
}

.main_comments_page .comment-metadata,
.main_comments_page .comment-metadata a {
    margin: 6px 0 0 0;
    color: #888888;
    font-size: 12px;
    font-weight: 300;
}

.main_comments_page .comment-content {
    color: #3f3f3f;
    font-size: 14px;
    line-height: 26px;
}

.main_comments_page .comment-awaiting-moderation {
    display: block;
    margin: 12px 0;
    padding: 10px 12px;
    border: 1px solid #f1d68a;
    border-radius: 8px;
    background-color: #fff7df;
    color: #7a5a08;
    font-size: 13px;
    font-style: normal;
    line-height: 24px;
}

.main_comments_page .comment-content p {
    margin: 0 0 8px 0;
}

.main_comments_page .comment-content p:last-child {
    margin-bottom: 0;
}

.main_comments_page .reply {
    margin: 12px 0 0 0;
}

.main_comments_page .comment-reply-link,
.main_comments_page #cancel-comment-reply-link {
    color: #074c82;
    font-size: 13px;
    font-weight: 500;
}

.main_comments_page .comment-navigation,
.main_comments_page .comments-pagination {
    margin: 18px 0 0 0;
}

.main_comments_page .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.main_comments_page .nav-links a,
.main_comments_page .nav-links span {
    padding: 7px 12px;
    background-color: #f3f3f3;
    border-radius: 6px;
    color: #444444;
    font-size: 13px;
}

.main_comments_page .comment-respond {
    margin: 0;
}

.main_comments_page .comment-form {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.main_comments_page .comment-form-author,
.main_comments_page .comment-form-email {
    width: calc(50% - 7px);
    float: none;
}

.main_comments_page .comment-form-comment,
.main_comments_page .form-submit,
.main_comments_page .buttonSpacing,
.main_comments_page .logged-in-as,
.main_comments_page .comment-form-cookies-consent {
    width: 100%;
}

.main_comments_page .inputSpacing {
    margin: 0;
}

.main_comments_page .labelTheme {
    display: block;
    margin: 0 0 7px 0;
    color: #333333;
    font-size: 13px;
    font-weight: 500;
}

.main_comments_page .labelTheme span,
.main_comments_page .required {
    color: #8a8a8a;
    font-size: 12px;
    font-weight: 300;
}

.main_comments_page .inputTheme {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #dedede;
    border-radius: 8px;
    background-color: #fafafa;
    color: #222222;
    font-family: Estedad;
    font-size: 14px;
    line-height: 24px;
    transition: 0.3s ease;
}

.main_comments_page textarea.inputTheme {
    min-height: 150px;
    resize: vertical;
}

.main_comments_page .inputTheme:focus {
    border-color: #074c82;
    background-color: #ffffff;
    outline: none;
}

.main_comments_page .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #666666;
    font-size: 12px;
    line-height: 22px;
}

.main_comments_page .comment-form-cookies-consent input {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    margin: 0;
    border: 1px solid #cfcfcf;
    border-radius: 5px;
    background-color: #ffffff;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: 0.2s ease;
}

.main_comments_page .comment-form-cookies-consent input:checked {
    border-color: #074c82;
    background-color: #074c82;
    box-shadow: inset 0 0 0 3px #ffffff;
}

.main_comments_page .comment-form-cookies-consent label {
    cursor: pointer;
}

.main_comments_page .buttonSpacing {
    float: none;
    text-align: left;
}

.main_comments_page .buttonTheme {
    min-width: 132px;
    height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background-color: #074c82;
    color: #ffffff;
    font-family: Estedad;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.main_comments_page .buttonTheme:hover {
    background-color: #053a64;
}

.main_comments_page .logged-in-as,
.main_comments_page .logged-in-as a {
    color: #777777;
    font-size: 13px;
}

@media only screen and (max-width: 599px) {
    .main_comments_page {
        margin-top: 24px;
        padding: 18px;
        border-radius: 0;
    }

    .main_comments_page .comment-form-author,
    .main_comments_page .comment-form-email {
        width: 100%;
    }

    .main_comments_page .comment-list .children {
        margin-right: 14px;
    }

}

/* Comments Section Styles End */

.alignleft {
    float: left;
    margin: 0 15px 15px 0 !important;
    display: inline-block;
    max-width: 100%;
    height: auto;
}

.alignright {
    float: right;
    margin: 5px 0 15px 15px !important;
    display: inline-block;
    max-width: 100%;
    height: auto;
}

.main_content {
    width: calc(100% - 300px);
    float: right;
}

.main_sidebar {
    width: 300px;
    float: right;
    padding: 85px 30px 0 0;
}

.main_sidebar_title {
    color: #737373;
    font-size: 15px;
    font-weight: 500;
    margin: 22px 0 16px 0;
}

.main_sidebar_title:first-child {
    margin-top: 0;
}

.row_sidebar_item {
    padding: 8px 0;
}

.sidebar_item_thumbnail {
    float: right;
    width: 70px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
}

.sidebar_item_thumbnail img {
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.sidebar_item_title {
    float: right;
    width: calc(100% - 70px);
    padding: 0 16px 0 0;
    font-size: 15px;
    line-height: 22px;
    font-weight: 500;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    min-height: 70px;
}

#archive {
    padding: 30px 0;
}

.main_title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.row_posts {
    margin: 0 -10px;
}

.col_posts {
    width: 25%;
    float: right;
    padding: 10px;
}

.card_post {
    border: 1px solid #efefef;
    padding: 12px;
    border-radius: 6px;
    background-color: #ffffff;
}

.card_post:hover .post_title {
    color: #074c82;
}

.post_image img {
    border-radius: 6px;
}

.post_title {
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
    min-height: 52px;
    margin: 10px 0;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.post_excerpt {
    font-size: 14px;
    line-height: 24px;
    text-align: justify;
    color: #7d7d7d;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.search_results_page .main_title span {
    color: #074c82;
}

.search_no_results {
    padding: 28px;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    background-color: #ffffff;
    text-align: center;
}

.search_no_results_title {
    margin: 0 0 8px 0;
    color: #1f1f1f;
    font-size: 20px;
    font-weight: 700;
}

.search_no_results p {
    margin: 0 0 18px 0;
    color: #777777;
    font-size: 14px;
}

.search_no_results_form {
    display: flex;
    gap: 10px;
    max-width: 520px;
    margin: 0 auto;
}

.search_no_results_form input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #d8e1ea;
    border-radius: 8px;
    background-color: #fafafa;
    font-family: Estedad;
    font-size: 14px;
    outline: none;
}

.search_no_results_form input:focus {
    border-color: #074c82;
    background-color: #ffffff;
}

.search_no_results_form button {
    min-width: 100px;
    height: 46px;
    border: 0;
    border-radius: 8px;
    background-color: #074c82;
    color: #ffffff;
    font-family: Estedad;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.error_404_page {
    min-height: calc(100vh - 240px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 30px;
}

.error_404_wrap {
    width: min(680px, 100%);
    padding: 42px 34px;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    background-color: #ffffff;
    text-align: center;
    box-shadow: 0 18px 46px rgba(25, 42, 70, 0.06);
}

.error_404_code {
    margin: 0 0 10px 0;
    color: #074c82;
    font-size: 82px;
    line-height: 1;
    font-weight: 800;
}

.error_404_wrap h1 {
    margin: 0 0 10px 0;
    color: #1f1f1f;
    font-size: 28px;
    line-height: 44px;
    font-weight: 800;
}

.error_404_wrap p {
    max-width: 480px;
    margin: 0 auto 24px auto;
    color: #65727e;
    font-size: 15px;
    line-height: 28px;
}

.error_404_search {
    max-width: 520px;
    margin: 0 auto 18px auto;
    text-align: right;
}

.error_404_search label {
    display: block;
    margin: 0 0 8px 0;
    color: #333333;
    font-size: 13px;
    font-weight: 600;
}

.error_404_search_field {
    display: flex;
    gap: 10px;
}

.error_404_search_field input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #d8e1ea;
    border-radius: 8px;
    background-color: #fafafa;
    color: #222222;
    font-family: Estedad;
    font-size: 14px;
    outline: none;
    transition: 0.2s ease;
}

.error_404_search_field input:focus {
    border-color: #074c82;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(7, 76, 130, 0.10);
}

.error_404_search_field button,
.error_404_home {
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background-color: #074c82;
    color: #ffffff;
    font-family: Estedad;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.error_404_search_field button {
    min-width: 104px;
}

.error_404_search_field button:hover,
.error_404_home:hover {
    background-color: #053a64;
    color: #ffffff;
}

.error_404_home {
    background-color: #f3f5f7;
    color: #074c82;
}

.pagination {
    margin: 22px 0 0 0;
    text-align: center;
}

.pagination .nav-links {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.pagination .page-numbers {
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 7px;
    background-color: #ffffff;
    color: #444444;
    font-size: 13px;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background-color: #074c82;
    color: #ffffff;
}

#footer {
    background-color: #2d2c2c;
    padding: 12px 0;
    margin: 30px 0 0 0;
}

#footer .main_menu {
    margin: 20px 130px 20px 0;
}

@media only screen and (max-width: 599px) {
    .container {
        width: calc(100% - 24px);
    }

    .site_search_overlay {
        top: 104px;
        bottom: 0;
        padding: 16px;
        align-items: flex-start;
    }

    .site_search_box {
        padding: 22px;
    }

    .site_search_field {
        flex-direction: column;
    }

    .site_search_field button {
        width: 100%;
    }

    .page_view {
        padding-top: 20px;
    }

    .page_content_wrap {
        padding: 0 16px;
    }

    .page_header .main_title_page {
        font-size: 28px;
        line-height: 44px;
    }

    .main_content_page {
        font-size: 15px;
        line-height: 28px;
    }

    .main_content_page table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .contact_layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact_info_panel,
    .contact_form_panel {
        border-radius: 0;
    }

    .contact_info_panel,
    .contact_form_panel {
        padding-right: 18px;
        padding-left: 18px;
    }

    .error_404_page {
        min-height: auto;
        padding-right: 16px;
        padding-left: 16px;
    }

    .error_404_wrap {
        padding: 32px 18px;
        border-radius: 0;
    }

    .error_404_code {
        font-size: 64px;
    }

    .error_404_wrap h1 {
        font-size: 23px;
        line-height: 38px;
    }

    .error_404_search_field {
        flex-direction: column;
    }

    .error_404_search_field button,
    .error_404_home {
        width: 100%;
    }
}

@media only screen and (max-width: 1199px) {
    .main_menu {
        max-width: calc(100% - 120px);
        margin-right: 24px;
    }

    .main_menu ul {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        align-items: center;
    }

    .main_menu ul li {
        float: none;
        padding: 5px 8px;
    }

    #footer .main_menu {
        margin-right: 80px;
    }
}

@media only screen and (max-width: 991px) {
    #header .container,
    #footer .container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px 18px;
    }

    .logo,
    .main_menu,
    #footer .main_menu {
        float: none;
    }

    .logo {
        flex: 0 0 82px;
        width: 82px;
    }

    .main_menu,
    #footer .main_menu {
        flex: 1 1 calc(100% - 110px);
        max-width: none;
        margin: 0;
    }

    .main_menu ul {
        gap: 4px 6px;
    }

    .main_menu ul li a {
        font-size: 13px;
        line-height: 24px;
    }

    .main_menu ul li .sub-menu {
        min-width: 170px;
    }

    .main_content,
    .main_sidebar {
        width: 100%;
        float: none;
    }

    .main_sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 24px;
        padding: 30px 0 0 0;
    }

    .main_sidebar_title {
        grid-column: 1 / -1;
    }

    .col_posts {
        width: 33.333%;
    }

    .contact_layout {
        grid-template-columns: 1fr;
    }

    .main_title_page {
        font-size: 34px;
        line-height: 54px;
    }
}

@media only screen and (max-width: 767px) {
    #top_header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        direction: rtl;
    }

    .today,
    .search_icon {
        float: none;
    }

    .search_icon {
        order: 2;
        margin-right: auto;
    }

    .today {
        order: 1;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 6px;
        line-height: 24px;
        direction: rtl;
    }

    .today img {
        margin: 0;
    }

    #header {
        padding: 10px 0;
    }

    #header .container {
        position: relative;
        min-height: 82px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #footer .container {
        display: block;
    }

    .logo {
        width: 76px;
        margin: 0 auto;
    }

    .mobile_menu_toggle {
        position: absolute;
        top: 50%;
        right: 0;
        z-index: 1001;
        width: 42px;
        height: 42px;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 0;
        border: 0;
        border-radius: 8px;
        background-color: rgba(255, 255, 255, 0.13);
        cursor: pointer;
        transform: translateY(-50%);
        transition: background-color 0.24s ease;
    }

    .mobile-menu-active {
        overflow: hidden;
    }

    .mobile-menu-active .mobile_menu_toggle {
        background-color: rgba(255, 255, 255, 0.16);
    }

    .mobile_menu_toggle span {
        width: 20px;
        height: 2px;
        border-radius: 2px;
        background-color: #ffffff;
        transform-origin: center;
        transition:
            transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
            opacity 0.18s ease,
            width 0.24s ease,
            background-color 0.24s ease;
    }

    .mobile-menu-active .mobile_menu_toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-active .mobile_menu_toggle span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-active .mobile_menu_toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    #header .main_menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1000;
        width: 100vw;
        max-height: none;
        margin: 0;
        padding: 148px 22px 28px 22px;
        border-radius: 0;
        background-color: rgba(7, 76, 130, 0.86);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        box-shadow: none;
        visibility: hidden;
        pointer-events: none;
        overflow-y: auto;
        clip-path: circle(0 at calc(100% - 43px) 91px);
        transition:
            clip-path 0.46s cubic-bezier(0.22, 1, 0.36, 1),
            background-color 0.32s ease,
            visibility 0s linear 0.36s;
        will-change: clip-path;
    }

    #header .main_menu.is-visible {
        visibility: visible;
        pointer-events: auto;
        transition:
            clip-path 0.46s cubic-bezier(0.22, 1, 0.36, 1),
            background-color 0.32s ease,
            visibility 0s;
    }

    #header .main_menu.is-open {
        clip-path: circle(150% at calc(100% - 43px) 91px);
        transition:
            clip-path 0.52s cubic-bezier(0.22, 1, 0.36, 1),
            background-color 0.32s ease,
            visibility 0s;
    }

    body.mobile-menu-active #main_page,
    body.mobile-menu-active #archive,
    body.mobile-menu-active #comingsoon,
    body.mobile-menu-active #footer {
        filter: blur(3px);
        pointer-events: none;
        user-select: none;
    }

    #footer .main_menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: transparent;
        max-height: none;
        width: 100%;
        margin: 0;
        overflow: visible;
        padding-bottom: 0;
    }

    .main_menu ul {
        display: block;
        min-width: 0;
        max-width: 420px;
        margin: 0 auto;
    }

    .main_menu ul li {
        width: 100%;
        position: relative;
        padding: 0;
        white-space: normal;
    }

    .main_menu ul li a {
        display: block;
        padding: 10px 12px;
        border-radius: 7px;
        line-height: 24px;
    }

    .main_menu ul li a:hover {
        background-color: rgba(255, 255, 255, 0.08);
        text-shadow: none;
    }

    .main_menu ul li .sub-menu {
        position: static;
        display: block;
        min-width: 0;
        padding: 0 12px 6px 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .main_menu ul li .sub-menu a {
        padding: 7px 10px;
        border-radius: 6px;
        background-color: rgba(255, 255, 255, 0.08);
        color: #ffffff;
        font-size: 12px;
    }

    .site_search_overlay {
        top: 126px;
    }

    .breadcrumb {
        margin: 20px 0;
        line-height: 26px;
    }

    .main_title_page {
        font-size: 28px;
        line-height: 44px;
    }

    .main_details_page {
        padding: 8px 10px;
        gap: 8px;
    }

    .date_published {
        font-size: 13px;
        line-height: 28px;
    }

    .action_items {
        margin-top: 0;
    }

    .post_news_code {
        height: 26px;
        max-width: none;
        padding: 0 8px;
        gap: 4px;
    }

    .post_news_code span {
        font-size: 0;
    }

    .post_news_code span:before {
        content: "کد:";
        font-size: 12px;
    }

    .post_action_btn {
        width: 26px;
        height: 26px;
    }

    .post_action_btn svg {
        width: 17px;
        height: 17px;
    }

    .main_excerpt_page {
        font-size: 14px;
        line-height: 26px;
    }

    .main_content_page {
        overflow-wrap: anywhere;
    }

    .main_content_page img,
    .main_content_page a img,
    .main_content_page .alignleft,
    .main_content_page .alignright,
    .alignleft,
    .alignright {
        float: none;
        width: auto !important;
        max-width: 100%;
        height: auto;
        margin: 16px auto !important;
    }

    .main_sidebar {
        display: block;
    }

    .main_sidebar_title {
        margin-top: 24px;
    }

    .col_posts {
        width: 50%;
    }

    .post_title {
        min-height: 0;
    }

    .page_content_wrap {
        max-width: none;
    }

    .page_thumbnail img {
        max-height: none;
    }

    .main_comments_page .nav-links,
    .pagination .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    #comingsoon {
        min-height: 360px !important;
        padding: 150px 16px 0 16px !important;
        font-size: 24px !important;
        line-height: 40px !important;
    }
}

@media only screen and (max-width: 599px) {
    .container {
        width: calc(100% - 24px);
    }

    #top_header {
        padding: 8px 0;
    }

    .today {
        font-size: 10px;
    }

    .today img {
        width: 18px;
        margin-left: 6px;
    }

    .logo {
        width: 70px;
    }

    #footer .main_menu ul li a {
        font-size: 12px;
    }

    .site_search_overlay {
        top: 118px;
        padding: 12px;
    }

    .site_search_box {
        border-radius: 8px;
    }

    .site_search_form label {
        padding-left: 38px;
        font-size: 17px;
        line-height: 28px;
    }

    #main_page,
    #archive {
        padding-top: 18px;
    }

    .breadcrumb {
        margin: 12px 0 18px 0;
        font-size: 12px;
        line-height: 24px;
    }

    .main_title,
    .search_results_page .main_title {
        font-size: 18px;
        line-height: 30px;
    }

    .main_title_page,
    .page_header .main_title_page {
        font-size: 24px;
        line-height: 38px;
    }

    .main_thumbnail_page {
        margin: 14px 0;
    }

    .main_content_page h1 {
        font-size: 22px;
        line-height: 36px;
    }

    .main_content_page h2 {
        font-size: 20px;
        line-height: 34px;
    }

    .main_content_page h3 {
        font-size: 18px;
        line-height: 32px;
    }

    .main_post_shortlink_title,
    .main_post_shortlink_box {
        display: flex;
        max-width: none;
    }

    .main_post_shortlink_title {
        margin: 0 0 8px 0;
    }

    .main_post_shortlink_box a {
        min-width: 0;
        max-width: none;
        flex: 1 1 auto;
    }

    .main_comments_page {
        width: calc(100% + 24px);
        margin-right: -12px;
        margin-left: -12px;
    }

    .col_posts {
        width: 100%;
    }

    .row_posts {
        margin: 0;
    }

    .col_posts {
        padding: 8px 0;
    }

    .post_image img {
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    .search_no_results {
        padding: 22px 16px;
        border-radius: 0;
    }

    .search_no_results_form {
        flex-direction: column;
    }

    .search_no_results_form button {
        width: 100%;
    }

    .contact_header p,
    .page_excerpt {
        font-size: 14px;
        line-height: 26px;
    }

    .contact_form button {
        width: 100%;
    }

    .contact_ltr {
        word-break: break-word;
    }

    #footer .logo {
        margin-bottom: 12px;
    }
}

@media only screen and (max-width: 420px) {
    .container {
        width: calc(100% - 20px);
    }

    .site_search_box {
        padding: 18px 14px;
    }

    .main_title_page,
    .page_header .main_title_page {
        font-size: 22px;
        line-height: 36px;
    }

    .main_details_page {
        align-items: center;
    }

    .post_news_code {
        max-width: 128px;
        overflow: hidden;
    }

    .main_comments_page {
        width: calc(100% + 20px);
        margin-right: -10px;
        margin-left: -10px;
        padding: 16px 12px;
    }

    .main_comments_page .comment-body {
        padding: 14px 12px;
    }

    .main_comments_page .comment-author {
        align-items: flex-start;
    }

    .error_404_wrap {
        padding: 28px 14px;
    }
}

@media print {
    #top_header,
    #header,
    #footer,
    .breadcrumb,
    .main_sidebar,
    .action_items,
    .main_post_tags,
    .main_post_shortlink,
    .main_comments_page {
        display: none !important;
    }

    body {
        background-color: #ffffff;
    }

    .print_header_bar {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100px;
        margin: 0 0 22px 0;
        background-color: #074c82;
        box-shadow: inset 0 0 0 1000px #000000;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        border-radius: 6px;
    }

    .print_header_bar img {
        width: auto !important;
        height: 80px !important;
        margin: 0;
    }

    .main_details_page {
        padding: 0;
    }

    .container,
    .main_content {
        width: 100% !important;
        float: none !important;
    }
}
