/*!
* Theme Name: ZakeriM2
* Theme URI: https://barato.ir/
* Author: Arvin Ashtari
* Version: 3.0
* Description: قالب سایت براتو - ورژن 2 طراحی شده توسط آروین اشتری. <a href="http://www.windesign.ir/">ورود به وین دیزاین</a>
*/

/* ===== RESET & NORMALIZE ===== */
html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
    display: block;
}

audio, canvas, progress, video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden], template {
    display: none;
}

a {
    background-color: transparent;
}

a:active, a:hover {
    outline: 0;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b, strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

mark {
    background: #ff0;
    color: #000;
}

small {
    font-size: 75%;
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 1em 40px;
}

hr {
    box-sizing: content-box;
    height: 0;
}

pre {
    overflow: auto;
}

code, kbd, pre, samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

button, input, optgroup, select, textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible;
}

button, select {
    text-transform: none;
}

button, html input[type="button"], input[type="reset"], input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled], html input[disabled] {
    cursor: default;
}

button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input {
    line-height: normal;
}

input[type="checkbox"], input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

input[type="search"] {
    -webkit-appearance: textfield;
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: bold;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td, th {
    padding: 0;
    max-width: 200px;
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*:before, *:after {
    box-sizing: border-box;
}

html {
    font-size: 10px;
    -webkit-tap-highlight-color: transparent;
}

body {
    overflow-x: hidden;
    font-family: wdyekan, calibri, tahoma, sans-serif;
    font-size: 18px;
    line-height: 1.63;
    color: #48525B;
    background: #f6f6f6;
}

input, button, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

figure {
    margin: 0;
}

img {
    vertical-align: middle;
    height: auto;
    max-width: 100%;
}

/* ===== UTILITY CLASSES ===== */
.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

.img-rounded {
    border-radius: 6px;
}

.img-thumbnail {
    padding: 4px;
    line-height: 1.42857143;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 4px;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    display: inline-block;
    max-width: 100%;
    height: auto;
}

.img-circle {
    border-radius: 50%;
}

hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #eee;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
}

[role="button"] {
    cursor: pointer;
}

/* ===== CONTAINER & GRID ===== */
.container {
    margin-right: auto;
    margin-left: auto;
    padding-left: 5px;
    padding-right: 5px;
}

@media (min-width: 768px) {
    .container {
        width: 730px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 950px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1150px;
    }
}

.container-fluid {
    margin-right: auto;
    margin-left: auto;
    padding-left: 5px;
    padding-right: 5px;
}

.row {
    width: 100%;
    height: 100%;
    margin-left: 5px;
    margin-right: 3px;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1,
.col-xs-2, .col-sm-2, .col-md-2, .col-lg-2,
.col-xs-3, .col-sm-3, .col-md-3, .col-lg-3,
.col-xs-4, .col-sm-4, .col-md-4, .col-lg-4,
.col-xs-5, .col-sm-5, .col-md-5, .col-lg-5,
.col-xs-6, .col-sm-6, .col-md-6, .col-lg-6,
.col-xs-7, .col-sm-7, .col-md-7, .col-lg-7,
.col-xs-8, .col-sm-8, .col-md-8, .col-lg-8,
.col-xs-9, .col-sm-9, .col-md-9, .col-lg-9,
.col-xs-10, .col-sm-10, .col-md-10, .col-lg-10,
.col-xs-11, .col-sm-11, .col-md-11, .col-lg-11,
.col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    position: relative;
    min-height: 1px;
    padding-left: 5px;
    padding-right: 5px;
}

.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4,
.col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8,
.col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
    float: right;
}

.col-xs-12 { width: 100%; }
.col-xs-11 { width: 91.66666667%; }
.col-xs-10 { width: 83.33333333%; }
.col-xs-9 { width: 75%; }
.col-xs-8 { width: 66.66666667%; }
.col-xs-7 { width: 58.33333333%; }
.col-xs-6 { width: 50%; }
.col-xs-5 { width: 41.66666667%; }
.col-xs-4 { width: 33.33333333%; }
.col-xs-3 { width: 25%; }
.col-xs-2 { width: 16.66666667%; }
.col-xs-1 { width: 8.33333333%; }

.col-xs-offset-12 { margin-left: 100%; }
.col-xs-offset-11 { margin-left: 91.66666667%; }
.col-xs-offset-10 { margin-left: 83.33333333%; }
.col-xs-offset-9 { margin-left: 75%; }
.col-xs-offset-8 { margin-left: 66.66666667%; }
.col-xs-offset-7 { margin-left: 58.33333333%; }
.col-xs-offset-6 { margin-left: 50%; }
.col-xs-offset-5 { margin-left: 41.66666667%; }
.col-xs-offset-4 { margin-left: 33.33333333%; }
.col-xs-offset-3 { margin-left: 25%; }
.col-xs-offset-2 { margin-left: 16.66666667%; }
.col-xs-offset-1 { margin-left: 8.33333333%; }
.col-xs-offset-0 { margin-left: 0%; }

@media (min-width: 768px) {
    .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4,
    .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8,
    .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
        float: right;
    }
    .col-sm-12 { width: 100%; }
    .col-sm-11 { width: 91.66666667%; }
    .col-sm-10 { width: 83.33333333%; }
    .col-sm-9 { width: 75%; }
    .col-sm-8 { width: 66.66666667%; }
    .col-sm-7 { width: 58.33333333%; }
    .col-sm-6 { width: 50%; }
    .col-sm-5 { width: 41.66666667%; }
    .col-sm-4 { width: 33.33333333%; }
    .col-sm-3 { width: 25%; }
    .col-sm-2 { width: 16.66666667%; }
    .col-sm-1 { width: 8.33333333%; }
    .col-sm-offset-12 { margin-left: 100%; }
    .col-sm-offset-11 { margin-left: 91.66666667%; }
    .col-sm-offset-10 { margin-left: 83.33333333%; }
    .col-sm-offset-9 { margin-left: 75%; }
    .col-sm-offset-8 { margin-left: 66.66666667%; }
    .col-sm-offset-7 { margin-left: 58.33333333%; }
    .col-sm-offset-6 { margin-left: 50%; }
    .col-sm-offset-5 { margin-left: 41.66666667%; }
    .col-sm-offset-4 { margin-left: 33.33333333%; }
    .col-sm-offset-3 { margin-left: 25%; }
    .col-sm-offset-2 { margin-left: 16.66666667%; }
    .col-sm-offset-1 { margin-left: 8.33333333%; }
    .col-sm-offset-0 { margin-left: 0%; }
}

@media (min-width: 992px) {
    .col-md-1, .col-md-2, .col-md-3, .col-md-4,
    .col-md-5, .col-md-6, .col-md-7, .col-md-8,
    .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
        float: right;
    }
    .col-md-12 { width: 100%; }
    .col-md-11 { width: 91.66666667%; }
    .col-md-10 { width: 83.33333333%; }
    .col-md-9 { width: 75%; }
    .col-md-8 { width: 66.66666667%; }
    .col-md-7 { width: 58.33333333%; }
    .col-md-6 { width: 50%; }
    .col-md-5 { width: 41.66666667%; }
    .col-md-4 { width: 33.33333333%; }
    .col-md-3 { width: 25%; height: auto; }
    .col-md-2 { width: 16.66666667%; }
    .col-md-1 { width: 8.33333333%; }
    .col-md-offset-12 { margin-left: 100%; }
    .col-md-offset-11 { margin-left: 91.66666667%; }
    .col-md-offset-10 { margin-left: 83.33333333%; }
    .col-md-offset-9 { margin-left: 75%; }
    .col-md-offset-8 { margin-left: 66.66666667%; }
    .col-md-offset-7 { margin-left: 58.33333333%; }
    .col-md-offset-6 { margin-left: 50%; }
    .col-md-offset-5 { margin-left: 41.66666667%; }
    .col-md-offset-4 { margin-left: 33.33333333%; }
    .col-md-offset-3 { margin-left: 25%; }
    .col-md-offset-2 { margin-left: 16.66666667%; }
    .col-md-offset-1 { margin-left: 8.33333333%; }
    .col-md-offset-0 { margin-left: 0%; }
}

@media (min-width: 1200px) {
    .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4,
    .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8,
    .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
        float: right;
    }
    .col-lg-12 { width: 100%; }
    .col-lg-11 { width: 91.66666667%; }
    .col-lg-10 { width: 83.33333333%; }
    .col-lg-9 { width: 75%; }
    .col-lg-8 { width: 66.66666667%; }
    .col-lg-7 { width: 58.33333333%; }
    .col-lg-6 { width: 50%; }
    .col-lg-5 { width: 41.66666667%; }
    .col-lg-4 { width: 33.33333333%; }
    .col-lg-3 { width: 25%; }
    .col-lg-2 { width: 16.66666667%; }
    .col-lg-1 { width: 8.33333333%; }
    .col-lg-offset-12 { margin-left: 100%; }
    .col-lg-offset-11 { margin-left: 91.66666667%; }
    .col-lg-offset-10 { margin-left: 83.33333333%; }
    .col-lg-offset-9 { margin-left: 75%; }
    .col-lg-offset-8 { margin-left: 66.66666667%; }
    .col-lg-offset-7 { margin-left: 58.33333333%; }
    .col-lg-offset-6 { margin-left: 50%; }
    .col-lg-offset-5 { margin-left: 41.66666667%; }
    .col-lg-offset-4 { margin-left: 33.33333333%; }
    .col-lg-offset-3 { margin-left: 25%; }
    .col-lg-offset-2 { margin-left: 16.66666667%; }
    .col-lg-offset-1 { margin-left: 8.33333333%; }
    .col-lg-offset-0 { margin-left: 0%; }
}

.clearfix:before, .clearfix:after,
.container:before, .container:after,
.container-fluid:before, .container-fluid:after,
.row:before, .row:after {
    content: " ";
    display: table;
}

.clearfix:after,
.container:after,
.container-fluid:after,
.row:after {
    clear: both;
}

.center-block {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.pull-right {
    float: right !important;
}

.pull-left {
    float: left !important;
}

.hide {
    display: none !important;
}

.show {
    display: block !important;
}

.invisible {
    visibility: hidden;
}

.hidden {
    display: none;
}

.affix {
    position: fixed;
}

/* ===== ICONS SPRITE ===== */
[class^="icon-"] {
    background: url(images/sprite.png);
    width: 32px;
    height: 32px;
    display: inline-block;
    vertical-align: middle;
}

.icon-facebook { background-position: 0 0; }
.icon-linkedin { background-position: -52px 0; }
.icon-google { background-position: -104px -1px; }
.icon-telegram { background-position: -156px 0; }
.icon-whatsapp { background-position: -208px 0; }
.icon-twitter { background-position: -260px -1px; }

/* ===== LINKS ===== */
a {
    outline: 0;
    text-decoration: none;
    color: #444;
    transition: all .4s;
}

a:hover {
    color: #0e9aea;
}

/* ===== FONTS ===== */
@font-face {
    font-display: swap;
    font-family: 'wdyekan';
    src: url("assets/wdyekan.woff2") format("woff2"),
         url("assets/wdyekan.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

/* ===== TYPOGRAPHY ===== */
#title {
    position: absolute;
    top: -9999px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}

.text-center {
    text-align: center;
}

.orange {
    color: #fba751;
}

/* ===== FORM ELEMENTS ===== */
input, textarea {
    background: #ddd;
    border: 0;
    margin-bottom: 10px;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0 0 4px #ddd;
}

input::placeholder, textarea::placeholder {
    font-family: FontAwesome, wdyekan, sans-serif;
}

input:focus, textarea:focus {
    color: #0e9aea;
}

button {
    border: 0;
    transition: all .4s;
}

.btn {
    background: #0e9aea;
    padding: 4px 10px;
    display: inline-block;
    color: #fff;
    border-radius: 5px;
}

.btn:hover {
    background: #053b5a;
    color: #fba751;
}

.btn-orange {
    background: #fba751;
}

/* ===== HEADER ===== */
#header {
    background: #085b8a;
    background: linear-gradient(to bottom, #085b8a 0%, #0e9aea 100%);
    text-align: center;
    font-size: 24px;
    color: #fff;
    transition: all .4s;
}

#header h3 {
    margin-top: 8px;
}

#header button {
    background: rgba(0,0,0,0.1);
    width: 60px;
    height: 60px;
    float: right;
}

#header button:hover {
    color: #fba751;
}

#header button:last-of-type {
    float: left;
}

/* ===== DESCRIPTION ===== */
#description {
    background: #ddd;
    margin: 10px 10px 0;
    padding: 7px 14px;
    display: inline-block;
    position: relative;
    border-radius: 5px;
}

#description:before {
    border: 7px solid transparent;
    border-bottom-color: #ddd;
    position: absolute;
    top: -14px;
    left: calc(50% - 7px);
    content: ' ';
}

/* ===== SEARCH ===== */
#search {
    margin-top: 20px;
    display: none;
    font-size: 20px;
}

#search input {
    width: calc(100% - 161px);
    padding: 10px 20px;
}

#search .btn {
    padding: 10px 20px;
    vertical-align: top;
}

/* ===== FEATURED ===== */
#featured {
    margin: 0px 0;
}

/* ===== ADS ===== */
#ads-468 {
    text-align: center;
}

#ads-468 img {
    max-width: 100%;
    height: auto;
}

.ads-sticky {
    background: #fff;
    margin-top: 20px;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-height: 400px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ads-sticky:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.ads-sticky img {
    height: auto;
    margin-bottom: 20px;
}

.ads-sticky h5 {
    font-size: 22px;
    color: red;
}

.ads-sticky p {
    margin: 20px 0;
}

.ads-sticky .btn {
    display: inline-block;
    width: 220px;
    height: 55px;
    margin: 5px;
    font-size: 22px;
    padding: 10px 40px;
}

.ads-sticky-content {
    height: 70px;
    overflow: auto;
}

/* ===== MENU ===== */
.menu-toggle {
    display: inline-block;
    cursor: pointer;
}

#wrapper {
    transition: all .4s;
}

#menu {
    background: linear-gradient(to bottom, #085b8a 0%, #0e9aea 100%);
    width: 280px;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999999;
    transition: all .4s;
    -webkit-transform: translate(280px, 0);
    transform: translate(280px, 0);
}

#menu .menu-toggle {
    margin: 10px;
    padding: 10px;
    display: block;
    text-align: center;
}

#menu a {
    background: rgba(32,165,242,0.2);
    margin: 10px;
    padding: 10px;
    display: block;
    color: #fff;
    border-radius: 5px;
}

#menu a:hover,
#menu a:focus {
    background: #085b8a;
    color: #fba751;
}

#menu-overlay {
    background: rgba(0,0,0,0.8);
    display: none;
    cursor: pointer;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999998;
}

.show-menu #menu {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}

.header-fix #header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 9999;
}

/* ===== BUNDLE / POSTS GRID ===== */
.bundle {
    margin: 20px auto;
}

.bundle.container {
    padding-left: 5px;
}

.bundle h4 {
    font-size: 32px;
    color: #0e9aea;
}

.bundle h4 i {
    margin: 0 4px;
    font-size: 16px;
    color: #fba751;
}

.bundle h4 .fa-2x {
    font-size: 22px;
}

.bundle>.btn-orange {
    margin-top: 10px;
    float: left;
}

.bundle .owl-stage {
    margin-top: 10px;
    padding: 0 5px 5px 0 !important;
}

.bundle2 {
    margin: 20px auto;
    text-align: center;
}

.bundle2.container {
    padding-left: 5px;
}

.bundle2 h4 {
    font-size: 32px;
    color: #0e9aea;
}

.bundle2 h4 i {
    margin: 0 4px;
    font-size: 16px;
    color: #fba751;
}

.bundle2 h4 .fa-2x {
    font-size: 22px;
}

.bundle2>.btn-orange {
    margin-top: 10px;
    float: left;
}

.bundle2 .owl-stage {
    margin-top: 10px;
    padding: 0 5px 5px 0 !important;
}

.bundle morapp {
    font-size: 32px;
    color: #0e9aea;
}

.bundle morapp i {
    margin: 0 4px;
    font-size: 16px;
    color: #fba751;
}

/* ===== ARCHIVE POSTS ===== */
.archive .post {
    width: calc(98% / 6 - 7px);
    margin-top: 10px;
    display: inline-block;
    vertical-align: top;
}

.archive .post:nth-of-type(6n) {
    margin-left: 0;
}

/* ===== PAGINATION ===== */
#pagination {
    border-top: 1px solid #ddd;
    margin-top: 20px;
    padding-top: 10px;
    text-align: center;
}

.page-numbers {
    background: #999;
    min-width: 32px;
    height: 32px;
    margin: 0 2.5px 5px;
    padding: 5px 5px 0;
    display: inline-block;
    vertical-align: middle;
    color: #fff !important;
    border-radius: 5px;
}

.page-numbers.next,
.page-numbers.prev {
    background: #555;
}

.page-numbers:hover {
    background: #fba751;
}

.page-numbers.current {
    background: #0e9aea;
}

/* ===== POST CARD ===== */
.post {
    background: #fff;
    margin-left: 8px;
    padding: 10px 20px 20px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 0 5px #d5d5d5;
}

.post h2 {
    overflow: hidden;
    white-space: nowrap;
    direction: rtl; /* تغییر از ltr به rtl برای محتوای فارسی */
    text-overflow: ellipsis;
    font-size: 17px;
}

.post h5 {
    overflow: hidden;
    white-space: nowrap;
    direction: rtl; /* تغییر از ltr به rtl */
    text-overflow: ellipsis;
    font-size: 17px;
}

.post h3 {
    overflow: hidden;
    white-space: normal;
    direction: rtl; /* تغییر از ltr به rtl */
    text-overflow: ellipsis;
    font-size: 17px;
}

.post small {
    color: #aaa;
}

.post img {
    border-radius: 15px;
    max-width: 100%;
    height: auto;
    margin-top: 5px;
}

.post .btn {
    margin-bottom: 5px !important;
    font-size: 14px;
    float: right;
}

.post .star {
    margin-top: 5px;
}

.star {
    display: inline-block;
    direction: ltr;
    font-size: 14px;
    color: #fba751;
}

.toppost {
    overflow: hidden;
    white-space: nowrap;
    direction: rtl; /* تغییر از ltr به rtl */
    text-overflow: ellipsis;
    font-size: 17px;
}

/* ===== BLOG SINGLE ===== */
.blog {
    background: #fff;
    margin-top: 10px;
    padding: 10px 20px 20px;
    border-radius: 5px;
    box-shadow: 0 0 5px #d5d5d5;
}

.blog h5, .blog h2, .blog h3 {
    text-align: center;
    font-size: 20px;
}

.blog img {
    width: 140px;
    height: 140px;
    margin: 10px 0 10px 10px;
    float: right;
}

.blog p {
    margin-top: 5px;
    font-size: 15px;
    color: #888;
}

.blog footer:before,
.blog footer:after {
    display: table;
    clear: both;
    content: ' ';
}

.blog span {
    padding-top: 6px;
    display: inline-block;
    color: #999;
}

.blog span i {
    margin-left: 4px;
    color: #fba751;
}

.blog .btn {
    float: left;
}

.aligncenter {
    margin: 0;
    display: block;
}

/* ===== SINGLE POST ===== */
#post {
    background: #fff;
    margin: 20px 0;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 5px #d5d5d5;
}

#post h1 {
    margin-bottom: 20px;
    font-size: 25px;
}

#post p {
    line-height: 30px;
    font-size: 18px;
}

#post img {
    border-radius: 15px;
    max-width: 100%;
    height: auto;
}

#post ol {
    padding-right: 40px;
}

#post ul {
    padding-right: 20px;
}

#post ul li {
    list-style: none;
}

#post ul li:before {
    margin-left: 10px;
    font-family: FontAwesome;
    color: #fba751;
    content: '\f104 ';
}

#post h2 {
    color: inherit;
    font-weight: 600;
    font-size: inherit;
    display: inline;
}

#post h5 {
    color: inherit;
    font-weight: 600;
    font-size: inherit;
    display: inline;
}

#post-left {
    width: calc(100% - 340px);
    float: left;
    line-height: 2.5;
}

#post-label {
    background: #f2623f;
    background: linear-gradient(to bottom, #f2623f 0%, #fba751 100%);
    margin-left: 10px;
    padding: 5px 10px;
    color: #fff;
    float: right;
    border-radius: 5px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#post-label i {
    margin-left: 4px;
    font-size: 8px;
}

#post-eng {
    background: #f0f0f0;
    padding: 3px 8px 4px;
    float: left;
    cursor: pointer;
    border-radius: 5px;
}

#post-eng i {
    margin-right: 5px;
    display: none;
    vertical-align: middle;
}

#post-eng:hover {
    background: #fba751;
}

#post-eng-content {
    direction: ltr;
    background: #f9f9f9;
    border: 1px dashed #0e9aea;
    margin: 10px 0;
    padding: 10px;
    display: none;
    border-radius: 5px;
}

.post-title {
    display: inline-block;
    font-size: 19px;
    color: #0e9aea;
}

.post-title i {
    color: #fba751;
}

#post-fa-content {
    background: #f9f9f9;
    border: 1px dashed #0e9aea;
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
}

/* ===== RELATED LINKS ===== */
#related-links a {
    background: #f0f0f0;
    margin: 4px;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 5px;
}

#related-links i {
    margin-left: 4px;
}

/* ===== SHARE ===== */
#post-share {
    margin-right: 10px;
    display: inline-block;
}

#post-share a {
    margin: 0 5px;
    display: inline-block;
    vertical-align: middle;
    text-indent: -9999px;
}

#post-share a:hover {
    opacity: .6;
}

/* ===== SCREENSHOTS ===== */
#screenshots img {
    border-radius: 5px;
}

/* ===== SIDEBAR ===== */
#sidebar {
    width: 320px;
    border-left: 1px solid #eee;
    padding-left: 20px;
    float: right;
    color: #555;
    text-align: center;
}

#sidebar .wp-post-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    float: none;
}

#sidebar h2:first-of-type {
    margin-top: 10px;
    text-align: center;
    font: 20px calibri, sans-serif;
    color: #0e9aea;
}

#sidebar h5:first-of-type {
    margin-top: 10px;
    text-align: center;
    font: 13px calibri, sans-serif;
    color: #0e9aea;
}

#sidebar .star {
    margin-bottom: 10px;
    display: block;
    text-align: center;
}

.post-meta {
    margin: 5px 0;
    text-align: right;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.post-meta span {
    width: 110px;
    display: inline-block;
    font-size: 14px;
    color: #595959;
}

/* ===== DOWNLOAD ===== */
#download {
    margin-bottom: 20px;
}

#download a {
    background: #325C0A;
    background: linear-gradient(to bottom, #325C0A 0%, #76c717 100%);
    margin-top: 30px;
    padding: 10px;
    display: block;
    color: #fff;
    border-radius: 5px;
    position: relative;
}

#download a:hover {
    background: #f2623f;
    background: linear-gradient(to bottom, #f2623f 0%, #fba751 100%);
}

#download i {
    vertical-align: middle;
}

#download span {
    width: calc(100% - 75px);
    margin-right: 3px;
    display: inline-block;
    vertical-align: middle;
    font-size: 15px;
}

#download small {
    display: inline-block;
    direction: ltr;
}

/* ===== COMMENTS ===== */
#send-comment div>input,
#send-comment div textarea {
    width: 100%;
}

#send-comment .btn {
    margin: 0;
    padding: 10px 30px;
    display: block;
    font-size: 22px;
}

#comments h4 small {
    background: #fba751;
    padding: 1px 5px;
    display: inline-block;
    font-size: 16px;
    color: #fff;
    border-radius: 5px;
}

.comment {
    overflow:auto;
    background: #fff;
    margin-top: 10px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 5px #d5d5d5;
}

.comment header {
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.comment header a {
    background: #ddd;
    padding: 3px 10px 5px;
    font-size: 13px;
    float: left;
    border-radius: 5px;
}

.comment header a:hover {
    background: #fba751;
    color: #fff;
}

.comment header i {
    vertical-align: middle;
}

.comment header bdi {
    color: #0e9aea;
}

.comment header small {
    margin-right: 20px;
    color: #999;
}

.depth-2, .depth-4 {
    background: #f9f9f9;
}

.is_admin {
    background: #dad8d8;
    box-shadow: 0 0 5px #0e9aea;
}

.is_admin>header {
    border-color: #0e9aea;
}

.is_admin>header a {
    background: #0e9aea;
    color: #fff;
}

.is_admin>header bdi {
    color: #fba751;
}

.cld-like-dislike-wrap {
    margin: 0 10px 10px 0;
    float: left;
}

/* ===== FOOTER ===== */
footer[role="contentinfo"] {
    margin-top: 20px;
    padding: 15px 0 20px;
    color: #fff;
    background: #085b8a;
    background: linear-gradient(to bottom, #085b8a 0%, #0e9aea 100%);
}

footer[role="contentinfo"] a:not(#windesign) {
    color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 5px #085480;
}

footer[role="contentinfo"] a:not(#windesign):hover {
    background: #053b5a;
    color: #fba751;
}

footer[role="contentinfo"] hr {
    border-color: #0e9aea;
    margin-top: 15px;
    opacity: .4;
}

footer[role="contentinfo"] p {
    padding-top: 5px;
}

#footer-links {
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
}

#footer-links a {
    margin: 5px;
    padding: 8px 6px;
    flex: 1 170px;
}

#footer-links a:hover {
    background: #053b5a;
    color: #fba751;
}

#footer-links i {
    margin-left: 4px;
}

#footer-social {
    margin-left: 10px;
    float: right;
}

#footer-social a {
    width: 28px;
    height: 28px;
    margin-left: 5px;
    padding-top: 5px;
    display: inline-block;
    text-align: center;
}

#windesign {
    float: left;
}

/* ===== MOBILE ADS ===== */
#ads-mobile {
    width: 100%;
    display: none;
    text-align: center;
    position: fixed;
    bottom: 0;
    z-index: 9999;
}

#ads-mobile img {
    max-width: 100%;
    height: auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .archive .post {
        width: calc(100% / 6 - 8px);
        padding: 10px;
    }
    #post-left {
        width: calc(100% - 300px);
    }
    #sidebar {
        width: 280px;
    }
}

@media (max-width: 992px) {
    .archive .post {
        width: calc(100% / 3 - 6px);
    }
    .archive .post:nth-of-type(3n) {
        margin-left: 0;
    }
    .post {
        padding: 10px;
    }
    .blog {
        padding: 10px;
    }
    .blog img {
        margin-bottom: 0;
    }
    .blog footer {
        margin-top: 10px;
        float: right;
    }
    .blog:after {
        display: table;
        clear: both;
        content: ' ';
    }
    #post-left, #sidebar {
        width: 100%;
        float: none;
    }
    #sidebar {
        border: 0;
        padding: 0;
    }
    footer[role="contentinfo"] {
        text-align: center;
    }
    #footer-social, #windesign {
        display: inline-block;
        vertical-align: top;
        float: none;
    }
}

@media (max-width: 768px) {
    #ads-468 {
        overflow: hidden;
        padding: 0 10px;
    }
    #ads-468 img {
        margin-top: 5px;
    }
    #ads-mobile {
        display: block;
    }
    #mobileshow {
        
    }
}

@media (max-width: 480px) {
    #header {
        font-size: 16px;
    }
    #header h3 {
        margin-top: 5px;
    }
    #header button {
        width: 40px;
        height: 40px;
    }
    .archive .post {
        width: calc(50% - 4px);
    }
    .archive .post:nth-of-type(3n) {
        margin-left: 8px;
    }
    .archive .post:nth-of-type(2n) {
        margin-left: 0;
    }
    #post {
        padding: 10px;
    }
    #windesign {
        margin-top: 20px;
        display: block;
    }
}

@media (min-width: 768px) {
    #mobileshow {
       
    }
}

/* ===== MISC ===== */
#txtmore {
    text-align: center;
    margin-top: 10px;
    font-size: 17px;
}

#post-gif {
    background: #0465e0;
    color: #fff;
    padding: 3px 8px 4px;
    cursor: pointer;
    text-align: center;
    border-radius: 5px;
}

#post-gif i {
    margin-right: 5px;
    display: none;
    vertical-align: middle;
}

#post-gif:hover {
    background: #30c12e;
}

#post-gif-content {
    background: #f9f9f9;
    color: #fff;
    display: none;
    border-radius: 5px;
}

/* حذف تگ‌های on/off نامعتبر و جایگزینی با کلاس‌های معتبر */
.on {
    color: #36700c !important;
}

.off {
    color: #ee6262 !important;
}

.hiddendl {
    display: none;
}

@media only screen and (max-width: 768px) {
    .hiddendl {
        display: block;
        max-width: 100%;
    }
}

#foo {
    display: none;
}

.cols {
    box-shadow: 0 0 4px #403838;
    text-align: center;
    background: #f9f9f9;
    padding: 10px;
    direction: rtl;
    color: #555;
    font-size: 15px;
    font-weight: bold;
}

.colsnum {
    color: red;
    font-size: 17px;
}

/* ===== BUTTONS ===== */
.btn2 {
    background: #239f32;
    padding: 12px 22px;
    display: inline-block;
    font-size: 22px;
    color: #fff;
    border-radius: 5px;
}

.misha_comment_loadmore {
    background-color: #0e9aea;
    border-radius: 2px;
    color: #fff;
    text-align: center;
    font-size: 18px;
    padding: 10px 0;
    margin-bottom: 50px;
}

.misha_comment_loadmore:hover {
    background-color: #053b5a;
    color: #fba751;
}

.topname {
    font-weight: normal;
    font-size: 26px;
    margin-top: 8px;
}

#header .topname {
    margin-top: 8px;
    font-weight: normal;
    font-size: 26px;
}

/* ===== AD BOX ===== */
.ad-box a,
.ad-box2 a {
    display: inline-block;
    border-radius: 6px;
    cursor: pointer;
    color: #fff5ff;
    font-family: tahoma;
    font-size: 15px;
    font-weight: bold;
    padding: 10px 65px;
    margin: 0;
    text-decoration: none;
}

.ad-box a {
    -webkit-box-shadow: inset 0px 1px 0px 0px #6ded40;
    -moz-box-shadow: inset 0px 1px 0px 0px #6ded40;
    box-shadow: inset 0px 1px 0px 0px #6ded40;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(5%, #58d82b), to(#63ac27));
    background: -webkit-linear-gradient(top, #58d82b 5%, #63ac27 100%);
    background: -moz-linear-gradient(top, #58d82b 5%, #63ac27 100%);
    background: -o-linear-gradient(top, #58d82b 5%, #63ac27 100%);
    background: linear-gradient(to bottom, #58d82b 5%, #63ac27 100%);
    background-color: #63ac27;
    border: 1px solid #288c50;
}

.ad-box2 a {
    -webkit-box-shadow: inset 0px 1px 0px 0px #ecac4b;
    -moz-box-shadow: inset 0px 1px 0px 0px #ecac4b;
    box-shadow: inset 0px 1px 0px 0px #ecac4b;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(5%, #94741a), to(#b7ac2d));
    background: -webkit-linear-gradient(top, #94741a 5%, #b7ac2d 100%);
    background: -moz-linear-gradient(top, #58d82b 5%, #63ac27 100%);
    background: -o-linear-gradient(top, #58d82b 5%, #63ac27 100%);
    background: linear-gradient(to bottom, #f3c210 5%, #eabb50 100%);
    background-color: #c3a823;
    border: 1px solid #c39512;
}

/* ===== CLD ===== */
.cld-common-wrap > a.cld-dislike-trigger {
    text-decoration: none;
    box-shadow: 0 0 0 !important;
    color: #e01616;
    border-bottom: 0;
}

/* ===== INTERNET ===== */
.internetir {
    color: #ff0500;
    background-color: #fafad2;
    border: 1px solid #ebccd1;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    text-align: right;
    direction: rtl;
}

/* ===== YOUTUBE ===== */
.youtube-responsive-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.youtube-responsive-container iframe,
.youtube-responsive-container object,
.youtube-responsive-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===== 404 PAGE ===== */
#notfound {
    position: relative;
    height: 100vh;
    background: #f6f6f6;
}

#notfound .notfound {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.notfound {
    max-width: 767px;
    width: 100%;
    line-height: 1.4;
    padding: 110px 40px;
    text-align: center;
    background: #f6f6f6;
    -webkit-box-shadow: 0 15px 15px -10px rgba(0, 0, 0, 0.1);
    box-shadow: 0 15px 15px -10px rgba(0, 0, 0, 0.1);
}

.notfound .notfound-404 {
    position: relative;
    height: 180px;
}

.notfound .notfound-404 h1 {
    font-family: 'Roboto', sans-serif;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-size: 165px;
    font-weight: 700;
    margin: 0px;
    color: #262626;
    text-transform: uppercase;
}

.notfound .notfound-404 h1>span {
    color: #00b7ff;
}

.notfound h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 22px;
    font-weight: 400;
    text-transform: uppercase;
    color: #151515;
    margin-top: 0px;
    margin-bottom: 25px;
}

.notfound .notfound-search {
    position: relative;
    max-width: 320px;
    width: 100%;
    margin: auto;
}

.notfound .notfound-search>input {
    font-family: 'Roboto', sans-serif;
    width: 100%;
    height: 50px;
    padding: 3px 65px 3px 30px;
    color: #151515;
    font-size: 16px;
    background: transparent;
    border: 2px solid #c5c5c5;
    border-radius: 40px;
    -webkit-transition: 0.2s all;
    transition: 0.2s all;
}

.notfound .notfound-search>input:focus {
    border-color: #00b7ff;
}

.notfound .notfound-search>button {
    position: absolute;
    right: 15px;
    top: 5px;
    width: 40px;
    height: 40px;
    text-align: center;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.notfound .notfound-search>button>span {
    width: 15px;
    height: 15px;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%) rotate(-45deg);
    -ms-transform: translate(-50%, -50%) rotate(-45deg);
    transform: translate(-50%, -50%) rotate(-45deg);
    margin-left: -3px;
}

.notfound .notfound-search>button>span:after {
    position: absolute;
    content: '';
    width: 10px;
    height: 10px;
    left: 0px;
    top: 0px;
    border-radius: 50%;
    border: 4px solid #c5c5c5;
    -webkit-transition: 0.2s all;
    transition: 0.2s all;
}

.notfound-search>button>span:before {
    position: absolute;
    content: '';
    width: 4px;
    height: 10px;
    left: 7px;
    top: 17px;
    border-radius: 2px;
    background: #c5c5c5;
    -webkit-transition: 0.2s all;
    transition: 0.2s all;
}

.notfound .notfound-search>button:hover>span:after {
    border-color: #00b7ff;
}

.notfound .notfound-search>button:hover>span:before {
    background-color: #00b7ff;
}

@media only screen and (max-width: 767px) {
    .notfound h2 {
        font-size: 18px;
    }
}

@media only screen and (max-width: 480px) {
    .notfound .notfound-404 h1 {
        font-size: 141px;
    }
}

/* ===== TABLE ===== */
table {
    margin: 5px 0;
    text-align: right;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* ===== POST CONTENT ===== */
#post-content a {
    color: #0000FF;
}

#post-content a:hover {
    color: #255200;
    text-decoration: underline;
}

#post-content h2 {
    display: block;
    background: #f4f4f4;
    margin: 1rem auto;
    padding: 0.5rem;
    font-size: 2rem;
    color: #0e9aea;
    border-radius: 14px;
    width: 100%;
    text-align: center;
}

/* ===== FILE BADGES (یکپارچه‌سازی شده) ===== */
.file-apk,
.file-xapk,
.file-apks {
    position: absolute;
    width: auto;
    top: -9px;
    left: -5px;
    color: #fff;
    font-size: 13px;
    padding: 0px 5px;
    border-radius: 5px;
    z-index: 2;
}

.file-apk {
    background-color: #a4a9b5;
}

.file-xapk,
.file-apks {
    background-color: #c9443d;
}

/* ===== AD IMAGE ===== */
.ad-image {
    width: 400px;
    height: 400px;
    display: block;
    object-fit: cover;
}

/* ===== PROCESSOR TAG ===== */
.processor-tag {
    background-color: #a4a9b5;
    color: #fff;
    font-size: 16px;
    padding: 1px 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.processor-tag i.fa-microchip {
    margin-right: 5px;
    color: #fff;
}

/* ===== AD WRAPPER ===== */
.ad-wrapper {
	display: flex;
    flex-wrap: wrap;
}
/* حالت پیش‌فرض: 1 تبلیغ */
.ad-item {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

/* 2 تبلیغ */
.ad-wrapper:has(.ad-item:nth-child(2)) .ad-item {
    width: 50%;
}

/* 3 تبلیغ */
.ad-wrapper:has(.ad-item:nth-child(3)) .ad-item {
    width: 33.333333%;
}

/* 4 تبلیغ */
.ad-wrapper:has(.ad-item:nth-child(4)) .ad-item {
    width: 25%;
}


/* موبایل */
@media (max-width: 767.98px) {
    .ad-item {
        width: 100% !important;
    }
}

.btn-ad {
    display: block;
    width: 100%;
    padding: 10px;
    background: #007bff;
    color: white;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 0 0 8px 8px;
    transition: background 0.3s ease;
}

.btn-ad:hover {
    background: #0056b3;
    color: white;
}

/* ===== AD PLACEHOLDERS ===== */
#ynpos-16647 {
    width: 100%;
    min-height: 30px;
}

#pos-article-display-card-101444 {
    width: 100%;
    min-height: 320px;
}

/* ===== Lazy fade-in (moved from home.php wp_head) ===== */
.lazy{opacity:0;transition:opacity .3s}
.lazy.loaded{opacity:1}

/* ===== دکمه دانلود نسخه مود ===== */
#download .download-mod > a {
    background: linear-gradient(135deg, #ff9800, #f4511e);
    color: #fff;
    box-shadow: 0 3px 10px rgba(230, 81, 0, 0.3);
}

#download .download-mod > a:hover {
    background: linear-gradient(135deg, #fb8c00, #e64a19);
    box-shadow: 0 5px 15px rgba(230, 81, 0, 0.4);
}

#download .download-mod .fa-download,
#download .download-mod > a > span,
#download .download-mod > a > small {
    color: #fff;
}

