/*
Theme Name: 24times
Description: magazine theme
Theme URI: https://24times.ir
Author: Limooweb
Author URI: https://24times.ir
Version: 1.0
*/

@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: normal;
	src: url('assets/RV-Regular.woff2') format('woff2');		 
}

@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: bold;
	src: url('assets/RV-Bold.woff2') format('woff2'); 
}

@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: 950;
	src: url('assets/RV-ExtraBlack.woff2') format('woff2');		 
}
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    border: 0;
    outline: 0;
}
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body,
input,
button,
textarea,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: IRANSansX;
}
body {
    direction: rtl;
    color: #1d2b3b;
    overflow-x: hidden;
    font-size: 15px;
    background: #f5f5f5;
    gap: 1.4em;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}
input,
button,
textarea {
    font-size: 14px;
    background: none;
}
h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
    font-weight: 700;
}
a {
    text-decoration: none;
    color: #1d2b3b;
    transition: all 300ms ease-out;
}
a:hover {
    text-decoration: none;
    color: #673ab7;
}
img {
    object-fit: cover;
    max-width: 100%;
    height: auto;
}
button,
label {
    cursor: pointer;
}
.trd_svg {
    display: flex;
    position: absolute;
    width: 0;
    height: 0;
}

/* grid */
.trd_f {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.trd_w {
    max-width: 1180px;
    margin: 0 auto;
    width: 97%;
}
.trd_bx {
    background: #fff;
}
main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* mobile header */
.trd_pdng {
    padding-top: 75px;
}
.trd_hdrm {
    background: #fff;
    height: 60px;
    box-shadow: 0 0 15px rgb(29 43 59 / 25%);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.7em;
    gap: 1em;
    z-index: 999;
    width: 100%;
}
.trd_hdrm .trd_logo a:before {
    width: 45px;
    height: 45px;
}
.trd_hdrm form {
    flex: 1;
    width: initial !important;
}
.trd_hdrm .trd_bnr {
    width: 100% !important;
    height: auto !important;
}
.trd_navm {
    display: flex;
    flex-direction: column;
    gap: 1em;
}
.trd_navm ul {
    list-style: none;
    width: 100%;
    gap: 0.6em;
    border-bottom: 1px solid rgb(29 43 59 / 7%);
    padding: 0 0 1em;
}
.trd_navm ul li:first-child {
    background: #25364a;
    color: #fff;
    font-size: 13px;
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 75px;
    flex: initial;
    position: relative;
}
.trd_navm ul li:first-child:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 5px 7px 0;
    border-color: transparent #25364a transparent transparent;
    left: -5px;
    top: 10px;
}
.trd_navm li {
    display: flex;
    flex: 1 1 auto;
}
.trd_navm li a {
    background: #fff;
    border: 1px solid rgb(29 43 59 / 12%);
    box-shadow: 0 5px 15px rgb(29 43 59 / 5%);
    font-size: 14px;
    padding: 0 0.8em;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
}
.trd_navm ul:last-child {
    padding: 0;
    border: 0;
}
.trd_navm ul:nth-child(2) li a {
    background: #f5f9fc;
}
.trd_navm li a:hover {
    background: #673ab7 !important;
    color: #fff;
    box-shadow: 0 5px 15px rgb(10 81 194 / 20%);
}

/* desktop header */
.trd_hdr {
    display: flex;
    flex-direction: column;
}
.trd_nav_top > div{
    height: 100%;
    justify-content: left;
    gap: 1em;
    padding: 1rem 0;
	font-size:12px;
}
.trd_hdr_cntr > div{
    height: 100%;
	padding:15px;
    justify-content: space-between;
    gap: 1em;
    background: #fff;
}
.trd_logo{
	margin-right:1rem;
}
.trd_nav_top ul {
    gap: 0.3em;
}
.trd_nav_top li {
    list-style: none;
}
.trd_nav_top li a {
    padding: 0.5em 1em;
}
.trd_nav_top li a:hover {
    background: #ebf0f4;
}
.trd_hdr_cntr {
}
.trd_nav_btm  {
    width: 100%;
    border-right: 0;
    border-left: 0;
}
.trd_nav_btm li {
    list-style: none;
}
.trd_nav_btm > div {
    background: #673ab7;
}
.trd_nav_btm > div > ul > li {
    position: relative;
    display: flex;
    align-items: center;
}
.trd_nav_btm > div > ul > li:after {
    content: "";
    width: 1px;
    height: 25px;
    background: linear-gradient(180deg, rgb(255 255 255 / 0%) 0%, rgb(235 240 244 / 20%) 50%, #fff0 100%);
}
.trd_nav_btm ul li:last-child:after {
    display: none;
}
.trd_nav_btm > div > ul > li > a {
    display: block;
    padding: 1em 1em;
    color: #fff;
    font-size: 15px;
	transition:0.1s;
}
.trd_nav_btm > div > ul > li:hover > a {
    background-color: #9e9e9e;
}
.trd_nav_btm ul .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background-color: #1d2b3b;
    box-shadow: 0 4px 10px rgb(29 43 59 / 35%);
    z-index: 1000;
    overflow: hidden;
}
.trd_nav_btm ul > li:hover > .sub-menu {
    display: block;
}
.sub-menu li a {
    display: block;
    padding: 0.7em 1em;
    color: #d2d8dd;
    text-decoration: none;
    font-size: 14px;
    transition:
        background 0.3s,
        color 0.3s;
    border-bottom: 1px solid #25364a;
}
.sub-menu li:last-child a {
    border: 0;
}
.sub-menu li a:hover {
    color: #f5f9fc;
    background: #17222f;
}

/* header mob & desc */
.trd_logo a {
    display: flex;
    align-items: center;
    gap: 0.3em;
    font-size: 35px;
    font-weight: 600;
    user-select: none;
}
.trd_logo a:before {
    content: "";
    background-size: cover;
    width: 60px;
    height: 60px;
    background-image: url(https://24times.ir//wp-content/uploads/2025/11/times.svg);
}
.trd_bnr {
    width: 468px;
    height: Auto;
    background: #fff;
    position: relative;
    overflow: hidden;
}
.trd_bnr a,
.trd_bnr img {
    display: flex;
}
.trd_bnr:before {
    content: "ad";
    position: absolute;
    left: 0;
    top: 0;
    background: #f5f9fc;
    color: #525252;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 34px;
    font-family: monospace;
    font-size: 14px;
}
.trd_nav_top form,
.trd_hdrm form {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.7em;
    width: 320px;
    background: #fff;
}
.trd_nav_top form input,
.trd_hdrm form input {
    height: 100%;
    padding: 0 0.4em;
    flex: 1;
}
.trd_nav_top form button,
.trd_hdrm form button {
    background: #ddd;
    justify-content: center;
    display: flex;
    align-items: center;
    stroke: #fff;
    width: 38px;
    height: 38px;
}

/* هدینگ ها */ /* !is_single */
.trd_hdg {
    line-height: 1.8;
    padding: 0.8em 1em;
}
.trd_hdg h1,
.trd_hdg h1 a {
    font-size: 18px;
    color: #673ab7;
}
.trd_hdg h1 span {
    font-size: 14px;
    font-weight: 400;
    color: #595959;
    margin: 0 4px 0 0;
}
.trd_hdg h2,
.trd_hdg p {
    font-size: 15px;
    color: #555;
}
.trd_hdg h2,
.trd_hdg strong,
.trd_hdg b {
    font-weight: 400;
}
.trd_hdgc {
    gap: 0.7em;
    margin: 9px 0 4px;
}
.trd_hdgc span {
    display: flex;
}
.trd_hdgc a {
    background: #fff;
    border: 1px solid rgb(29 43 59 / 12%);
    box-shadow: 0 5px 15px rgb(29 43 59 / 5%);
    font-size: 14px;
    padding: 0.2em 1em;
}
.trd_hdgc a:hover {
    background: #673ab7;
    color: #fff;
    box-shadow: 0 5px 15px rgb(10 81 194 / 20%);
}

/* sidebar */
aside {
    width: calc(100% / 2.5);
    display: flex;
    flex-direction: column;
    gap: 1.2em;
}
aside section,
.trd_news,
.trd_single,
.trd_cmnt {
    overflow: hidden;
}
aside section header,
.trd_news > header,
.trd_single > header h1,
.trd_cmnt > header {
    display: flex;
    align-items: center;
    padding: 1em 1.2em;
    position: relative;
    gap: 0.7em;
}
aside section header:after,
.trd_news > header:after,
.trd_single > header h1:after,
.trd_cmnt header:after {
    content: "";
    background: linear-gradient(90deg, rgb(255 255 255 / 0%) 0%, #673ab7 100%);
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 0;
    right: 0;
}
aside section header i,
.trd_news header i,
.trd_cmnt header i{
    height: 24px;
    stroke: #9e9e9e;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: center;
}
aside section header h2,
.trd_news header h2,
.trd_cmnt header h2 {
    font-size: 16px;
    display: flex;
    align-items: center;
    color: #673ab7;
}
aside section div {
    padding: 1em;
    display: flex;
    flex-direction: column;
    gap: 0.7em;
}
aside section div span {
    display: flex;
    border-bottom: 1px solid #ebf0f4;
    padding: 0 0 0.7em;
}
aside section div span:last-child {
    border: 0;
    padding: 0;
}
aside section div span a {
    line-height: 1;
    font-size: 14px;
}
aside section div span a:before {
    content: "🢐";
    margin: 10px 0 0 9px;
    transition: all 300ms ease-out;
    font-size: 23px;
    line-height: 0;
    display: inline-block;
    vertical-align: sub;
    color: #ddd;
}
aside section div span a:hover:before {
    color: #9e9e9e;
}

/* index & archive post */
.trd_rghw {
    display: flex;
    flex-direction: column;
    gap: 1.2em;
    width: calc(60% - 1.2em);
}
.trd_news > header,
.trd_cmnt > header {
    justify-content: space-between;
}
.trd_news > header div,
.trd_cmnt > header div {
    gap: 0.7em;
    flex-wrap: nowrap;
}
.trd_news > header > a,
.trd_cmnt > header span {
    font-size: 13px;
    color: #595959;
    display: flex;
    align-items: center;
    gap: 0.3em;
    background: #fff;
    padding: 0.3em 0.8em;
}
.trd_news > header > a:after {
    content: "";
    width: 7px;
    height: 7px;
    border-left: 1px solid;
    border-bottom: 1px solid;
    border-color: rgb(29 43 59 / 25%);
    transform: rotate(45deg);
}
.trd_news > div {
    border-bottom: 1px solid #ebf0f4;
}
.trd_news > div:last-child {
    border: 0;
}
.trd_ipst {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 1.2em;
    grid-row-gap: 1.2em;
    padding: 1.2em;
}
.trd_ipst article {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}
.trd_ipst header {
    display: flex;
}
.trd_ipst a {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.7em;
}
.trd_ipst figure {
    display: flex;
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}
.trd_ipst figure img {
    width: 100%;
}
.trd_ipst figure span {
    position: absolute;
    width: 100%;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgb(0 0 0 / 30%);
    height: 33px;
    display: flex;
    align-items: center;
    padding: 0 0.7em;
    justify-content: space-between;
    backdrop-filter: blur(5px);
}
.trd_ipst figure strong {
    font-weight: 400;
    color: rgb(255 255 255 / 90%);
    text-shadow: 1px 2px rgb(0 0 0 / 10%);
    font-size: 13px;
}
.trd_ipst h3 {
    font-size: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}
.trd_ipst div {
    color: #494949;
    font-size: 13px;
    line-height: 1.6;
}
.trd_ipst.trd_pst_sml {
    grid-template-columns: repeat(4, 1fr);
}
.trd_ipst.trd_pst_sml figure {
    height: 150px;
}
.trd_ipst.trd_pst_sml h3,
.trd_ipst.trd_pst_sml2 h3 {
    font-size: 14px;
    -webkit-line-clamp: 3;
    font-weight: 400;
    flex: 1;
}
.trd_ipst.trd_pst_sml2 a {
    flex-direction: row;
    align-items: center;
}
.trd_ipst.trd_pst_sml2 figure {
    height: 80px;
    width: 80px;
}
.trd_ipst.trd_pst_sml2 h3 {
    flex: 1;
    -webkit-line-clamp: 3;
}

/* فوتر */
.trd_footer {
    padding: 1.2em 0;
    background: #673ab7;
}
.trd_footer div {
    justify-content: space-between;
}
.trd_footer p {
    line-height: 1.8;
    text-align: right;
    color: #fff;
}
.trd_footer p strong {
    color: #1d2b3b;
}
.trd_footer p a {
    color: #fff;
    padding: 0 0.8em;
    display: inline-flex;
    line-height: initial;
    background: #9e9e9e;
    height: 24px;
    align-items: center;
    font-size: 13px;
}
.trd_footer ul {
    justify-content: center;
    gap: 0.7em;
    list-style: none;
}
.trd_footer li {
    display: flex;
}
.trd_footer li a {
    background: #fff;
    border: 1px solid rgb(29 43 59 / 12%);
    box-shadow: 0 5px 15px rgb(29 43 59 / 5%);
    font-size: 14px;
    padding: 0.5em 1em;
}
.trd_footer li a:hover {
    background: #673ab7;
    color: #fff;
    box-shadow: 0 5px 15px rgb(10 81 194 / 20%);
}

/* مسیر کاربر */ /* !is_home */
.trd_breadcrumbs {
    width: 100%;
    color: #999;
}
.trd_breadcrumbs .breadcrumb_last {
    color: #555;
    font-size: 14px;
}

/* پست های مقالات آرشیو */ /* is_archive */
.trd_arcv {
    display: grid;
    grid-column-gap: 1em;
    grid-row-gap: 1em;
    grid-template-columns: repeat(1, 1fr);
}
.trd_arcv article {
    width: 100%;
    padding: 0.7em;
    background: #fff;
    border: 1px solid rgb(29 43 59 / 15%);
    box-shadow: 0 5px 15px rgb(29 43 59 / 10%);
}
.trd_arcv figure {
    width: 130px;
    height: 130px;
    display: flex;
    overflow: hidden;
    float: right;
    margin-left: 0.7em;
}
.trd_arcv h2 {
    font-size: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0.3em 0 0;
}
.trd_arcv div {
    color: #555;
    line-height: 1.8;
    margin: 0.75em 0;
    font-size: 15px;
}
.trd_arcv article footer {
    font-size: 14px;
    color: var(--txt-opc50-clr);
    gap: 0.5em;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}
.trd_arcv article footer span {
    gap: 0.5em;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.trd_arcv article footer strong {
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.4em;
    color: #595959;
    font-size: 13px;
}
.trd_arcv article footer strong:before {
    content: "";
    width: 15px;
    height: 12px;
    background-size: cover;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 506.67'%3E%3Cpath d='M300,433.33H500M402.09,202.09l-4.18-4.18c-11.53-11.53-17.3-17.3-24-21.42a66.81,66.81,0,0,0-19.27-8c-7.68-1.84-15.83-1.84-32.14-1.84H206.67c-37.34,0-56,0-70.27,7.26a66.64,66.64,0,0,0-29.13,29.14C100,217.33,100,236,100,273.33V526.67c0,37.33,0,56,7.27,70.26a66.64,66.64,0,0,0,29.13,29.14c14.26,7.26,32.93,7.26,70.27,7.26H593.33c37.34,0,56,0,70.27-7.26a66.64,66.64,0,0,0,29.13-29.14C700,582.67,700,564,700,526.67V340c0-37.34,0-56-7.27-70.27A66.67,66.67,0,0,0,663.6,240.6c-14.26-7.27-32.93-7.27-70.27-7.27H477.52c-16.31,0-24.46,0-32.14-1.84a66.81,66.81,0,0,1-19.27-8C419.39,219.39,413.62,213.62,402.09,202.09Z' transform='translate(-80 -146.67)' fill='none' stroke='%23999' stroke-linecap='round' stroke-linejoin='round' stroke-width='40'/%3E%3C/svg%3E");
}
.trd_arcv article footer strong:nth-child(2):before {
    height: 15px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cpath d='M100,300H700M300,500l66.67,66.67L500,433.33M233.33,100v66.67M566.67,100v66.67M206.67,700H593.33c37.34,0,56,0,70.27-7.27a66.67,66.67,0,0,0,29.13-29.13C700,649.34,700,630.67,700,593.33v-320c0-37.33,0-56-7.27-70.26a66.64,66.64,0,0,0-29.13-29.14c-14.26-7.26-32.93-7.26-70.27-7.26H206.67c-37.34,0-56,0-70.27,7.26a66.64,66.64,0,0,0-29.13,29.14C100,217.33,100,236,100,273.33v320c0,37.34,0,56,7.27,70.27a66.67,66.67,0,0,0,29.13,29.13C150.66,700,169.33,700,206.67,700Z' transform='translate(-80 -80)' fill='none' stroke='%23aaa' stroke-linecap='round' stroke-linejoin='round' stroke-width='40'/%3E%3C/svg%3E");
}
/* شماره صفحات */ /* is_archive */
.trd_pgnv {
    justify-content: center;
    gap: 0.7em;
    border-top: 1px solid rgb(29 43 59 / 8%);
    padding: 1.2em 0 0;
}
.trd_pgnv a,
.trd_pgnv span {
    height: 44px;
    width: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #555;
    background: #fff;
    border: 1px solid rgb(29 43 59 / 15%);
    box-shadow: 0 5px 15px rgb(29 43 59 / 10%);
}
.trd_pgnv .current,
.trd_pgnv a:hover {
    stroke: #673ab7;
    color: #fff;
    background: linear-gradient(180deg, #1765e1 0%, #673ab7 100%);
    border: 1px solid #673ab7;
}
.trd_pgnv .next,
.trd_pgnv .prev {
    justify-content: center;
    text-indent: -200px;
    overflow: hidden;
    border: 0 !important;
    background: none !important;
    box-shadow: none;
    stroke: rgb(0 0 0 / 60%);
}
.trd_pgnv .prev {
    transform: scaleX(-1);
}
.trd_pgnv .dots {
    background: #f5f9fc;
}

/* 404 */ /* is_404 || is_search */
.trd_404 {
    text-align: center;
    line-height: 2.2;
    color: #555;
    padding: 1.2em;
}
.trd_404 h1,
.trd_404 h2 {
    font-size: 18px;
    color: #1d2b3b;
}
.trd_404 p span {
    background: linear-gradient(180deg, #1765e1 0%, #673ab7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 11em;
    line-height: 1;
    font-weight: 700;
    user-select: none;
    display: flex;
    justify-content: center;
    font-family: arial;
}

/* ادامه مطلب */ /* is_single || is_page */
.trd_single > header {
}
.trd_single header h1 {
    font-size: 16px;
    color: #673ab7;
}
.trd_single > header div {
    padding: 0.8em 1.2em;
    gap: 0.7em;
    font-size: 13px;
}
.trd_single > header span{
    color: #545454;
    display: flex;
    align-items: center;
    gap: 0.2em;
    stroke: #aaa;
    background: #f5f5f5;
    padding: 5px 10px;
    font-size: 12px;
}
.trd_single > header span svg {
    margin-left: 0.3em;
}
.trd_single > header span a {
    color: #545454;
}
.trd_cnt {
    line-height: 1.8;
    font-size: 16px;
    margin: 1em;
}
.trd_cnt blockquote {
    padding: 0.8em 3.1em 0.8em 0.8em;
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 0.7em 0;
    background: #f5f9fc !important;
    border: 1px solid #ebf0f4;
    border-left-width: 3px;
    color: #494949;
    z-index: 1;
    min-height: 86px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.trd_cnt blockquote:before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    right: 6px;
    width: 18px;
    height: 13px;
    background-size: cover;
    background-image: url("data:image/svg+xml,%3Csvg id='_2' data-name='2' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 601.19'%3E%3Cpath d='M232.14,99.4H112.75A112.76,112.76,0,0,0,0,212.16V331.55A112.76,112.76,0,0,0,112.75,444.3h11.81a30,30,0,0,1,28,40.89L85.26,659.7a30,30,0,0,0,28,40.89h79.28a30,30,0,0,0,26.62-16.12l95.72-182.86a263.08,263.08,0,0,0,30-122V212.16A112.78,112.78,0,0,0,232.14,99.4Z' transform='translate(0 -99.4)' fill='%2325364a'/%3E%3Cpath d='M687.25,99.4H567.86A112.76,112.76,0,0,0,455.11,212.16V331.55A112.76,112.76,0,0,0,567.86,444.3h11.79a30.08,30.08,0,0,1,28.06,40.89L540.35,659.7a30.08,30.08,0,0,0,28.06,40.9h79.25a30.12,30.12,0,0,0,26.66-16.13L770,501.61a263.08,263.08,0,0,0,30-122V212.16A112.76,112.76,0,0,0,687.25,99.4Z' transform='translate(0 -99.4)' fill='%2325364a'/%3E%3C/svg%3E");
}
.trd_cnt blockquote:after {
    content: "";
    position: absolute;
    right: -25px;
    background: #fff;
    width: 60px;
    height: 50px;
    border: 1px solid #ebf0f4;
    border-left-width: 2px;
    z-index: -1;
    top: 50%;
    transform: translate(0, -50%);
}
.trd_cnt a {
    color: #a80000;
    font-size: 16px;
}
.trd_cnt a:hover {
    color: #1d2b3b;
    text-decoration: underline;
}
.trd_cnt h2,
.trd_cnt h3 {
    margin: 0.7em 0;
}
.trd_cnt h2 {
    font-size: 18px;
}
.trd_cnt h3 {
    font-size: 16px;
}
.trd_cnt ul,
.trd_cnt ol {
    margin: 0.3em 0 0.5em;
    margin-right: 1.2em;
}
.trd_cnt img {
    margin: 0.7em auto;
    vertical-align: bottom;
    display: flex;
}

.trd_cnt figcaption {
    margin: -10px 0 0.5em 0;
    color: #545454;
    text-align: center;
    background: #f5f5f5;
    font-size: 12px;
    padding: 4px;
}
.trd_cnt hr {
    max-width: 350px;
    border: none;
    background: linear-gradient(90deg, rgb(255 255 255 / 0%) 0%, rgb(29 43 59 / 15%) 50%, rgb(255 255 255 / 0%) 100%);
    height: 1px;
    margin: 0.7em auto;
}
.trd_cnt a[href$=".mp3"] {
    background: linear-gradient(180deg, #1765e1 0%, #673ab7 100%);
    border: 1px solid #673ab7;
    display: table;
    margin: 1em auto;
    padding: 0.6em 1.2em;
    color: #fff !important;
    font-weight: 400;
    align-items: center;
}
.trd_cnt a[href$=".mp3"]:before {
    content: "";
    width: 18px;
    height: 18px;
    float: right;
    margin: 6px 0 0 7px;
    background-size: cover;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath d='M100,173.33c0,17.29,0,25.93,5.37,31.3s14,5.37,31.3,5.37h36.66c17.29,0,25.93,0,31.3-5.37s5.37-14,5.37-31.3' transform='translate(-95 -95)' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='10'/%3E%3Cpath d='M155,100v79.44m0,0,24.44-26.73M155,179.44l-24.44-26.73' transform='translate(-95 -95)' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='10'/%3E%3C/svg%3E");
}
.trd_vjie {
    padding: 0.7em 0.8em;
    position: relative;
    width: 100%;
    margin: 0.9em 0;
    background: #f5f9fc;
    border: 1px solid #ebf0f4;
    border-left-width: 3px;
    color: #494949;
}
.trd_vjie:before {
    content: "";
    width: 18px;
    height: 18px;
    float: right;
    margin: 5px 0 0 7px;
    background-size: cover;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath d='M155,100l12.44,31.54a26.48,26.48,0,0,0,2.6,5.6,12.18,12.18,0,0,0,2.82,2.82,26.48,26.48,0,0,0,5.6,2.6L210,155l-31.54,12.44a26.48,26.48,0,0,0-5.6,2.6,12.18,12.18,0,0,0-2.82,2.82,26.48,26.48,0,0,0-2.6,5.6L155,210l-12.44-31.54a26.48,26.48,0,0,0-2.6-5.6,12.18,12.18,0,0,0-2.82-2.82,26.48,26.48,0,0,0-5.6-2.6L100,155l31.54-12.44a26.48,26.48,0,0,0,5.6-2.6,12.18,12.18,0,0,0,2.82-2.82,26.48,26.48,0,0,0,2.6-5.6Z' transform='translate(-95 -95)' fill='none' stroke='%23999' stroke-linecap='round' stroke-linejoin='round' stroke-width='10'/%3E%3C/svg%3E");
}
.trd_vjie a {
    font-size: 15px;
}
.trd_cnt table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    border: 2px solid #e2e8ed;
    margin: 0.7em 0;
    font-size: 15px;
}
.trd_cnt td,
.trd_cnt th {
    padding: 0.7em;
    border: 1px solid #ebf0f4 !important;
}
.wp-video {
    width: 100% !important;
    text-align: center;
}
.wp-video video,
.trd_cnt video,
.trd_cnt audio {
    margin: 0.8em auto;
    display: block;
    height: auto;
    width: 100%;
}
.trd_cnt audio {
    height: revert !important;
}
.trd_single > footer {
    background: #f5f9fc;
    padding: 0.9em 1em;
    border-top: 1px solid #ebf0f4;
    display: flex;
    flex-direction: column;
    gap: 0.9em;
}
.trd_single > footer h2 {
    display: flex;
    align-items: center;
    gap: 0.5em;
    stroke: #aaa;
    font-size: 16px;
    color: #25364a;
}
.trd_tag {
    width: 100%;
    gap: 0.7em;
    display: flex;
}
.trd_tag span {
    display: flex;
}
.trd_tag a {
    background: #fff;
    border: 1px solid rgb(29 43 59 / 12%);
    box-shadow: 0 5px 15px rgb(29 43 59 / 5%);
    font-size: 14px;
    padding: 0.4em 0.8em;
    color: #525252;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.2em;
}
.trd_tag a:before {
    content: "#";
    color: rgb(29 43 59 / 30%);
    transition: all 300ms ease-out;
}
.trd_tag a:hover {
    background: #673ab7;
    color: #fff;
    box-shadow: 0 5px 15px rgb(10 81 194 / 20%);
}
.trd_tag a:hover:before {
    color: rgb(225 225 225 / 40%);
}

/* دیدگاه */ /* is_single() || is_page() */
.trd_cmntc {
    padding: 1em;
}
.trd_cmntc input,
.trd_cmntc textarea {
    padding: 0.8em 1.3em;
    transition: all 0.3s ease-out;
    font-size: 14px;
    border: 1px solid #ebf0f4;
    color: #25364a;
}
.trd_hld {
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 0 1em;
    gap: 1em;
}
.trd_hld2 {
    display: flex;
    flex-direction: column;
    width: 35%;
    position: relative;
    gap: 1em;
}
.trd_cmntc input {
    width: 100%;
    background-position: center right 15px;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 2.8em;
}
.trd_cmntc form input[name="author"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 533.33 666.67'%3E%3Cpath d='M166.67,700c0-128.87,104.46-233.33,233.33-233.33S633.33,571.13,633.33,700m-100-466.67A133.33,133.33,0,1,1,400,100,133.33,133.33,0,0,1,533.33,233.33Z' transform='translate(-133.33 -66.67)' fill='none' stroke='%23999' stroke-linecap='round' stroke-linejoin='round' stroke-width='66.67' opacity='0.4'/%3E%3C/svg%3E");
    background-size: 13px;
}
.trd_cmntc form input[name="email"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19.5 19.5'%3E%3Cpath d='M12,2.25a9.75,9.75,0,0,0,0,19.5.75.75,0,0,0,0-1.5A8.25,8.25,0,1,1,20.25,12c0,1.64-1.11,3.25-2.25,3.25s-1.75-.88-1.75-2.25V8.5a.75.75,0,0,0-1.5,0v.29a4.2,4.2,0,0,0-2.75-1,4.25,4.25,0,1,0,3.13,7.1A3.12,3.12,0,0,0,18,16.75c2.21,0,3.75-2.5,3.75-4.75A9.76,9.76,0,0,0,12,2.25Zm0,12.5A2.75,2.75,0,1,1,14.75,12,2.75,2.75,0,0,1,12,14.75Z' transform='translate(-2.25 -2.25)' fill='%23999' opacity='0.4'/%3E%3C/svg%3E");
}
.trd_cmntc textarea {
    resize: none;
    flex: 1;
}
.trd_cmntc .wpcta {
    width: 100%;
    height: 100px;
}
.trd_cmntc input:hover,
.trd_cmntc textarea:hover,
.trd_cmntc input:focus,
.trd_cmntc textarea:focus {
    border-color: #673ab7;
}
.trd_cmntc form button {
    font-size: 15px;
    cursor: pointer;
    width: auto;
    padding: 0.8em 1.2em;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    position: absolute;
    left: 11px;
    bottom: 11px;
    gap: 0.5em;
    transition: all 300ms ease-out;
    color: #fff;
    stroke: #fff;
    background: linear-gradient(180deg, #1765e1 0%, #673ab7 100%);
    border: 1px solid #673ab7;
}
.trd_cmntc form {
    margin: 0 0 1em;
}
.trd_cmntc > ul {
    position: relative;
    padding: 55px 0 0;
    max-height: 400px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.trd_cmntc ul {
    display: flex;
    flex-direction: column;
    gap: 0.8em;
}
.trd_cmntc > ul:before {
    content: attr(data-answr);
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    top: 0;
    padding: 0 2em;
    color: #4f4f4f;
    font-size: 15px;
    height: 35px;
    display: flex;
    border-bottom: 1px solid #ebf0f4;
    width: 100%;
    text-align: center;
    justify-content: center;
}
.trd_cmntc > ul:after {
    content: "";
    background-image: linear-gradient(180deg, rgb(255 255 255 / 0%) 0, #ffffff 100%);
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    right: 0;
    left: 0;
}
.trd_cmntc > ul.expanded {
    max-height: none;
}
.trd_cmntc > ul.expanded:after {
    display: none;
}
.trd_cmntc > ul.height400:after {
    display: none;
}
.trd_cmnt_more {
    border-bottom: 1px solid #e0e7ec;
    position: relative;
    margin: 0 0 1.2em;
}
.trd_cmnt_more button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #3c4e62;
    height: 32px;
    font-size: 14px;
    padding: 0 1.2em;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.6em;
    transition: all 300ms ease-out;
}
.trd_cmnt_more button:hover {
    background: #a80000;
}
.trd_cmnt_more button:after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1px solid;
    border-bottom: 1px solid;
    border-color: rgb(255 255 255 / 50%);
    transform: rotate(45deg);
    margin: -3px 0 0;
    transition: all 300ms ease-out;
}
.trd_cmntc > ul li {
    padding: 1em;
    display: flex;
    gap: 0.6em;
    background: #f5f9fc;
    border: 1px solid #e6eaed;
}
.trd_cmntc ul li.administrator {
    background: #ebf0f4;
    border-color: #f5f9fc;
}
.trd_cmntc ul li:last-child {
    margin: 0;
}
.trd_cmntc > ul .children {
    width: 100%;
    margin: 0 0.5em 0 0;
}
.trd_cmntc .children li {
    position: relative;
    margin-top: 1em !important;
}
.trd_cmntc .children li:nth-child(1) {
    margin-top: 0.4em !important;
}
.trd_cmntc .children li:before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 7px 5px;
    border-color: transparent transparent var(--brdr-clr);
    position: absolute;
    top: -5px;
    right: 1em;
}
.trd_cmntc .children li.administrator:before {
    border-color: transparent transparent #ebf0f4;
}
.trd_cmntc .children ul li.administrator:before {
    border-color: transparent transparent #f5f9fc;
}
.trd_cmlti {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5em;
    width: 100%;
}
.trd_cmlti strong {
    display: flex;
    align-items: center;
    gap: 0.4em;
    font-size: 14px;
}
.trd_cmlti strong:before {
    content: attr(data-name);
    background: rgb(60 78 98 / 15%);
    width: 35px;
    height: 25px;
    color: #3c4e62;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 400;
    font-size: 15px;
}
.trd_cmlti i {
    color: #4f4f4f;
    font-size: 13px;
    font-style: normal;
}
.trd_cmlti b {
    font-size: 13px;
    font-weight: 400;
    padding: 2px 5px;
    background: #673ab7;
    color: #fff;
}
.trd_cmltc {
    overflow-wrap: break-word;
    width: 100%;
    line-height: 1.8;
    font-size: 15px;
}
.trd_cmltit {
    display: block;
    padding: 0.8em;
    width: 100%;
    text-align: center;
    background: #3c4e62;
    color: #fff;
    font-size: 15px;
}
.trd_cmltn {
    display: flex;
    align-items: center;
    gap: 0.5em;
    color: #a80000;
    width: 100%;
    margin: 3px 0 -5px;
}

@media screen and (max-width: 1000px) {
    .trd_rghw,
    aside {
        width: 100%;
    }
    main,
    body {
        gap: 1.2em;
    }
}
@media screen and (max-width: 900px) {
    .trd_footer div {
        flex-direction: column;
        gap: 1.2em;
    }
    .trd_footer p {
        text-align: center;
    }
}
@media screen and (max-width: 800px) {
    .trd_hdr_cntr {
        order: 1;
        padding: 1.2em 0;
    }
    .trd_nav_top {
        order: 2;
    }
    .trd_nav_btm {
        order: 3;
    }
    .trd_nav_top > div,
    .trd_hdr_cntr > div {
        flex-direction: column;
    }
    .trd_nav_top {
        height: inherit;
        padding: 1em 0;
        display: flex;
        flex-direction: column;
    }
    .trd_nav_top form {
        width: 100%;
        height: 44px;
    }
    .trd_nav_top form button {
        width: 32px;
        height: 32px;
    }
    .trd_nav_top ul,
    .trd_nav_btm ul {
        gap: 0.5em;
        justify-content: center;
        width: 100%;
    }
    .trd_nav_top li {
        display: flex;
    }
    .trd_nav_btm ul .sub-menu {
        display: none !important;
    }
}
@media screen and (max-width: 640px) {
    .trd_ipst.trd_pst_sml figure {
        height: 130px;
    }
    .trd_arcv figure {
        width: 100px;
        height: 100px;
    }
    .trd_arcv div {
        margin: 0.2em 0 0.3em;
        font-size: 13px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .trd_arcv h2 {
        font-size: 14px;
    }
}
@media screen and (max-width: 520px) {
    .trd_bnr {
        width: 100% !important;
        height: auto !important;
    }
    .trd_hdrm .trd_logo a {
        font-size: 18px;
    }
}
@media screen and (max-width: 480px) {
    .trd_ipst {
        grid-template-columns: repeat(1, 1fr);
    }
    .trd_ipst.trd_pst_sml {
        grid-template-columns: repeat(2, 1fr);
    }
    .trd_hld {
        flex-direction: column;
    }
    .trd_hld2 {
        flex-direction: row;
        width: 100%;
    }
    .trd_cmntc textarea {
        flex: initial;
        height: 120px;
    }
}
@media screen and (max-width: 400px) {
    .trd_hdrm .trd_logo a {
        text-indent: -2000px;
        overflow: hidden;
        gap: 0;
    }
}
@media screen and (max-width: 350px) {
    .trd_hld2 {
        flex-direction: column;
    }
    .trd_cmntc textarea {
        height: 140px;
    }
    .trd_cmnt_more button {
        width: 65%;
        justify-content: center;
    }
}
@media screen and (max-width: 330px) {
    .trd_hdrm form {
        display: inline-block;
        position: relative;
        padding: 0;
    }
    .trd_hdrm form input {
        width: 100%;
        padding: 0 0.7em;
    }
    .trd_hdrm form button {
        left: 10px;
        top: 12px;
        position: absolute;
    }
}

#ez-toc-container {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}