/*
  color palette:
  main: #2980b9
  dark: #184f74
  light: #3498db
 */
:root {
  --main-color: #2980b9;
  --main-color-dark: #184f74;
  --main-color-darker: #114060;
  --main-color-light: #3498db;
  --main-color-lighter: #54b3f2;;
}
*,*:before,*:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;}
*:focus { outline: 0; }
/* Generated by script */
@font-face {
  font-family: Vazirmatn;
  src: url('../fonts/webfonts/Vazirmatn-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('../fonts/webfonts/Vazirmatn-ExtraLight.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('../fonts/webfonts/Vazirmatn-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('../fonts/webfonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('../fonts/webfonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('../fonts/webfonts/Vazirmatn-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('../fonts/webfonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('../fonts/webfonts/Vazirmatn-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('../fonts/webfonts/Vazirmatn-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
html,body,div,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,fieldset,input { margin: 0; padding: 0; }
body { direction: rtl; background: #f2f3fb; color: #505050; line-height: 24px; word-wrap: break-word; font-family: 'Vazirmatn', tahoma; font-size: 15px; }
h1, h2, h3, h4, h5 { line-height: normal;  }
a { color: #000; text-decoration: none; transition: .2s; }
a:hover { color: #2e6a9f; }
img{border:none;vertical-align:middle; }
img::selection{ background: transparent; }
img::-moz-selection{ background: transparent; }
::selection{ background:#49a1fa; color:#fff; text-shadow:1px 1px 0 #000; }
::-webkit-input-placeholder { color: #aaa; direction: rtl; text-align: right; }
::-moz-placeholder { color: #aaa; direction: rtl; text-align: right; }
:-ms-input-placeholder { color: #aaa; direction: rtl; text-align: right; }
input, button, textarea, select { border: 1px solid #e0e0e0; background: #fff; font-family: 'Vazirmatn', tahoma; font-size: 14px; transition: .3s; }
input:focus { border: 1px solid #aaa; }
input[type=checkbox] { vertical-align: middle; }
li { list-style-type: none; }
.left { float: left; }
.right { float: right; }
.taleft { text-align: left; }
.taright { text-align: right; }
.center { text-align: center; }
.justify { text-align: justify; }
.valign { vertical-align: middle; }
.ltr { text-align: left; }
.rtl { text-align: right; }
.en { font-family: tahoma !important; }
.oh { overflow: hidden; }
.clear, .clr { clear: both; }

.wrapper { width: 1160px; margin: 0 auto; overflow: hidden; }

.topbar { background: var(--main-color); border-bottom: 1px solid var(--main-color-dark); height: 40px; color: #fff; font-size: 13px; }
.topbar .wrapper { height: 40px; }
.topbar .right { padding-top: 8px; }
.topbar .left a { display: inline-block; float: left; padding: 8px 10px 7px 14px; background: var(--main-color-light); color: #fff; border-right: 1px solid var(--main-color-light); border-left: 1px solid var(--main-color-light); border-bottom: 1px solid var(--main-color-light); height: 40px; }
.topbar .left a img { margin-left: 5px; vertical-align: middle; }
.topbar .left a:hover { background: var(--main-color-lighter); }

.header { background: var(--main-color); text-align: center; }
.header h1 { color: #57a7f1; font-size: 32px; padding: 30px 0 0 0; }
.header h2 { color: #fff; font-size: 17px; padding-bottom: 40px; }

.navigation { background: #fff; text-align: center; margin-bottom: 35px; box-shadow: 0 3px 3px rgba(0,0,0,0.03); z-index: 100; width: 100%; top: 0; transition: .3s; }
.navigation ul { border-top: 1px solid #ebebeb; }
.navigation li { display: inline-block; position: relative; }
.navigation li.sub > a:after { content: ' '; display: block; margin: 5px 4px 0 0; width: 16px; height: 16px; float: left; background-image: url('../images/down.png'); background-repeat: no-repeat; opacity: 0.6; }
.navigation li a { display: block; padding: 14px 20px; font-size: 14px; }
.navigation ul li ul { position: absolute; z-index: 2; visibility: hidden; opacity: 0; right: 0; background: #fff; top: 82px; min-width: 200px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); transition: .3s; }
.navigation ul li:hover ul { visibility: visible; opacity: 1; top: 52px; }
.navigation ul li ul li { display: block; text-align: right; border-bottom: 1px solid #ebebeb; }
.navigation ul li ul li:last-child { border: none; }
.navigation ul li ul li a { padding: 8px 20px 12px 20px; }

.sidebar { }
.main { width: 780px; float: right; }

.section { border-radius:15px;background: #fff; padding: 15px 20px; margin-bottom: 34px; box-shadow: 0 2px 2px rgba(0,0,0,.04); }
.section-title { color: #444; margin-bottom: 12px; font-size: 17px; border-bottom: 1px solid #ebebeb; padding-bottom: 6px; }
.section-main-title { color: #444; margin-bottom: 12px; border-bottom: 1px solid #ebebeb; padding-bottom: 6px; }
.section-title span , .section-main-title span { border-bottom: 1px solid #53a5f4; padding-bottom: 5px;font-weight: bold; }
.section-main-title h3 { font-size: 19px; }
.section-main-title h3 span { padding-bottom: 6px; }
.section-main-title a { color: #444; }
.section-footer { overflow: hidden; font-size: 14px; color: #888; border-top: 1px solid #efefef; margin-top: 15px; padding-top: 10px; }
.section-footer a { color: #49a1fa; }

.sidebar .section ul li { list-style-type: none; border-bottom: 1px dashed #e8e8e8; }
.sidebar .section ul li:last-child { border: 0; }
.sidebar .section ul li a { padding: 8px 0; display: block; font-size: 14px; }
.sidebar input[type=text] { width: 252px; padding: 6px 10px 4px 10px; margin: 8px 0; border-radius: 3px; }
.sidebar input[type=submit] { width: auto; padding: 2px 10px 4px 10px; margin: 8px 4px 8px 0; background: #49a1fa; color: #fff; border: none; border-radius: 3px; cursor: pointer; transition: .3s; }
.sidebar input[type=submit]:hover { background: #1B8DC5; }
.shorty img { max-width: 100%; margin: 5px 0 }
.ratebox { position: absolute; left: 20px; top: 25px;  }
#fullnews { position: relative; font-feature-settings: "ss01";}
#fullnews .section-main-title { width: 100%; }
p { font-size: 16px;
  line-height: 1.9; }
.fullnews-s img  {
  border-radius: 15px;
  margin:5px auto;
  display: block;
  max-width: 100%;
  height: auto;
}
#fullnews header h1 a,
.fullnews-s h1,
.fullnews-s h2,
.fullnews-s h3,
.fullnews-s h4,
.fullnews-s h5 {
  color: #333;
}
.fullnews-s a:hover{
  color: #2e6a9f;
}

.fullnews-s h2,
.fullnews-s h3,
.fullnews-s h4,
.fullnews-s h5 {
  margin-top: 20px;
}
#fullnews header h1{
  font-size: 28px;
  font-weight: 800;
}
.fullnews-s h2{
  font-size: 23px;
  font-weight: 600;
}
.fullnews-s h3{
  font-size: 20px;
  font-weight: 600;
}
.fullnews-s h4{
  font-size: 18px;
  font-weight: 600;
}
.fullnews-s h5{
  font-size: 16px;
  font-weight: 600;
}
.fullnews-s  a { color: #6b2979; }
.fullnews-date { position: absolute; background: #f2f3fb; color: #252943; height: 46px; width: 46px; margin-left: 20px; font-size: 13px; text-align: center; }
.fullnews-date span { display: block; font-size: 12px; background: #ff6763; color: #fff; }
.fullnews-s ul {
  padding-right: 30px;
}
.fullnews-s li {
  list-style-type: disc;
}
.news-footer .left span { display: inline-block; padding: 0 12px 2px 0; }
.news-footer .left strong { font-weight: normal; color: #333; }
.read-more { background: #4fa3f7; color: #fff; padding: 6px 16px 7px 16px; font-size: 12px; border-radius: 3px; }
.read-more:hover { background: #333; color: #fff; }

/* w w w . d a t a l i f e e n g i n e . i r */
.footer { background: #252b42; padding: 35px 0 0; color: #bbbed0; font-size: 13px; overflow: hidden; }

.footer-column h5 { color: #fff; border-bottom: 1px solid #444965; font-size: 17px; padding-bottom: 8px; margin-bottom: 15px; }
.footer-column h5 span { border-bottom: 1px solid #4d85bd; padding-bottom: 8px; }
.footer-content li { border-bottom: 1px dashed #333; }
.footer-content li:last-child { border: 0; }
.footer-content li a { display: block; padding: 6px 0; color: #888; }
.footer-content li a:hover { color: #fff; }
.tags { color: #abaec2; }
.tags a { border: 1px solid #444866; color: #abaec2; font-size: 13px; margin: 0 0 8px 4px; padding: 2px 8px; display: inline-block; }
.tags a:hover { border-color: #49a1fa; color: #fff; background: #49a1fa; }

.copyright { background: #1e1f3b; overflow: hidden; color: #bbbed0; padding-top: 28px; padding-bottom: 28px; border-top: 1px solid #2e324a; }
.copyright a { color: #49a1fa; }
.copyright .left {  font-size: 13px;}

.tableform {  margin-top: 15px; font-size: 13px; padding: 10px; }
.tableform.no-margin { margin: 0; }
.tableform select { width: 100%; font-family: 'Vazirmatn', tahoma; font-size: 13px; padding: 3px 8px; color: #333; border: 1px solid #DBDBDB; }
.tableform td { padding: 10px; }
.tableform tr {}
.important , .impot { color: #e12312; font-size: 12px !important; font-family: tahoma; vertical-align: middle; }

.submit, .bbcodes { background: #449ffd;border-radius: 8px; border: 0; font-size: 14px; padding: 2px 18px 4px 18px; color: #FFF; transition: .3s; }
.submit:hover , .bbcodes:hover { background: #3498db; }
.f_input , .xprofile input[type=text] { border: 1px solid #DBDBDB; background-color: #FFF; width: 100%; padding: 4px 8px; font-family: 'yekan', tahoma; font-size: 13px; color: #333; transition: .3s; }
.f_textarea{width:100% !important;margin-top:0 !important;height:124px !important;}
.f_textarea { background-color: #FFF; border: 1px solid #DBDBDB; padding: 3px 8px; font-family: 'yekan', tahoma; font-size: 13px; color: #333; }
.f_input:focus , .f_textarea:focus { border-color: #A6A6A6; }
.f_input:disabled { background: #E7E7E7; color: #969696; border: 1px solid #CDCDCD; }
.f_input.en { padding: 8px 8px; }
.f_input.en::-webkit-input-placeholder { direction: ltr !important; text-align: left !important; }
.f_input.en::-moz-placeholder { direction: ltr !important; text-align: left !important; }
.f_input.en::-ms-input-placeholder { direction: ltr !important; text-align: left !important; }

.isa_info, .isa_success, .isa_warning, .isa_error { margin: 0 0 10px 0; padding: 12px; }
.isa_info { color: #00529B; background-color: #BDE5F8; border: 1px solid #81CAED; }
.isa_success { color: #4F8A10; background-color: #DFF2BF; }
.isa_warning { color: #9F6000; background-color: #FEEFB3; border: 1px solid #E8CE4B; }
.isa_error { color: #D8000C; background-color: #FFBABA; }
.isa_info i, .isa_success i, .isa_warning i, .isa_error i { margin: 6px 10px 6px 16px; font-size: 2em; vertical-align: middle; }

.comments { overflow: hidden; margin-bottom: 10px; }
.comments .cm-info { float: right; text-align: center; font-size: 13px; }
.comments .avatar
{
  background: #FFF;
  border: 1px solid #E0E0E0;
  border-radius: 50px;
  display: inline-block;
  padding: 3px;
  margin-top: 5px;
}
.comments .avatar img
{
  width: 32px;
  height: 32px;
  border-radius: 50px;
}
.comments-tree-list .comments-tree-list{
  padding-right: 40px;
  padding-left: 0 !important;
}
.comments .author
{
  display: inline-block;
  color: #444;
  font-size: 16px;
  font-weight: bold;
  padding: 7px 3px;
}
.comments .author a { color: #444; }
.comments .date {
  color: #666;
  font-size: 9px;
  float: left;
  padding-top: 2px;
}
.comments .reply {
  background: var(--main-color-darker);
  color: #fff;
  padding: 5px 10px;
  border-radius: 7px;
  float: left;
}
.comments .delete { position: absolute; display: block; background: #FF3D2C; top: 10px; left: 0; text-align: center; }
.comments .section
{
  min-height: 116px;
  padding: 10px;
  position: relative;
  line-height: 18px;
  font-size: 13px;
  margin: 0;
  margin-right: 60px;
}
.comments .section:after, .comments .section:before { left: 100%; top: 25px; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none; }
.comments .section:after { border-color: rgba(255, 255, 255, 0); border-left-color: #fff; border-width: 13px; margin-top: -13px; }
.comments .section:before { border-color: rgba(223, 223, 223, 0); border-left-color: #E0E0E0; border-width: 14px; margin-top: -14px; }
.comments .cm-bt a
{
  border-radius: 4px;
  padding: 1px 4px;
  margin: 2px;
  display: inline-block;
  border: 1px solid #ebebeb;
  font-size: 11px;
  color: #737373;
}

.comments .cm-bt a svg
{
  width: 12px;
}
.comments .cm-bt img { }

.modal { display: none; position: absolute; z-index: 1000000; }
.modal-bg { background: #fff; opacity: 0.8; position: fixed; width: 100%; height: 100%; top: 0; right: 0; z-index: 9999999; }
.modal-box { position: fixed; z-index: 99999999; top: 50%; right: 50%; background: #333; border-radius: 4px; width: 360px; height: 260px; margin-top: -130px; margin-right: -180px; box-shadow: 0 0 8px 0 rgba(0,0,0,0.25); transition: .5s cubic-bezier(0.2, 1.12, 0.62, 1.35); -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; backface-visibility: hidden; -webkit-transform: perspective(600) scale(0.5) rotateX(-90deg); -moz-transform: perspective(600) scale(0.5) rotateX(-90deg); transform: perspective(600) scale(0.5) rotateX(-90deg); -webkit-transform-origin: center; -moz-transform-origin: center; transform-origin: center; }
.modal-title { position: relative; background: #449ffd; padding: 5px 12px 9px 12px; border-bottom: 1px solid #01A1CE; color: #fff; font-size: 17px; border-radius: 4px 4px 0 0; }
.modal-content { padding: 8px 12px; color: #fff; }
.modal-close { position: absolute; top: 7px; left: 7px; width: 20px; height: 20px; background: url('../images/close.png') center center no-repeat; cursor: pointer; transition: .3s; }
.modal-close:hover { background-color: rgba(255,255,255,.2); opacity: .5; }

.login-box { color: #DEDEDE; font-size: 13px; }
.login-desc { padding-bottom: 8px; }
.login-box input[type=text], .login-box input[type=password] { width: 100%; margin: 6px 0; color: #fff; background: #4C4C4C; border-radius: 3px; border: none; padding: 2px 8px 6px 8px; border-bottom: 1px solid #2B2B2B; }
.login-box label { display: inline-block; margin: 6px 0; }
.login-box label input { margin-left: 6px; }
.login-box input[type=submit] { background: #2cc36b; color: #fff; border: none; padding: 0 20px 5px 20px; border-radius: 4px; margin-top: 8px; cursor: pointer; }
.login-box input[type=submit]:hover { background: #2ecc71; }
.login-box .left a { display: inline-block; color: #fff; margin-top: 10px; }
.user-panel-box a { color: #fff; font-size: 12px; }

.user-panel-box .avatar { float: right; width: 120px; text-align: center; margin-top: 10px; }
.user-panel-box .user-info { float: right; width: 210px; padding-top: 10px; }
.user-panel-box .user-info li { list-style-type: none; }
.user-panel-box .user-info li a { color: #fff; display: block; padding: 2px 6px; background: #3C3C3C; border-radius: 3px; margin-bottom: 2px; }

.pm_status { float: left; direction: ltr; border: 1px solid #e1e3ef; padding: 0px; background-color: #f2f3fb; width: 49%; height: 150px; margin-bottom: 10px; }
.pm_status_head { border-bottom: 1px solid #dee0ea; font-size: 14px; background: #f2f3fb; padding: 6px 0; text-align: center; color: #6E6E6E; }
.pm_status_content { padding: 10px; font-size: 13px; color: #333; direction: rtl; }
.pm_status_content a { background: #e5e6ef; border-radius: 2px; padding-top: 21px; width: 102px; height: 70px; margin: 12px 4px 0 4px; text-align: center; float: right; box-shadow: 0 1px 0 rgba(0,0,0,.2); }
.pm_info { clear: both; float: left; margin-top: 6px; }
.pm_info .ignore { background: #4D4D4D; padding: 1px 8px 5px 8px; display: inline-block; color: #FFF; font-size: 13px; }
.pm_info .complaint { background: #FF8F31; padding: 1px 8px 5px 8px; display: inline-block; color: #FFF; font-size: 13px; margin: 0 4px; }
.pm_info .replys { background: #39D179; padding: 1px 8px 5px 8px; display: inline-block; color: #fff; font-size: 13px; }

.userinfo { position: relative; }
.userinfo tr td { background: #f2f3fb; padding: 4px 6px 6px 6px; }
.userinfo .rtd2 { background: #f2f3fb; padding: 4px 6px 6px 6px; }
.userinfo tr:nth-child(even) td { background: #f8f9ff; }
.userinfo .fa-check-circle { margin-left: 4px; color: #38C200; padding: 0 0 2px 0; }
.userinfo .fa-times { margin-left: 4px; color: #C20000; padding: 0 0 2px 0; }
.userinfo .fa-rss { margin-right: 4px; color: #FA7B00; padding: 0 0 2px 0; }
.userinfo table { border-left: 1px solid #f2f3fb; border-top: 1px solid #f2f3fb; margin-bottom: 10px; font-size: 13px; }
.userinfo .avatar { position: absolute; left: 0px; }
.userinfo .avatar img { padding: 0 14px 14px 0; background-color: #FFF; border-bottom: 1px solid #f2f3fb; border-right: 1px solid #f2f3fb; box-shadow: 2px 2px 0 #FFF; }

.page-navigation { background: #FFF; border: 1px solid #D7D7D7; margin: 10px 0; font-size: 13px; padding: 14px; overflow: hidden; border-radius: 10px;}
.page-navigation a { color: #FFF; display: inline-block; background: #51B1CC; padding: 1px 0 0 0; width: 26px; height: 26px; white-space: nowrap; text-align: center; border-radius: 5px;}
.page-navigation a:hover { background: #333; }
.page-navigation span { color: #FFF; display: inline-block; background: #C5C5C5; padding: 1px 0 0 0; width: 26px; height: 26px; white-space: nowrap; text-align: center;border-radius: 5px; }
.pages-arrows a , .pages-arrows span { width: auto; padding: 2px 10px; }
.pages-arrows i { padding: 2px 0 0 0; }

.siteinfo { overflow: hidden; }
.siteinfo-title { border-bottom: 2px solid #333; padding-bottom: 5px; margin-bottom: 8px; }
.siteinfo-right { float: right; padding: 0 0 5px 0; width: 50%; color: #989898; }
.siteinfo-left { float: right; padding: 0 0 5px 0; width: 50%; color: #989898; }
.button-switcher >.switcher{display:none}

@media only screen and (max-width : 1024px) {
  .wrapper { width:980px}
  .main{width:620px}
  .sidebar{width:349px}
}
@media only screen and (max-width : 1023px) {
  .wrapper { width:98%}
  .main{width:100%}
  .sidebar{width:100%}
}
@media only screen and (max-width : 650px) {
  .button-switcher > li {border: 0 none;display: none;float: none;}
  .button-switcher > .switcher {display: block;}
  .button-switcher:hover > li {border-top: 1px solid #d9d9d9;display: block}
  .button-switcher:hover > .switcher {display: none;}
  .navigation{text-align:right}
  .navigation li.sub > a:after {float: right;margin-left:5px }
  .highslide img{width:100%}
}
@media only screen and (max-width : 360px) {
  .topbar{font-size:10px}
  .sidebar input[type="text"] {width: 215px;}
}

.lastcomm {margin: -20px 0 0 0; padding: 0;list-style: none;}
.lastcomm > li > a:after { content: ""; display: block; clear: both; }
.lastcomm > li > a {display: block;color: inherit;text-decoration: none !important;border-bottom: 1px solid #d5d5d5;padding: 25px 0 25px 33px;}
.lastcomm > li:last-child > a { border-bottom-width: 0; }
.lastcomm > li > a .icon, .lastcomm > li > a > b { -webkit-transition: all ease .2s; transition: all ease .2s; }
.lastcomm > li > a .icon {width: 16px; height: 14px;float: left;margin: 4px 0 0 -33px;}
.lastcomm > li > a > * { cursor: pointer;  }
.lastcomm > li > a > b { margin-top: .4em;}
.lastcomm > li > a > span {	font-size: .9em;}
.lastcomm > li > a:hover > b { color: #3394e6; }
.sub-prefix{margin-top:-15px;padding-right:10px;}
.sub-prefix li a { padding: 0; display: block; font-size: 14px; }
.sub-prefix li a:before {list-style:none;padding-left:5px;content:'\000BB';font-size: 14px;}

.instagram-media, .twitter-tweet {display: inline-block !important;}



.clearfix:after,
.clearfix:before,
.container:after,
.container:before,
.modal-footer:after,
.modal-footer:before,
.modal-header:after,
.modal-header:before,
.nav:after,
.nav:before,
.panel-body:after,
.panel-body:before,
.row:after,
.row:before {
  content: " ";
  display: table;
}
.clearfix:after,
.container:after,
.modal-footer:after,
.modal-header:after,
.nav:after,
.panel-body:after,
.row:after {
  clear: both;
}


.singlePost{
  background-color: #fff;
  border-radius: 15px;
}
.singlePost .post-thumb{
  padding-right: 0;
  position: relative;
}
.singlePost .post-thumb img{
  border-radius: 0px 15px 15px 0px;
  width: 100%;
}
.singlePost .post-thumb .post-badge{
  position: absolute;
  right: 25px;
  top: 10px;
  background-color: var(--main-color);
  color: var(--main-color-darker);
  font-weight: normal;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 12px;
}
.singlePost .post-thumb .post-badge::before{
  content: "";
  width: 5px;
  height: 5px;
  background-color: #fff;
  border-radius: 50px;
  display: inline-block;
  margin-left:3px;
}
.singlePost .post-thumb .post-badge a{
  color: #fff;
}
.singlePost .content{
  padding: 10px;
  position: relative;
}
.singlePost .content h2
{
  font-weight: bold;
  font-size: 18px;
  border-bottom: 1px solid #f2f2f2;
  padding: 5px 0px;
  margin-bottom: 5px;
}
#fullnews .meta span,
.singlePost .content .meta span{
  font-size: 13px;
  border: 1px solid #f2f2f2;
  padding: 2px 5px;
  margin-left: 5px;
  border-radius: 5px;
}
#fullnews .meta span:hover,
.singlePost .content .meta span:hover{
  background-color: #f2f2f2;
  cursor: default;
}
#fullnews .meta span svg,
.singlePost .content .meta span svg{
  width: 18px;
}
.farsi_digits {
  font-feature-settings: "ss01";
}
.singlePost .content .text{
  margin-top: 10px;

}
.singlePost .content .text p{
  margin-bottom: 30px;

}
.singlePost .content .readMore{
  position: absolute;
  left: 10px;
  bottom: 10px;
}
.btn-dorjin{
  background-color: var(--main-color);
  border-color: var(--main-color);
}
.btn-dorjin:hover{
  background-color: var(--main-color-dark);
  border-color:var(--main-color-dark);
}
.fullstory-image img{
  max-width: 100%;
  border-radius: 15px;
  margin-bottom: 15px;
  display: block;
  margin: auto;
  height: auto;
}
footer .footer{
  background-color: #2f3053;
  padding-top: 20px;
}
.PostAuthor img{
  border-radius: 50px;
}
.CustomLine {
  border: 0;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(212, 212, 212, 0.27) 0%, rgba(111, 111, 111, 0.50) 45.26%, rgba(222, 222, 222, 0.28) 100%);
  opacity: 0.6;
}
.navbar {
  background-color: var(--main-color) !important;
}
.navbar .navbar-brand{
  color: #fff;
  font-weight: bolder;
}
.navbar .nav-link {
  color: #fff;
  border-radius: 10px;
  font-weight: 400;
  font-size: 16px;
  -webkit-transition: all 0.3s ease-in;
  -moz-transition: all 0.3s ease-in;
  -o-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}
.navbar .nav-link:hover {
  background-color: var(--main-color-dark);

}
.mce-toc{
  border: 1px solid #095c93;
  border-radius: 10px;
  padding: 5px 10px;
  margin: 10px 0px;
  position: relative;
  padding-top: 23px;
  margin-top: 30px;
}
.mce-toc h2{
  margin-top:0;
  position: absolute;
  font-size: 19px;
  color: #095c93;
  background-color: #fff;
  top: -19px;
  border: 1px solid #095c93;
  padding: 2px 5px;
  border-radius: 10px;
  right: 10px;
}
.mce-toc a{
  color:#095c93;
}

.mce-toc ul {
  list-style-type: none;
  padding-right: 0;
}
.mce-toc li {
  list-style-type: none;
  padding-right: 5px;
}
.mce-toc li::before {
  content: "❯";
  margin-left: 5px;
  color: #095c93;
  font-size: 12px;
}

.fullnews-s table {
  border-collapse: collapse;
  margin: 25px auto;
  font-size: 0.9em;
  min-width: 400px;
  border-radius: 5px 5px 0 0;
  overflow: hidden;
}

.fullnews-s table thead tr {
  background-color: #2980b9;
  color: #ffffff;
  text-align: right;
  font-weight: bold;
}
.fullnews-s table thead tr th {
  background-color: #2980b9;
  text-align: right;
}

.fullnews-s table th,
.fullnews-s table td {
  padding: 12px 15px;
}

.fullnews-s table tbody tr {
  border-bottom: 1px solid #dddddd;
}

.fullnews-s table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}

.fullnews-s table tbody tr:last-of-type {
  border-bottom: 2px solid #2980b9;
}

.fullnews-s table tbody tr.active-row {
  font-weight: bold;
  color: #009879;
}


.quote{
  border-radius: 10px !important;
}



.blog-copyright li{
  display: inline-block;
}
.blog-copyright li a{
  border: 1px solid #7e7e7e;
  color: #424242;
  border-radius: 5px;
  padding: 1px 5px 0px 20px;
  background-image: url('../bootstrap-icons/link-45deg.svg');
  background-repeat: no-repeat;
  background-position: 2px center;
  margin-left: 5px;
}

.mostViewed li img {
  max-width: 64px;
  border-radius: 10px;
  margin-left: 5px;
  float: right;
}
.mostViewed li span {
  font-size:12px;
}

.main-navigation{
  background-color: #fff;
  border-radius: 10px;
  border: 1px solid #b7bbdd;
  padding: 10px;
  margin: 10px 3px;
  box-shadow: 0px 0px 10px #b7bbdd;
}
.main-navigation .arrow , .main-navigation .list{
  text-align: center;
}
.main-navigation .arrow a{
  padding:10px 15px;
  display: inline-block;
  border-radius: 3px;
}
.main-navigation .arrow a:hover {
  background-color: #2980b9;
  color: #fff;
}
.main-navigation .arrow a:hover img {
  filter: brightness(0) saturate(100%) invert(100%);
}
.main-navigation .arrow a img {
  -webkit-transition: all 0.2s ease-in;
  -moz-transition: all 0.2s ease-in;
  -o-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}
.main-navigation .arrow span{
  color: #888;
    padding:10px 15px;
  display: inline-block;
}


.main-navigation .arrow span img{
  filter: brightness(0) saturate(100%) invert(55%) sepia(0%) saturate(27%) 
          hue-rotate(201deg) brightness(94%) contrast(92%);
}

.main-navigation .pages-list a,.main-navigation .pages-list span {
  background-color: #f2f3fb;
  min-width: 20px;
  display: inline-block;
  border-radius: 3px;
  padding:4px;
  padding: 10px 15px;
}
.main-navigation .pages-list a:hover{
  background-color: #2980b9;
  color: #fff;
}
.main-navigation .pages-list span {
  background-color: #ebebeb;
}
.mce-content-body{
  padding:15px;
  background-color:#fff;
}
.sub-nav {
  background-color: #1c6ea4;
  color: #fff;
  padding: 5px;
}
.search .textin{
  border-radius: 10px;
  padding:10px;
}
.cat-info{
  border-radius: 15px;
  background: #fff;
  padding: 15px 25px;
  margin-bottom: 34px;
  box-shadow: 0 2px 2px rgba(0,0,0,.04);
}
.cat-info .icon{
  max-width:128px;
}


/* Basic responsive table container */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin: 1rem 0;
    border-radius: 8px;
}

/* Table styling within container */
.table-container table {
    width: 100%;
    min-width: 600px; /* Minimum width to maintain readability */
    border-collapse: collapse;
    font-size: 14px;
    background-color: #fff;
}

/* Table headers */
.table-container table th {
    background-color: #f8f9fa;
    font-weight: 600;
    text-align: left;
    padding: 12px 16px;
    border: 1px solid #dee2e6;
    white-space: nowrap;
}

/* Table cells */
.table-container table td {
    padding: 12px 16px;
    border: 1px solid #dee2e6;
    vertical-align: top;
}

/* Hover effect for rows */
.table-container table tbody tr:hover {
    background-color: #f5f5f5;
}

/* Striped rows for better readability */
.table-container table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .table-container {
        margin: 0.5rem 0;
        border-radius: 4px;
    }
    
    .table-container table {
        font-size: 12px;
        min-width: 500px;
    }
    
    .table-container table th,
    .table-container table td {
        padding: 8px 12px;
    }
}

@media screen and (max-width: 480px) {
    .table-container table {
        font-size: 11px;
        min-width: 400px;
    }
    
    .table-container table th,
    .table-container table td {
        padding: 6px 8px;
    }
}

/* Alternative: Stack table on very small screens */
@media screen and (max-width: 600px) {
    .table-container.stack-mobile table,
    .table-container.stack-mobile table thead,
    .table-container.stack-mobile table tbody,
    .table-container.stack-mobile table th,
    .table-container.stack-mobile table td,
    .table-container.stack-mobile table tr {
        display: block;
    }
    
    .table-container.stack-mobile table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .table-container.stack-mobile table tr {
        border: 1px solid #ccc;
        margin-bottom: 10px;
        padding: 10px;
        border-radius: 4px;
        background-color: #fff;
    }
    
    .table-container.stack-mobile table td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50% !important;
    }
    
    .table-container.stack-mobile table td:before {
        content: attr(data-label) ": ";
        position: absolute;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
    }
}

/* Scrollbar styling for better UX */
.table-container::-webkit-scrollbar {
    height: 8px;
}

.table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.readMoreTr{
  border: 1px solid #5b9ac4;
  background-color: #e1f3ff;
  border-radius: 15px;
  padding: 10px 10px;
  margin-top: 25px;
  margin-bottom: 10px;
  position: relative;
  text-align: center;
}
.readMoreTr span{
  background-color: #5b9ac4;
  color: #fff;
  padding: 0px 8px;
  border-radius: 10px;
  position: absolute;
  top: -15px;
  right: 10px;
  font-size: 12px;
}
.readMoreTr a{
  color:#004573;
}
.readMorePr{
  border: 1px solid #5b9ac4;
  background-color: #e1f3ff;
  border-radius: 15px;
  margin-top: 25px;
  margin-bottom: 10px;
  position: relative;
  width: 100%;
  display: inline-flex; /* Use flex for better control */
  align-items: center; /* Vertically center content */
  padding: 0px 10px 0px 10px;
  text-align: right; /* RTL text alignment */
}

.readMorePr img{
  height: 65px;
  width: auto;
  margin: 0; /* No gaps */
  border-radius: 0 14px 14px 0; /* Match container border radius on right side */
  margin-right: -10px; /* Negative margin to eliminate padding gap */
}

.readMorePr strong {
  flex: 1;
  padding-right: 10px; /* Space between text and image */
  line-height: 1.3;
  display: flex;
  align-items: center; /* Vertically center the text */
  color:#004573;
  font-size: 13px;
}



@media only screen and (max-width: 768px) {
  .PostAuthor img{
    width: 36px;
  }
    .readMorePr {
    flex-direction: column; /* Stack items vertically */
    text-align: center; /* Center align for mobile */
    padding: 15px;
  }
  
  .readMorePr img {
    height: 64px; /* Slightly larger for mobile */
    width: auto;
    margin: 0 0 10px 0; /* Gap below image */
    margin-right: 0; /* Reset negative margin */
    border-radius: 25px; /* Round all corners */
    order: -1; /* Ensure image appears first */
  }
  
  .readMorePr strong {
    padding-right: 0; /* Remove right padding */
    justify-content: center; /* Center the text */
  }
  #fullnews h1 {
    font-size: 20px;
  }
  #fullnews h2 {
    font-size: 19px;
  } 
  #fullnews h3 {
    font-size: 18px;
  }   
  #fullnews h4,#fullnews h5 {
    font-size: 17px;
  }  
  .singlePost .post-thumb img{
    border-radius: 15px 15px 0px 0px;
  }
}


.ui-dialog,.ui-widget-header{
  border-radius: 15px;
}
.ui-dialog .ui-dialog-buttonpane button{
  padding: 5px 10px;
  border-radius: 10px;
}
.ui-dialog .ui-dialog-titlebar-close{
  display: none;
}


ul.custom-li-circle,
ul.custom-li-circle-blue,
ul.custom-li-circle-black,
ul.custom-li-circle-red,
ul.custom-li-circle-green,
ul.custom-li-blue,
ul.custom-li-green,
ul.custom-li-red {
	list-style: none;
	padding-right: 0;
}
ul.custom-li-circle-blue li,
ul.custom-li-circle-black li,
ul.custom-li-circle-red li,
ul.custom-li-circle-green li,
ul.custom-li-circle li,
ul.custom-li-blue li,
ul.custom-li-green li,
ul.custom-li-red li {
	padding-right: 2.5em;
	margin-bottom: 0.5em;
  position: relative;
  list-style-type: none;
}

ul.custom-li-circle li::before {
	content: '';
	position: absolute;
	right: 15px;
	top: 7px;
	width: 1em;
	height: 1em;
	background-repeat: no-repeat;
	background-image: url("../images/circle-xxxs-svgrepo-com.svg");
  background-size: cover;
}
ul.custom-li-circle-blue li::before {
	content: '';
	position: absolute;
	right: 15px;
	top: 7px;
	width: 1em;
	height: 1em;
	background-repeat: no-repeat;
	background-image: url("../images/circle-blue.svg?v=1");
  background-size: cover;
}
ul.custom-li-circle-black li::before {
	content: '';
	position: absolute;
	right: 15px;
	top: 7px;
	width: 1em;
	height: 1em;
	background-repeat: no-repeat;
	background-image: url("../images/circle-black.svg?v=1");
  background-size: cover;
}
ul.custom-li-circle-red li::before {
	content: '';
	position: absolute;
	right: 15px;
	top: 7px;
	width: 1em;
	height: 1em;
	background-repeat: no-repeat;
	background-image: url("../images/circle-red.svg?v=1");
  background-size: cover;
}
ul.custom-li-circle-green li::before {
	content: '';
	position: absolute;
	right: 15px;
	top: 7px;
	width: 1em;
	height: 1em;
	background-repeat: no-repeat;
	background-image: url("../images/circle-green.svg?v=1");
  background-size: cover;
}
ul.custom-li-blue li::before {
	content: '';
	position: absolute;
	right: 15px;
	top: 7px;
	width: 1em;
	height: 1em;
	background-repeat: no-repeat;
	background-image: url("../images/check-box-with-check-svgrepo-com.svg");
  background-size: cover;
}
ul.custom-li-green li::before {
	content: '';
	position: absolute;
	right: 15px;
	top: 7px;
	width: 1em;
	height: 1em;
	background-repeat: no-repeat;
	background-image: url("../images/check-mark-button-svgrepo-com.svg");
  background-size: cover;
}
ul.custom-li-red li::before {
	content: '';
	position: absolute;
	right: 15px;
	top: 7px;
	width: 1em;
	height: 1em;
	background-repeat: no-repeat;
	background-image: url("../images/cross-mark-button-svgrepo-com.svg");
  background-size: cover;
}

.share-post{border:1px solid #004573;color:#004573;border-radius:10px;padding:15px;direction:rtl;width:300px;display: block;margin: auto;margin-bottom: 10px;}
.share-post label{float:right;color:#373737;font-size:22px;line-height:20px;margin:0;padding:10px 0 0}
.social-useful{display:none}
.social-useful ul{display:inline-block}
.social-useful ul li{display:block;margin:0 0 0 10px;float:right}
.social-useful ul li a{color: #fff;
  background-color: #01a3a4;
}
.social-useful ul li a:hover{color:#003839}
.shared-post{padding:4px 13px;border-radius:10px}
.share-post .btn.green{
  background-color: #0d7d61;
  color: #fff;
}
.share-post .btn.green:hover{
  background-color: #075743;
}
.share-post .btn.red{
  background-color: #ee5253;
  color: #fff;
}
.share-post .btn.red:hover{
  background-color: #b0292a;
}
.post-dislike{
  color:#500505;
}

.fa{
  height: 16px;
  width: 16px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: inline-block;
  margin-bottom: -3px;
}
.fa.fa-comment{
  background-image: url("../images/chat-comment-conversation-svgrepo-com.svg");
}
.fa.fa-share-alt{
  background-image: url("../images/share-svgrepo-com.svg");
}
.fa.fa-twitter{
  background-image: url("../images/twitter-svgrepo-com.svg");
}
.fa.fa-whatsapp{
  background-image: url("../images/whatsapp-svgrepo-com.svg");
}
.fa.fa-telegram{
  background-image: url("../images/telegram-svgrepo-com.svg");
}

.btn-sharemob-useful{
  border: 1px solid #1e88e5;
  background-color: #48dbfb;
  color: #05294d;
  border-radius: 10px;
  padding: 10px;
}

.related-section{
  position: relative;
  margin-bottom: 20px;
}
.related-section .relatednews{
  background-color: #fff;
  border-radius: 15px;
}
.related-section .title{
  font-size: 18px;
  font-weight: 600;
  margin: 15px 0px;
}

.related-section .list .thumbnail img {
max-width: 100%;
height: 150px;
border-radius: 15px 15px 0 0px;
object-fit: cover;
}
.related-section .relatednews .caption {
  height: 75px;
}
.related-section .relatednews .caption h3 {
  font-weight: normal;
  font-size: 14px;
  color: #444;
  margin:10px;
}

@media (max-width: 490px) {
  .related-section .relatednews{
    margin-bottom: 15px;
}
.related-section .list .thumbnail img {
    width: 380px;
    height: auto;
  }
  .related-section .relatednews .caption h3 {
    margin: 0px;
    padding: 10px;
  font-size: 16px;
  line-height: 30px;
  }
  .related-section .relatednews .caption {
  height: auto;
  }
}
@media (max-width: 992px) {
.related-section .list .thumbnail img {
    width: 380px;
    height: 200px;
  }
}

.socialMediaLinks a{
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 5px;
  color: #fff;
  display: block;
}
.socialMediaLinks a:hover{
  opacity: 0.8;
}
.socialMediaLinks a img{
  width: 32px;
  border-radius: 50px;
  border: 1px solid #fff;
  margin-left: 10px;
}

.socialMediaLinks a.twitter{
  background: linear-gradient(45deg, #1da1f2, #4da6ff, #7ab8ff);;
}
.socialMediaLinks a.instagram{
  background: linear-gradient(90deg, 
    #f09433 0%, 
    #e6683c 25%, 
    #dc2743 50%, 
    #cc2366 75%, 
    #bc1888 100%
);;
}
.socialMediaLinks a.telegram{
  background: linear-gradient(45deg, #0088cc, #229ed9, #54c7ec);;
}
.socialMediaLinks a.youtube{
  background: linear-gradient(45deg, #ff0000, #ff3333, #ff6666, #cc0000);;
}

/* FAQ Container */
[itemtype="https://schema.org/FAQPage"] {
  margin: 0 auto;
  padding: 20px;
  direction: rtl;
}

/* Main FAQ Title */
[itemtype="https://schema.org/FAQPage"] > h2 {
background-color: #eaeaea;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 5px;
  font-size: 19px;
  font-weight: bold;
}

/* Individual FAQ Item */
[itemtype="https://schema.org/Question"] {
border-radius: 12px;
  padding: 10px;
  margin-bottom: 10px;
  transition: box-shadow 0.3s ease;
  background-color: #f7f7f7;
}

[itemtype="https://schema.org/Question"]:hover {
  box-shadow: 0 3px 15px rgba(91, 154, 196, 0.15);
}

/* Question Title */
[itemtype="https://schema.org/Question"] h3 {
color: #464646;
  font-size: 16px;
  font-weight: bold;
  padding: 5px;
}

/* Answer Section */
[itemtype="https://schema.org/Answer"] p {
  color: #333;
  line-height: 1.7;
  margin: 0;
  font-size: 14px;
  text-align: justify;
}

/* Strong text styling */
[itemtype="https://schema.org/Answer"] strong {
  color: #004573;
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
  [itemtype="https://schema.org/FAQPage"] {
    padding: 15px;
  }
  
  [itemtype="https://schema.org/Question"] {
    padding: 15px;
  }
  
  [itemtype="https://schema.org/FAQPage"] > h2 {
    font-size: 20px;
    padding: 15px;
  }
}

.footerlinks a{
  border: 1px solid #fff;
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  padding: 1px 5px;
  margin-left: 5px;
  display: inline-block;
  margin-bottom: 5px;
}
.footerlinks a:hover{
  background-color: #fff;
  color: #2f3053;
}

.dorjin-tile .tile-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 15px;
margin-right: 5px;
  margin-bottom: 30px;
}

.dorjin-tile .tile {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  display: block;
  text-decoration: none;
  color: inherit;
}

.dorjin-tile .tile::after {
position: absolute;
  content: " ";
  display: block;
  width: 100%;
  height: 70px;
  bottom: 0;
  right: 0;
  z-index: 1;
  background-image: linear-gradient(0deg,rgba(0, 0, 0, 0.79) 0%, rgba(0, 0, 0, 0.56) 50%, rgba(0, 0, 0, 0) 100%);
  border-radius: 0px 0px 10px 10px;
}

.dorjin-tile .tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}

.dorjin-tile .tile:hover img {
  transform: scale(1.08);
}

.dorjin-tile .tile h2 {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-weight: 800;
  
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 16px;
  line-height: 1.4;
  max-width: 93.5%;
  z-index: 2;
  color: #FFFFFF;
text-shadow: 
1px 1px 0 #000000b2, 
1px -1px 0 #000000b2, 
-1px 1px 0 #000000b2, 
-1px -1px 0 #000000b2, 
1px 0px 0 #000000b2, 
0px 1px 0 #000000b2, 
-1px 0px 0 #000000b2, 
0px -1px 0 #000000b2;
}

/* حالت‌های خاص چینش */
.dorjin-tile .tile:nth-child(1) {
  grid-column: span 2;
  grid-row: span 1;
}
.dorjin-tile .tile:nth-child(2) {
  grid-row: span 1;
}
.dorjin-tile .tile:nth-child(3) {
  grid-row: span 2;
}
.dorjin-tile .tile:nth-child(4) {
  grid-column: span 1;
  grid-row: span 1;
}
.dorjin-tile .tile:nth-child(5) {
  grid-column: span 2;
  grid-row: span 1;
}

/* ریسپانسیو */
@media (max-width: 992px) {
  .dorjin-tile .tile-container {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .dorjin-tile .tile:nth-child(n) {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
}

@media (max-width: 576px) {
  .dorjin-tile .tile-container {
    grid-template-columns: 1fr;
    grid-auto-rows: 130px;
  }
}

.static-page .content img{
  max-width: 100%;
  border-radius: 15px;
}

.foot-about a{
  color:#63ccff;
}
.foot-about a:hover{
  color:#3294c5;
}
.foot-about .dot-sparator{
  display: inline-block;
  height: 3px;
  width: 3px;
  background-color: #fff;
  border-radius: 50px;
  margin-bottom: 2px;
}
.sec-code img{
  margin-top: 0;
  width: 100px;
  height: 47px;
  border-radius: 5px;
}
.pull-right{
  float: right;
}
.pull-left{
  float: left;
}
.showTrailer {
  min-width: 150px;
  line-height: 35px;
}
.showTrailer img{
  width: 24px;
  float:right;
}


.mostViewedCategory a{
  display: block;
  position: relative;
  width: 100%;
  height: 175px;
  background-size: cover;
  border-radius: 10px;
  margin-bottom: 10px;
  background-position: center center;
  	-webkit-transition: all 0.1s ease-in;
	-moz-transition: all 0.1s ease-in;
	-o-transition: all 0.1s ease-in;
	transition: all 0.1s ease-in;
}
.mostViewedCategory a:hover{
  &:after{
    height: 90px;
  }
}
.mostViewedCategory a:after{
    	-webkit-transition: all 0.1s ease-in;
	-moz-transition: all 0.1s ease-in;
	-o-transition: all 0.1s ease-in;
	transition: all 0.1s ease-in;
position: absolute;
  content: " ";
  display: block;
  width: 100%;
  height: 70px;
  bottom: 0;
  right: 0;
  z-index: 1;
  background-image: linear-gradient(0deg,rgba(0, 0, 0, 0.79) 0%, rgba(0, 0, 0, 0.56) 50%, rgba(0, 0, 0, 0) 100%);
  border-radius: 0px 0px 10px 10px;
  
}

.mostViewedCategory a > span{
  color: #fff;
  font-weight: bold;
  position: absolute;
  right: 0;
  bottom: 0px;
  padding: 10px;
  z-index: 2;
}

.imdb-rating{
  display: inline-block;
  color: #000 !important;
  background-color: #f5c518;
  font-weight: 900;
  padding: 0px 10px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 2px;
}
.imdb-rating .t{
  unicode-bidi: isolate;
  margin-left: 10px;
}
.imdb-rating .r{
  font-family: tahoma;
}
.imdb-rating .r::before{
  display: inline-block;
  content: "|";
  height: 15px;
  width: 2px;
  margin-left: 10px;
}
a.imdb-rating::before{
  display: inline-block;
  content: "";
  background-image: url('../images/link-45deg.svg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 22px;
  width: 22px;
  margin-bottom: -7px;
}


.vertical-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(250px, 1fr));
  gap: 10px;
  justify-content: center; /* گالری وسط‌چین */
  border: 1px solid #62afd7;
  padding: 10px;
  border-radius: 10px;
}

.vertical-images p {
  margin: 0;
  display: flex;
  justify-content: center; /* عکس وسط درون هر p */
}

.vertical-images img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition: transform 0.3s ease;
  max-width: 500px;
}

.vertical-images img:hover {
  transform: scale(1.03);
}

/* وقتی فقط یه عکس در ردیف آخر می‌مونه، اون رو وسط بیار */
.vertical-images p:last-child:nth-child(odd) {
  grid-column: 1 / -1; /* باعث می‌شود کل عرض دو ستون را بگیرد */
  display: flex;
  justify-content: center; /* و خودش وسط ستون‌ها قرار بگیرد */
}

/* در موبایل تک‌ستونی */
@media (max-width: 600px) {
  .vertical-images {
    grid-template-columns: 1fr;
  }
}

