/*
Theme Name: savis
Author: Ali Emadzadeh / علی عمادزاده
Author URI: https://rtl-theme.com/author/halbia/
Description: قالب شخصی، رزومه و نمونه کار ساویس
Requires at least: WordPress 6.0.0
Version: 7.10.2
Requires PHP: 7.4
Text Domain: savis
Domain Path: /languages
*/

/* ============================================
   BASE & RESET
   ============================================ */

.la, .lab, .lad, .lal, .lar, .las, body {
    -webkit-font-smoothing: antialiased;
}

.container, .la-ul > li, .page, .row, .row .col, .savis-progress-box {
    position: relative;
}

.lines-grid, .preloader {
    position: fixed;
    left: 0;
    top: 0;
}

.container, .lines-grid {
    width: 100%;
    height: 100%;
}

li, ol, ol ol, ol ul, ul, ul ol, ul ul {
    margin-bottom: 0;
}

.lightbox a img, body, td, th {
    border: none;
}

td, th {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.row .col, button {
    vertical-align: top;
}

.txtleft, body:not(.rtl) .savis-pricing-table .savis-pricing-table-header .price .unit, button, td, th {
    text-align: left;
}

.header .logo a span, blockquote, body, button, h1, h2, h3, h4, h5, h6, input, label, legend, textarea {
    font-family: iransans, serif;
}

.header .logo a, .theme_menu .buy-btn, a, a:hover {
    text-decoration: none;
}

.clear, .row:after {
    clear: both;
}

.cursor-pointer, button {
    cursor: pointer;
}

html {
    margin-right: 0 !important;
    height: 100%;
}

/* ============================================
   BODY & TYPOGRAPHY
   ============================================ */

body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-size: 15px;
    color: #e9e9e9;
    background: #242425;
    letter-spacing: 0.2px;
    font-weight: 400;
    -webkit-text-size-adjust: 100%;
    --savis-color: #5ac24e;
    --savis-color-dark: #4aad3e;
    --savis-color-light: #7ad86e;
    --savis-bg-card: #1b1e1b;
    --savis-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    --savis-radius: 12px;
    --savis-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

input[type=email], input[type=password], input[type=tel], input[type=text], input[type=url] {
    direction: ltr;
    text-align: left;
}

.page {
    overflow: hidden;
    height: 100%;
}

* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

ol, ul {
    padding-right: 0;
    list-style: none;
    margin-top: 0;
    padding-left: 0;
}

.container {
    margin: 0;
    transition: 0.4s;
    -moz-transition: 0.4s;
    -webkit-transition: 0.4s;
    -o-transition: 0.4s;
}

/* ============================================
   LINES GRID
   ============================================ */

.lines-grid {
    padding-left: 44px;
    font-size: 0;
    z-index: 200;
    pointer-events: none;
}

.menu-type-under-icon .lines-grid {
    padding-left: 88px;
    padding-right: 0;
}

.lines-grid .row {
    margin: 0;
    height: 100%;
    display: flex;
}

.lines-grid .row .col {
    padding: 0;
    height: 100%;
}

.lines-grid .row .col .lines {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 100%;
}

.lines-grid .row .col:after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #181818;
    transition: 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.lines-grid.loaded .row .col:after {
    width: 0;
}

.lines-grid.z-index {
    z-index: 111;
}

/* ============================================
   GRID SYSTEM
   ============================================ */

.row {
    margin: 0;
    font-size: 0;
}

.row .col {
    padding: 0;
    display: inline-block;
    font-size: 16px;
    min-height: 1px;
}

.row .col .col {
    padding: 16px 28px;
}

@media (min-width: 1330px) {
    .row .col.col-d-lg-12 {
        width: 99.9%;
    }

    .row .col.col-d-lg-11 {
        width: 91.6%;
    }

    .row .col.col-d-lg-10 {
        width: 83.3%;
    }

    .row .col.col-d-lg-9 {
        width: 74.9%;
    }

    .row .col.col-d-lg-8 {
        width: 66.6%;
    }

    .row .col.col-d-lg-7 {
        width: 58.3%;
    }

    .row .col.col-d-lg-6 {
        width: 49.9%;
    }

    .row .col.col-d-lg-5 {
        width: 41.6%;
    }

    .row .col.col-d-lg-4 {
        width: 33.3%;
    }

    .row .col.col-d-lg-3 {
        width: 24.9%;
    }

    .row .col.col-d-lg-2 {
        width: 16.6%;
    }

    .row .col.col-d-lg-1 {
        width: 8.3%;
    }

    .row .col.col-d-lg-0 {
        display: none;
    }
}

.row:after {
    content: "";
    display: block;
}

/* ============================================
   PRELOADER
   ============================================ */

.preloader {
    right: 0;
    bottom: 0;
    text-align: center;
    background: #181818;
    z-index: 1000;
}

.preloader .spinner {
    position: absolute;
    left: 50%;
    top: 0;
    width: 1px;
    height: 100%;
}

.preloader .spinner .double-bounce1, .preloader .spinner .double-bounce2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
}

.preloader .spinner .double-bounce2 {
    background: rgba(255, 255, 255, 0.15);
    height: 0;
    animation: 2s ease-in-out infinite loading;
}

.preloader .brand {
    background: #181818;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 16px;
}

.preloader .brand p {
    margin: 0;
    font-size: 14px;
    font-weight: bold;
    color: white;
}

/* ============================================
   HEADINGS
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 5px;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.3px;
}

h1 {
    font-size: 26px;
    line-height: 34px;
}

h2 {
    font-size: 20px;
    line-height: 26px;
}

h3 {
    font-size: 18px;
    line-height: 24px;
}

h4 {
    font-size: 16px;
    line-height: 20px;
}

h5 {
    font-size: 14px;
    line-height: 20px;
}

h6 {
    font-size: 14px;
    line-height: 20px;
}

.txtbold, strong {
    font-weight: 700;
}

/* ============================================
   LINKS
   ============================================ */

a {
    color: #a9a9a9;
    opacity: 1;
    outline: 0;
    transition: var(--savis-transition);
}

a:hover {
    color: var(--savis-color);
}

/* ============================================
   COLOR OVERRIDES (active states)
   ============================================ */

.card-inner .card-wrap .title span,
.card-inner.card-started .subtitle strong,
.card-inner.card-started .title span,
.content.inner-top .circle-bts a:hover .icon,
.content.inner-top .circle-bts a:hover span,
.header .controls-row a:hover i,
.header .controls-row a.active i,
.header .top-menu ul li.active a,
.header .top-menu ul li.active a .icon,
.header .top-menu ul li.active a .title,
.page-navigation a,
.social-btn:hover .icon,
.wp-all-posts-page .card-wrap .title span,
.box-item .desc a:hover,
.header .top-menu ul li.current-menu-item a .icon {
    color: var(--savis-color);
}

/* ============================================
   CODE
   ============================================ */

code {
    background: rgba(255, 255, 255, 0.06);
    font-size: 16px;
    margin: 20px 0;
    padding: 10px 20px;
    border-radius: 6px;
    color: #e9e9e9;
}

/* ============================================
   TABLES
   ============================================ */

table {
    width: 100%;
    margin: 30px 0;
    padding: 0;
    border-collapse: collapse;
}

th {
    font-weight: 500;
    color: #fff;
}

td {
    color: #a9a9a9;
}

/* ============================================
   FORM ELEMENTS
   ============================================ */

button, input, textarea {
    margin: 0;
    padding: 0 4px;
    display: block;
    font-size: 14px;
    width: 100%;
    height: 40px;
    color: #fff;
    background: 0 0;
    border: none;
    border-bottom: 1px solid #2f352f;
    resize: none;
    outline: 0;
    transition: var(--savis-transition);
    border-radius: 0;
}

button, button:hover {
    border-bottom: 1px solid #777;
}

button:focus, input:focus, textarea:focus {
    color: #fff;
    border-bottom: 1px solid var(--savis-color);
}

textarea {
    padding: 15px 4px;
    height: 80px;
}

button {
    width: auto;
    display: inline-block;
    color: #fff;
}

label, legend {
    display: block;
    padding-bottom: 10px;
    font-size: 16px;
}

fieldset {
    border-width: 0;
    padding: 0;
}

input[type=checkbox], input[type=radio] {
    display: inline;
}

::-webkit-input-placeholder {
    color: #777;
}

:-moz-placeholder {
    color: #777;
}

::-moz-placeholder {
    color: #777;
}

:-ms-input-placeholder {
    color: #777;
}

input:focus::-webkit-input-placeholder, textarea:focus::-webkit-input-placeholder {
    color: #fff;
}

input:focus:-moz-placeholder, textarea:focus:-moz-placeholder {
    color: #fff;
}

input:focus::-moz-placeholder, textarea:focus::-moz-placeholder {
    color: #fff;
}

input:focus:-ms-input-placeholder, textarea:focus:-ms-input-placeholder {
    color: #fff;
}

input.error, textarea.error {
    border-bottom: 1px solid #ff4757 !important;
}

.lb-data .lb-number, label.error {
    display: none !important;
}

input.error::-moz-placeholder, textarea.error::-moz-placeholder {
    color: #ff4757;
}

input.error:-moz-placeholder, textarea.error:-moz-placeholder {
    color: #ff4757;
}

input.error:-ms-input-placeholder, textarea.error:-ms-input-placeholder {
    color: #ff4757;
}

input.error::-webkit-input-placeholder, textarea.error::-webkit-input-placeholder {
    color: #ff4757;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

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

.align-right {
    text-align: right !important;
}

.align-left {
    text-align: left !important;
}

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

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

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

.full-width {
    max-width: 100% !important;
    width: 100% !important;
}

.full-max-width {
    max-width: 100% !important;
    width: auto !important;
}

.centrize {
    display: table !important;
    table-layout: fixed !important;
    height: 100vh !important;
    position: relative !important;
}

.card-inner, .header, .header:before {
    height: 100%;
    top: 0;
}

.vertical-bottom, .vertical-center, .vertical-top {
    display: table-cell !important;
}

.vertical-center {
    vertical-align: middle !important;
}

.vertical-top {
    vertical-align: top !important;
}

.vertical-bottom {
    vertical-align: bottom !important;
}

.text-uppercase {
    text-transform: uppercase !important;
}

.text-lowercase {
    text-transform: lowercase !important;
}

.text-capitalize {
    text-transform: capitalize !important;
}

.text-regular {
    font-weight: 400 !important;
}

.text-bold {
    font-weight: 700 !important;
}

.text-italic {
    font-style: italic !important;
}

.txtright, body.rtl .savis-pricing-table .savis-pricing-table-header .price .unit {
    text-align: right;
}

.txtjustify {
    text-align: justify;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@-webkit-keyframes loading {
    0% {
        height: 0;
        top: 0;
        bottom: auto;
    }
    50%, 51% {
        height: 100%;
        top: 0;
        bottom: auto;
    }
    52% {
        height: 100%;
        top: auto;
        bottom: 0;
    }
    100% {
        height: 0;
        top: auto;
        bottom: 0;
    }
}

@keyframes loading {
    0% {
        height: 0;
        top: 0;
        bottom: auto;
    }
    50%, 51% {
        height: 100%;
        top: 0;
        bottom: auto;
    }
    52% {
        height: 100%;
        top: auto;
        bottom: 0;
    }
    100% {
        height: 0;
        top: auto;
        bottom: 0;
    }
}

@-webkit-keyframes lines {
    0% {
        height: 0;
        top: 0;
        bottom: auto;
    }
    50%, 51% {
        height: 100%;
        top: 0;
        bottom: auto;
    }
    52% {
        height: 100%;
        top: auto;
        bottom: 0;
    }
    100% {
        height: 0;
        top: auto;
        bottom: 0;
    }
}

@keyframes lines {
    0% {
        height: 0;
        top: 0;
        bottom: auto;
    }
    50%, 51% {
        height: 100%;
        top: 0;
        bottom: auto;
    }
    52% {
        height: 100%;
        top: auto;
        bottom: 0;
    }
    100% {
        height: 0;
        top: auto;
        bottom: 0;
    }
}

@-webkit-keyframes settings {
    0% {
        -webkit-transform: rotate(0);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes settings {
    0% {
        transform: rotate(0);
        -webkit-transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
    }
}

/* ============================================
   HEADER
   ============================================ */

.header {
    position: fixed;
    left: 0;
    width: 44px;
    z-index: 113;
    text-align: center;
    background: #181818;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-type-under-icon .header {
    width: 88px;
}

.header:before {
    content: "";
    position: absolute;
    right: -1px;
    width: 1px;
    background: rgba(255, 255, 255, 0.05);
}

.header .logo {
    position: relative;
    padding: 0;
    background: var(--savis-color);
    text-align: center;
}

.header .logo a {
    display: block;
    height: 58px;
    line-height: 58px;
    color: #fff;
}

.header .logo a:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0) 100%);
}

.header .logo a span {
    position: relative;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.header .logo a span img {
    margin-top: 8px;
}

.header .top-menu {
    margin-top: 12px;
    width: 100%;
    font-size: 0;
}

.header .top-menu ul li, .post-box .project-gallery ul li a, .theme_menu ul.theme li a {
    display: block;
}

.header .top-menu ul li a {
    position: relative;
    display: block;
    margin: 8px 0 14px;
    text-align: center;
    color: #fff;
}

.header .top-menu ul li a .icon {
    margin: 0;
    display: block;
    height: 32px;
    line-height: 32px;
    font-size: 21px;
    color: #a9a9a9;
    border-radius: 30px;
    transition: var(--savis-transition);
}

.header .top-menu ul li a .link {
    margin: -11px 0 0;
    padding: 0 8px;
    position: absolute;
    left: 120%;
    top: 50%;
    height: auto;
    line-height: 22px;
    font-size: 12px;
    color: #fff;
    font-weight: 300;
    background: #181818;
    opacity: 0;
    z-index: 10;
    visibility: hidden;
    pointer-events: none;
    border-radius: 4px;
    transition: var(--savis-transition);
    transform: translateX(-10px);
    font-family: iransans;
    white-space: nowrap;
}

.header .top-menu ul li a .link:before {
    margin-top: -5px;
    content: "";
    position: absolute;
    left: -10px;
    transform: translateY(11px);
    top: 0;
    border: 5px solid transparent;
    border-right: 5px solid #111;
}

.header .top-menu ul li a .title {
    display: block;
    font-family: iransans;
    font-size: 12px;
    font-weight: 700;
    color: #a9a9a9;
    transition: var(--savis-transition);
}

.header .top-menu ul li a:hover .title,
.header .top-menu ul li:hover a,
.header .top-menu ul li:hover a .icon,
.la-inverse {
    color: #fff;
}

.rtl .header .top-menu ul li:hover a .link {
    transform: translate(0, -10px);
    opacity: 1;
    visibility: visible;
}

.header .top-menu ul li:hover a .link {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.header .controls-row {
    position: absolute;
    left: 0;
    bottom: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 21px;
}

.header .top-menu .controls-row {
    top: auto;
    bottom: auto;
}

.header .controls-row a {
    display: block;
}

.header .controls-row a .icon {
    margin: 0;
    display: block;
    height: 26px;
    line-height: 26px;
    font-size: 17px;
    color: #a9a9a9;
    transition: var(--savis-transition);
}

.header .controls-row a:hover .icon {
    color: var(--savis-color);
}

/* ============================================
   CARD INNER
   ============================================ */

.card-inner .card-image, .card-inner.card-started .slide {
    background-color: #262628;
    background-repeat: no-repeat;
    background-size: cover;
    top: 0;
}

.card-inner {
    padding-left: 44px;
    position: absolute;
    overflow: hidden;
    left: 0;
    width: 100%;
    z-index: 111;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.menu-type-under-icon .card-inner {
    padding-left: 88px;
}

@media screen and (max-width: 1023px) {
    .menu-type-under-icon .card-inner {
        padding-left: 0;
    }
}

.card-inner.active {
    visibility: visible;
    opacity: 1;
    z-index: 112;
}

.card-inner.card-started, .content.inner-top, .content.works .filter-menu, .savis-pricing-table, .txtcenter, .wp-all-posts-page {
    text-align: center;
}

.card-inner.card-started .slide {
    position: absolute;
    overflow: hidden;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-position: center center;
}

.video-bg canvas {
    position: absolute;
    top: 0;
    left: 0;
}

.card-inner.card-started .title {
    margin: 0 0 30px;
    font-size: 66px;
    line-height: 66px;
    color: #fff;
    font-weight: 600;
    letter-spacing: -2px;
}

.card-inner.card-started .title span {
    padding-left: 15px;
    color: var(--savis-color);
}

.card-inner.card-started .subtitle {
    margin: 0;
    font-size: 26px;
    line-height: 20px;
    font-weight: 700;
    color: #d0d0d0;
}

.card-inner.card-started .subtitle .typed-cursor, .wpml-ls-statics-footer ul .wpml-ls-display {
    display: none;
}

.card-inner.card-started .subtitle p, .savis-title .subtitle-tag, .savis-title .title-tag {
    margin: 0;
}

.card-inner .card-container, .wp-all-posts-page .card-container {
    height: 100%;
}

.card-inner .card-container .card-wrap, .wp-all-posts-page .card-container .card-wrap {
    background: linear-gradient(135deg, #1d1e21 0, #3e4246 100%);
}

.card-inner .card-container .card-wrap .simplebar-scroll-content, .wp-all-posts-page .card-container .card-wrap .simplebar-scroll-content {
    max-height: 100% !important;
}

.card-inner .card-wrap, .wp-all-posts-page .card-wrap {
    position: relative;
    overflow-x: hidden;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    height: 100%;
    display: block;
}

.card-inner .card-wrap .simplebar-content, .wp-all-posts-page .card-wrap .simplebar-content {
    overflow: hidden;
    padding: 30px 0 !important;
}

.card-inner .card-wrap .title, .wp-all-posts-page .card-wrap .title {
    margin: 0;
    position: relative;
    font-size: 20px;
    line-height: 28px;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-inner .card-image {
    position: fixed;
    overflow: hidden;
    right: -22px;
    width: 100%;
    height: 100%;
    background-position: top center;
}

.menu-type-under-icon .card-inner .card-image {
    right: -44px;
}

.card-inner .card-image:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #181818;
    opacity: 0.2;
}

/* ============================================
   CARD BOX
   ============================================ */

.card-inner .card-box, .wp-all-posts-page .card-box {
    position: relative;
    padding: 30px;
    background: #1b1e1b;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    transition: var(--savis-transition);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.card-inner .card-box:hover {
    border-color: rgba(90, 194, 78, 0.15);
    box-shadow: var(--savis-shadow);
}

@media (max-width: 768px) {
    .card-inner .card-box, .wp-all-posts-page .card-box {
        padding: 32px 16px;
    }

    .card-inner .card-box h1, .wp-all-posts-page .card-box h1 {
        font-size: 20px;
        line-height: 34px;
    }
}

/* ============================================
   CONTENT
   ============================================ */

.content {
    margin: 0;
    padding: 70px 0 0;
    position: relative;
}

.content.inner-top .title-bg {
    position: absolute;
    overflow: hidden;
    left: 0;
    top: -80px;
    width: 100%;
    line-height: 120px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0.07;
    font-size: 72px;
    letter-spacing: 6px;
}

.content.inner-top .text p {
    margin: 0 0 30px;
    font-size: 23px;
    font-weight: 200;
    color: #d0d0d0;
}

.content.inner-top .circle-bts a, .social-btn {
    margin: 5px 8px;
    display: inline-block;
    vertical-align: top;
    min-width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
    border-radius: 44px;
    transition: var(--savis-transition);
}

.content.inner-top .circle-bts a .icon, .social-btn .icon {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    font-size: 22px;
    line-height: 42px;
    color: #fff;
    transition: var(--savis-transition);
}

.content.inner-top .circle-bts a span {
    padding: 0 24px;
    display: inline-block;
    vertical-align: top;
    line-height: 44px;
    font-size: 14px;
    color: #fff;
    font-weight: 700;
    transition: var(--savis-transition);
}

.content.inner-top .circle-bts a span .icon {
    top: -2px;
    margin-right: 5px;
}

.content.inner-top .circle-bts a:hover {
    box-shadow: 0 5px 35px rgba(0, 0, 0, 0.2);
    background: var(--savis-color);
}

.content.inner-top .circle-bts a:hover .icon,
.content.inner-top .circle-bts a:hover span {
    color: #fff;
}

.content.blog {
    margin-top: -10px;
    padding-top: 0;
}

.content.blog-single {
    padding-top: 10px;
}

.content.works .filter-menu .f_btn {
    margin: 0 15px 0 0;
}

/* ============================================
   SERVICE ITEM
   ============================================ */

.service-item .icon {
    width: auto;
    margin-bottom: 7px;
}

.service-item .icon img {
    transform: perspective(300px) rotateY(0) scale(1);
    transition: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-item:hover .icon img {
    transform: perspective(300px) rotateY(360deg) scale(1.1);
}

.service-item .name {
    margin: 10px 0 5px;
    font-weight: 700;
}

.service-item .comment-author .fn {
    margin: 10px 0;
    font-size: 16px;
    color: #fff;
    font-weight: 700;
}

.service-item p {
    margin: 0;
    color: #999;
}

/* ============================================
   BOX ITEM
   ============================================ */

.box-item {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.box-item.card-box {
    padding: 0;
}

.box-item .image {
    position: relative;
    overflow: hidden;
}

.box-item .image a {
    display: block;
    font-size: 0;
}

.box-item .image a img {
    position: relative;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    transition: var(--savis-transition);
}

.box-item .image .info {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    text-align: center;
    transition: var(--savis-transition);
}

.box-item .image .info:after, .box-item .image .info:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--savis-color);
    opacity: 0.4;
    transition: var(--savis-transition);
    border-radius: 10px 10px 0 0;
}

.box-item .image .info:after {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0) 100%);
}

.box-item .image .info .icon {
    margin: -16px 0 0 -16px;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 50px;
    height: 50px;
    font-size: 50px;
    line-height: 50px;
    color: #fff;
    transition: 0.1s ease-in 0.4s;
}

.box-item .desc {
    position: relative;
    padding: 15px;
    font-size: 13px;
    background: var(--savis-bg-card);
}

.box-item .desc a {
    display: block;
    font-weight: bold;
    color: white;
    transition: var(--savis-transition);
}

.box-item .desc a:hover {
    color: var(--savis-color);
}

.box-item .desc .comment-author .fn {
    display: block;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.box-item .desc .category {
    margin: 0;
    padding: 0;
    position: relative;
    display: inline-block;
    font-size: 12px;
    line-height: 12px;
    color: #777;
    font-weight: 400;
}

.box-item .date {
    padding: 10px 0 0;
    position: absolute;
    left: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    font-size: 11px;
    line-height: 11px;
    color: #181818;
    text-align: center;
    font-weight: 500;
    text-transform: uppercase;
    background: #fff;
    border-radius: 8px;
}

.theme_menu .buy-btn, .theme_menu h4 {
    font-size: 13px;
    display: block;
    font-weight: 500;
    text-transform: uppercase;
}

.box-item .date strong {
    display: block;
    font-size: 23px;
    line-height: 23px;
    color: #181818;
    font-weight: 700;
}

.box-item:hover .image img {
    transform: scale(1.08);
}

.box-item:hover .image .info, .lb-nav a.lb-next:hover, .lb-nav a.lb-prev:hover, .savis-button:hover .text:after {
    opacity: 1;
}

/* ============================================
   THEME MENU
   ============================================ */

.card-inner.blog-post {
    -webkit-animation: none;
    animation: none;
}

.theme_menu h4 {
    margin: 30px 0 15px;
    padding: 0 15px;
    line-height: 16px;
    color: #222;
    background: #fff;
}

.circle-bts button {
    background: rgba(255, 255, 255, 0.05);
}

.theme_menu .segment {
    padding: 0 12px;
    margin-bottom: 0;
}

.theme_menu ul.theme {
    margin: 0 -5px;
    font-size: 0;
}

.theme_menu ul.theme li a:hover {
    background: #f9f9f9;
}

.theme_menu ul.theme li {
    margin: 0 5px 10px;
    display: inline-block;
    list-style: none;
}

.theme.layout_style li a {
    height: 28px;
    width: 28px;
}

.theme_menu .theme.demo_list {
    margin: 5px -1px 0 0;
}

.theme_menu .theme.demo_list li {
    margin: -1px 0 0;
    float: left;
    width: 100%;
    height: 34px;
    line-height: 34px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
    text-align: center;
    font-size: 11px;
    text-transform: uppercase;
}

.theme_panel.left .theme_menu .theme.demo_list li {
    margin: -1px 0 0 -1px;
}

.theme_menu ul.theme li:nth-child(5), .theme_menu ul.theme li:nth-child(6) {
    border-bottom: none;
}

.theme_menu .theme.demo_list li strong {
    font-weight: 500;
    color: #444;
}

.theme_menu .buy-btn {
    margin: 15px 0 0;
    padding: 0 15px;
    height: 40px;
    line-height: 40px;
    color: #f9f9f9;
    background: green;
}

.theme_menu .buy-btn .ion {
    margin: 0 10px 0 0;
    display: inline-block;
    vertical-align: middle;
    font-size: 20px;
    line-height: 40px;
    color: #fefefe;
}

/* ============================================
   POST BOX (BLOG)
   ============================================ */

.post-box {
    margin-bottom: 70px !important;
}

.post-box .blog-detail {
    display: flex;
    flex-wrap: wrap;
    margin: 10px 0 20px;
    font-size: 14px;
    color: #888;
    line-height: 20px;
}

.single-portfolio .post-thumbnail {
    margin-top: 20px;
}

.post-box .blog-detail .cats, .post-box .blog-detail .tags {
    display: flex;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
}

.blog-detail.cats, .comment-form-cookies-consent, .poxt-box .project-gallery {
    margin-top: 30px;
}

@media (max-width: 768px) {
    .blog-detail.cats, .comment-form-cookies-consent, .poxt-box .project-gallery {
        margin-top: 10px;
        font-size: 12px;
    }
}

.post-box .blog-detail a {
    font-size: 14px;
    padding: 0 2.5px;
    transition: var(--savis-transition);
}

.post-box .blog-detail a:hover {
    color: var(--savis-color);
}

.post-box .blog-detail span {
    font-size: 13px;
    padding: 0 5px;
}

.post-box .blog-detail i {
    margin-right: 5px;
}

.post-box .blog-detail span.date {
    margin-right: 16px;
}

.post-box .blog-image {
    margin: 0 0 25px;
    font-size: 0;
}

.col.go-to-page, .col.page-number, .post-box .blog-image img, .savis-progress-box .info, .w100 {
    width: 100%;
}

.post-box .blog-content blockquote {
    margin: 25px 0;
    padding: 16px 24px;
    font-size: 16px;
    line-height: 26px;
    color: #d0d0d0;
    font-style: italic;
    font-weight: 300;
    border-left: 3px solid var(--savis-color);
    background: rgba(90, 194, 78, 0.05);
    border-radius: 0 8px 8px 0;
}

.post-box .blog-content ul {
    list-style: none;
}

.post-box .blog-content ul.list-style li:before {
    background: var(--savis-color);
}

/* ============================================
   COMMENTS FORM
   ============================================ */

.comments-form form, .gallery.post-box {
    display: inline-block;
    width: 100%;
}

.comments-form form p label {
    padding-bottom: 0 !important;
    font-size: 14px;
}
.comments-form .form-submit {
    margin: 0;
}
.comments-form .form-submit .submit {
    margin-top: 50px;
    padding: 10px 25px;
    text-align: center;
    background: var(--savis-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(90, 194, 78, 0.25);
    cursor: pointer;
    height: auto;
    border: none;
    border-radius: 10px;
    transition: var(--savis-transition);
}

.comments-form .form-submit .submit:hover {
    background: var(--savis-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(90, 194, 78, 0.35);
}

.logged-in .comments-form .form-submit .submit {
    margin-top: 40px;
}

.post-box.comments-form .button {
    margin: 0 28px;
}

@media (max-width: 1023px) {
    .post-box.comments-form .button {
        margin: 0 16px;
    }
}

@media (max-width: 768px) {
    .post-box.comments-form {
        padding: 32px 16px;
    }

    .post-box.comments-form h4 {
        font-size: 16px;
    }

    .comment-notes {
        font-size: 12px;
    }

    input[type=checkbox] {
        width: 14px;
        height: 14px;
    }

    button, input, textarea {
        font-size: 13px;
    }
}

/* ============================================
   NO POST
   ============================================ */

.no-post {
    text-align: center;
    padding: 30px;
    font-size: 24px;
    font-weight: 700;
}

/* ============================================
   MISC
   ============================================ */

input[type=radio] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: inline;
}

.comment-author .fn {
    font-weight: 700;
    font-style: normal;
}

span.says {
    color: #777;
}

.circle-bts, .page-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-navigation span.pages {
    color: #777;
    font-size: 14px;
}

.page-navigation a, .page-navigation span {
    padding: 15px;
}

.col.go-to-page {
    display: flex;
    justify-content: center;
}

.wp-page-title {
    margin-bottom: 50px;
}

.post-box .blog-content .project-info {
    margin-top: 30px;
    margin-bottom: 30px;
}

.circle-bts, .post-box .blog-content .project-info ul {
    margin-top: 10px;
}

.post-box .blog-content .project-info .box-title, .post-box .project-gallery .box-title {
    font-weight: 700;
    font-size: 18px;
}

.post-box .project-gallery ul li {
    padding: 0;
    margin: 0;
}

.post-box .project-gallery ul li img {
    transition: var(--savis-transition);
    -webkit-transition: var(--savis-transition);
}

.post-box .project-gallery ul li img:hover {
    opacity: 0.85;
}

.post-box .blog-content .project-info ul li:before, .post-box .project-gallery ul li:before {
    content: none;
}

.post-box .blog-content .project-info ul li {
    padding-right: 0;
    font-size: 13px;
    margin-bottom: 10px;
}

.post-box .blog-content .project-info ul li i {
    font-size: 20px;
}

.gallery.post-box .project-gallery .box-title, .post-thumbnail {
    margin-bottom: 30px;
}

.gallery.post-box .project-gallery ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.circle-bts button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: none;
    border-radius: 50px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
    transition: var(--savis-transition);
}

.circle-bts button:hover, .social-btn:hover {
    box-shadow: 0 5px 35px rgba(0, 0, 0, 0.35);
}

.post-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 25px;
}

/* ============================================
   SIMPLEBAR
   ============================================ */

[data-simplebar] {
    position: relative;
    z-index: 0;
    overflow: hidden !important;
    max-height: inherit;
    -webkit-overflow-scrolling: touch;
}

[data-simplebar=init] {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.simplebar-scroll-content {
    overflow-x: hidden !important;
    overflow-y: scroll;
    min-width: 100% !important;
    max-height: inherit !important;
    -webkit-box-sizing: content-box !important;
    box-sizing: content-box !important;
}

.simplebar-content {
    overflow-y: hidden !important;
    overflow-x: scroll;
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
    min-height: 100% !important;
}

.experiences, .over-hidden, .savis-button, .savis-button .btn-inner, .savis-service-box, .sr-only, body.lb-disable-scrolling {
    overflow: hidden;
}

.simplebar-track {
    z-index: 1;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 11px;
}

.simplebar-scrollbar {
    position: absolute;
    left: 2px;
    width: 7px;
    min-height: 10px;
}

.simplebar-scrollbar:before {
    position: absolute;
    content: "";
    background: var(--savis-color);
    border-radius: 7px;
    left: 0;
    right: 0;
    opacity: 0;
    -webkit-transition: opacity 0.2s linear;
    transition: opacity 0.2s linear;
}

.simplebar-track .simplebar-scrollbar.visible:before, .simplebar-track:hover .simplebar-scrollbar:before {
    opacity: 0.5;
    -webkit-transition: opacity linear;
    transition: opacity linear;
}

.simplebar-track.vertical {
    top: 0;
}

.simplebar-track.vertical .simplebar-scrollbar:before {
    top: 2px;
    bottom: 2px;
}

.simplebar-track.horizontal {
    left: 0;
    width: auto;
    height: 11px;
}

.simplebar-track.horizontal .simplebar-scrollbar:before {
    height: 100%;
    left: 2px;
    right: 2px;
}

.horizontal.simplebar-track .simplebar-scrollbar {
    right: auto;
    top: 2px;
    height: 7px;
    min-height: 0;
    min-width: 10px;
    width: auto;
}

/* ============================================
   SAVIS PROGRESS
   ============================================ */

.savis_progress {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.savis_progress .text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
}

.savis_progress .progress_bg {
    height: 5px;
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 5px;
}

.savis_progress .progress_bar {
    height: 5px;
    background: var(--savis-color);
    border-radius: 5px;
    transition: width 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   WPML
   ============================================ */

.wpml-ls-statics-footer {
    position: fixed;
    right: 20px;
    bottom: 30px;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 150;
}

.wpml-ls-statics-footer ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 5px !important;
    font-size: 11px;
    background: #1b1e1b;
    border-radius: 5px;
    box-shadow: 2px 5px 20px rgba(0, 0, 0, 0.25);
}

/* ============================================
   NUMBER BOX
   ============================================ */

.number-box {
    display: flex;
    flex-direction: column;
    align-items: self-end;
}

.experiences, .savis-comments-slider .comment .infos .name {
    display: grid;
}

.number-box .number-box-title {
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.number-box .number-box-line {
    height: 2px;
}

/* ============================================
   SAVIS ICON
   ============================================ */

.elementor-social-icons-wrapper .elementor-icon.elementor-social-icon, .savis-icon {
    display: flex;
}

.align-start, .savis-title .title-head {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.savis-title .savis-icon {
    transition: var(--savis-transition);
}

.savis-icon {
    align-items: center;
    justify-content: center;
    transition: var(--savis-transition);
}

.dgrid {
    display: -webkit-box !important;
    display: -ms-grid !important;
    display: grid !important;
}

.dfxcl {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.jcfull {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.jccenter {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.jcend {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.v_dir {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.flex-wrap {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

/* ============================================
   SOCIAL ICON APARAT
   ============================================ */

.social-icon-aparat svg {
    width: 21px;
    height: 21px;
    fill: #a9a9a9;
}

.project-info svg, .savis-service-box .savis-sb-icon svg, .social-icon-aparat:hover svg {
    fill: var(--savis-color);
}

/* ============================================
   SAVIS SERVICE BOX
   ============================================ */

.savis-service-box {
    position: relative;
    display: block;
}

.savis-service-box .savis-sb-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: var(--savis-transition);
}

.savis-service-box:hover .savis-sb-bg-container {
    opacity: 0.5;
}

.savis-service-box .savis-sb-content {
    position: relative;
    z-index: 10;
}

.savis-service-box .savis-sb-number {
    display: block;
    font-size: 60px;
}

.savis-service-box .savis-sb-icon i {
    font-size: 42px;
    color: var(--savis-color);
}

.savis-service-box .savis-sb-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--savis-color);
}

.savis-service-box .savis-sb-text {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   SAVIS PRICING TABLE
   ============================================ */

.savis-pricing-table .savis-pricing-table-header {
    padding-top: 20px;
    padding-bottom: 20px;
}

.savis-pricing-table .savis-pricing-table-header .title {
    margin-bottom: 30px;
    margin-top: 10px;
}

.savis-pricing-table .savis-pricing-table-header .title h3 {
    font-size: 26px;
}

.savis-pricing-table .savis-pricing-table-header .tag span {
    display: inline-block;
    font-family: IranSans, Sans-serif, serif;
    font-size: 12px;
    font-weight: 600;
    background-color: var(--savis-color);
    padding: 0 15px;
    margin: 0 0 10px;
    border-radius: 3px;
    color: #fff;
}

.savis-pricing-table .savis-pricing-table-header .price {
    gap: 10px;
}

.savis-pricing-table .savis-pricing-table-header .price .period {
    writing-mode: vertical-rl;
    font-size: 16px;
    color: #999;
}

.savis-pricing-table .savis-pricing-table-header .price strong {
    font-size: 70px;
    font-family: IranSans, serif;
    line-height: 1;
}

.savis-pricing-table .savis-pricing-table-header .price .unit {
    display: grid;
    line-height: 20px;
    font-size: 14px;
    color: #999;
}

.savis-pricing-table .savis-pricing-table-body {
    display: flex;
    justify-content: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.savis-pricing-table .savis-pricing-table-body ul {
    list-style: none;
    margin-bottom: 0;
    text-align: center;
}

.savis-pricing-table .savis-pricing-table-body ul li {
    border-bottom-style: dashed;
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.savis-pricing-table .savis-pricing-table-body ul li:first-child {
    padding-top: 0 !important;
}

.savis-pricing-table .savis-pricing-table-body ul li:last-child {
    padding-bottom: 0 !important;
    border: none !important;
}

.savis-pricing-table .savis-pricing-table-footer .savis-pricing-table-button {
    display: inline-block;
    padding: 10px 30px;
    border-radius: 3px;
    background: var(--savis-color);
    color: #222;
    font-size: 14px;
    font-weight: 700;
    transition: var(--savis-transition);
}

.savis-pricing-table .savis-pricing-table-footer .savis-pricing-table-button:hover {
    background: var(--savis-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(90, 194, 78, 0.3);
}

.savis-pricing-table .savis-pricing-table-footer p {
    margin-top: 20px;
    margin-bottom: 0;
}

/* ============================================
   SAVIS PROGRESS BOX
   ============================================ */

.savis-progress-box .progress-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.savis-progress-box .subtitle {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: #888;
}

.savis-progress-box .progress_bar {
    border-radius: 3px;
    height: 6px;
}

.savis-progress-box .progress_bg {
    background: rgba(121, 121, 121, 0.24);
    border-radius: 3px;
}

/* ============================================
   SAVIS COMMENTS SLIDER
   ============================================ */

.savis-comments-slider .comment .cm-text {
    display: inline-block;
}

.project-info li, .savis-comments-slider .comment .infos {
    gap: 15px;
}

@media (max-width: 768px) {
    .project-info li, .savis-comments-slider .comment .infos {
        gap: 6px;
    }
}

.savis-comments-slider .comment .infos img {
    border-radius: 100px;
    width: 70px;
    height: 70px;
}

.savis-comments-slider .comment .infos .name strong {
    color: var(--savis-color);
    font-size: 16px;
}

.savis-comments-slider .comment .infos .name span {
    font-size: 12px;
    margin-top: 5px;
}

.savis-comments-slider .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.savis-comments-slider .owl-dots span {
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50px;
    background: #62666c;
    transition: var(--savis-transition);
}

.savis-comments-slider .owl-dots .active span {
    background: var(--savis-color);
    width: 32px;
}

/* ============================================
   SAVIS TITLE 2
   ============================================ */

.savis-title-2 {
    margin-left: 30px;
    position: relative;
}

body.rtl .savis-title-2 {
    margin-right: 30px;
    margin-left: 0;
}

.savis-title-2 .main-title {
    margin: -7px 0 0;
    font-size: 18px;
    color: var(--savis-color);
}

.savis-title-2 .second-title {
    font-weight: 400;
    font-size: 14px;
    margin: 0;
    color: #fffb;
}

.savis-title-2:before {
    z-index: -1;
    position: absolute;
    bottom: 5px;
    left: -30px;
    content: "";
    width: 17px;
    height: 50px;
    background-image: radial-gradient(#48c93a 2px, transparent 2px);
    -webkit-background-size: 20px 20px;
    background-size: 10px 10px;
    border-radius: 0;
}

/* ============================================
   SAVIS BUTTON
   ============================================ */

.savis-button {
    position: relative;
    padding: 10px 30px;
    background: #262628;
    border-radius: 4px;
    transition: var(--savis-transition);
    color: var(--savis-color);
}

.savis-button .text {
    position: relative;
    gap: 10px;
    transition: var(--savis-transition);
}

.savis-button .text:after {
    position: absolute;
    content: attr(data-hover);
    top: -100%;
    left: 50%;
    color: #fff;
    transform: translate3d(0, 0, 0) translateX(-50%);
    opacity: 0;
    transition: var(--savis-transition);
    white-space: nowrap;
}

.savis-button:hover {
    background: var(--savis-color);
}

.savis-button:hover .text {
    transform: translateY(100%);
}

/* ============================================
   PROJECT INFO
   ============================================ */

.project-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 10px 0;
}

.project-info li .texts {
    gap: 5px;
    flex-wrap: wrap;
}

.project-info li .texts b, .project-info li .texts span {
    font-size: 16px;
}

.project-info svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

@media screen and (max-width: 768px) {
    .project-info {
        gap: 8px;
    }

    .project-info li .texts b, .project-info li .texts span {
        font-size: 12px;
    }

    .project-info svg {
        width: 18px;
        height: 18px;
    }
}

/* ============================================
   PROJECT GALLERY IMAGES
   ============================================ */

.project-gallery-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.post-box .project-gallery-images {
    margin-top: 44px;
}

@media screen and (max-width: 1200px) {
    .project-gallery-images {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    .wpml-ls-statics-footer {
        right: 10px;
        bottom: 10px;
    }

    .project-gallery-images {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 480px) {
    .project-gallery-images {
        grid-template-columns: 1fr;
    }
}

.project-gallery-images a {
    display: block;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--savis-transition);
}

.project-gallery-images a:hover {
    transform: scale(1.03);
    box-shadow: var(--savis-shadow);
}

.project-gallery-images a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   ELEMENTOR OVERRIDES
   ============================================ */

body:not(.rtl) .elementor-testimonial--align-left.elementor-testimonial--layout-image_above .elementor-testimonial__footer,
body:not(.rtl) .elementor-testimonial--align-left.elementor-testimonial--layout-image_inline .elementor-testimonial__footer {
    flex-direction: row;
    justify-content: flex-start;
}

button:active, button:focus, button:hover,
input:active, input:focus, input:hover,
textarea:active, textarea:focus, textarea:hover {
    border-bottom-color: var(--savis-color) !important;
}

/* ============================================
   WP PAGENAVI
   ============================================ */

.wp-pagenavi {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin-top: 50px;
    font-size: 14px;
}

.wp-pagenavi a, .wp-pagenavi span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    transition: var(--savis-transition);
    color: #fff;
    font-size: 16px;
}

body:not(.rtl) .wp-pagenavi .pages {
    margin-right: 10px;
}

.rtl .wp-pagenavi .pages {
    margin-left: 10px;
}

.wp-pagenavi .current,
.wp-pagenavi a:hover {
    background: var(--savis-color);
    color: #fff;
}

/* ============================================
   SAVIS MODAL
   ============================================ */

.savis-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 300px;
    padding: 20px;
    background: var(--savis-bg-card);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.25);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    visibility: hidden;
    opacity: 0;
}

.savis-modal.active {
    transform: translate(-50%, -50%) scale(1);
    visibility: visible;
    opacity: 1;
}

.savis-modal .modal-header {
    font-size: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.savis-modal .la-window-close {
    cursor: pointer;
    font-size: 24px;
    color: #666;
    transition: var(--savis-transition);
}

.savis-modal .la-window-close:hover {
    color: #ff4757;
}

.savis-modal .modal-body {
    margin-top: 16px;
}

.modal-socials .modal-body {
    gap: 8px;
    flex-wrap: wrap;
    display: flex;
}

.modal-socials .modal-body a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    font-size: 20px;
    transition: var(--savis-transition);
}

.modal-socials .modal-body a svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    color: inherit;
}

.modal-socials .modal-body a:hover {
    background: var(--savis-color);
    color: #fff;
    transform: translateY(-2px);
}

.modal-search .search-button {
    width: 36px;
    border-bottom: 1px solid #2f352f;
}

.modal-login .forms-switcher {
    margin-bottom: 24px;
    gap: 8px;
    display: flex;
}

.modal-login .forms-switcher button {
    font-size: 12px;
    color: #777;
    background: none;
    border: none;
    padding: 4px 0;
}

.modal-login .forms-switcher button:hover {
    color: #fff;
}

.modal-login .forms-switcher button.active {
    font-weight: bold;
    color: var(--savis-color);
    border-bottom: 2px solid var(--savis-color);
}

.modal-login form {
    gap: 8px;
    display: none;
    align-items: center;
    flex-direction: column;
}

.modal-login form.active {
    display: flex;
}

.modal-login label {
    display: none;
}

.modal-login form .input-field {
    font-size: 12px;
    padding-right: 16px;
    padding-left: 16px;
}

.modal-login form .buttons {
    margin-top: 16px;
    gap: 8px;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.modal-login form .buttons .button {
    border: none;
    height: 36px;
    font-size: 12px;
    color: #aaa;
    padding: 0 16px;
    border-radius: 4px;
    transition: var(--savis-transition);
}

.modal-login form .buttons .submit-btn:hover,
.modal-login form .buttons .register_btn:hover {
    background: var(--savis-color);
    color: #fff;
}

.modal-login form .buttons .lost-pass-btn {
    transition: var(--savis-transition);
}

.modal-login form .buttons .lost-pass-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.modal-login .result {
    margin: 16px 0 0;
    font-size: 13px;
    text-align: center;
}

input[type=checkbox] {
    float: left;
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

/* ============================================
   VIDEO GALLERY
   ============================================ */

.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.video-item {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--savis-transition);
    aspect-ratio: 16/9;
}

.video-item:hover {
    transform: scale(1.03);
}

.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    transition: var(--savis-transition);
}

.play-icon::after {
    content: '';
    position: absolute;
    left: 55%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-width: 10px 0 10px 20px;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
}

.video-item:hover .play-icon {
    background: var(--savis-color);
    transform: translate(-50%, -50%) scale(1.15);
}

.video-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-popup.active {
    opacity: 1;
    visibility: visible;
    display: flex;
}

body.no-scroll {
    overflow: hidden;
}

.video-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.video-popup-content {
    position: relative;
    width: 80%;
    max-width: 900px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    z-index: 1;
}

.video-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    color: #fff;
    background: rgba(255, 0, 0, 0.8);
    font-size: 24px;
    cursor: pointer;
    z-index: 2;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    transition: var(--savis-transition);
}

.video-popup-close:hover {
    background: #ff0000;
    border-bottom: none;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.blog-content {
    font-size: 14px;
    line-height: 32px;
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */

@media (max-width: 1330px) {
    .row .col.col-d-12 {
        width: 99.9%;
    }

    .row .col.col-d-11 {
        width: 91.6%;
    }

    .row .col.col-d-10 {
        width: 83.3%;
    }

    .row .col.col-d-9 {
        width: 74.9%;
    }

    .row .col.col-d-8 {
        width: 66.6%;
    }

    .row .col.col-d-7 {
        width: 58.3%;
    }

    .row .col.col-d-6 {
        width: 49.9%;
    }

    .row .col.col-d-5 {
        width: 41.6%;
    }

    .row .col.col-d-4 {
        width: 33.3%;
    }

    .row .col.col-d-3 {
        width: 24.9%;
    }

    .row .col.col-d-2 {
        width: 16.6%;
    }

    .row .col.col-d-1 {
        width: 8.3%;
    }

    .row .col.col-d-0 {
        display: none;
    }

    .card-inner .card-image {
        right: -16px;
    }

    .menu-type-under-icon .card-inner .card-image {
        right: -29px;
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 1023px) {
    .page {
        padding-top: 0;
    }

    .card-inner, .page .lines-grid {
        padding-left: 0;
    }

    .menu-type-under-icon .page .lines-grid {
        padding: 0;
    }

    .row .col.col-t-12 {
        width: 99.9%;
    }

    .row .col.col-t-11 {
        width: 91.6%;
    }

    .row .col.col-t-10 {
        width: 83.3%;
    }

    .row .col.col-t-9 {
        width: 74.9%;
    }

    .row .col.col-t-8 {
        width: 66.6%;
    }

    .row .col.col-t-7 {
        width: 58.3%;
    }

    .row .col.col-t-6 {
        width: 49.9%;
    }

    .row .col.col-t-5 {
        width: 41.6%;
    }

    .row .col.col-t-4 {
        width: 33.3%;
    }

    .row .col.col-t-3 {
        width: 24.9%;
    }

    .row .col.col-t-2 {
        width: 16.6%;
    }

    .row .col.col-t-1 {
        width: 8.3%;
    }

    .header .top-menu ul li a .link, .header:before, .row .col.col-t-0 {
        display: none;
    }

    .header .menu-btn, .header .top-menu {
        background: #202020;
        position: absolute;
    }

    .header {
        top: 0;
        left: 0;
        width: 100%;
        height: 58px;
        background: #181818;
    }

    .menu-type-under-icon .header {
        width: 100%;
    }

    .header.opened .top-menu {
        opacity: 1;
        visibility: visible;
    }

    .header.opened .menu-btn .m-line {
        background: 0 0;
    }

    .header.opened .menu-btn .m-line:before {
        top: 0;
        bottom: auto;
        transform: rotate(45deg);
    }

    .header.opened .menu-btn .m-line:after {
        top: auto;
        bottom: 0;
        transform: rotate(-45deg);
    }

    .header .logo {
        min-width: 50px;
        float: left;
    }

    .header .top-menu {
        left: 0;
        top: 58px;
        margin-top: 0;
        width: 100%;
        opacity: 0;
        visibility: hidden;
        transition: var(--savis-transition);
    }

    .header .top-menu ul {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .header .top-menu ul li a {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .header .top-menu ul li a .icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin: 0;
    }

    .header .controls-row {
        position: absolute;
        left: auto;
        right: 70px;
        bottom: auto;
        top: 15px;
        width: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        flex-direction: row;
    }

    .header .controls-row a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        margin: 0;
    }

    .header .menu-btn {
        top: 0;
        right: 0;
        width: 58px;
        height: 58px;
        cursor: pointer;
    }

    .header .menu-btn .m-line {
        margin: -1px 0 0 -10px;
        position: absolute;
        left: 50%;
        top: 50%;
        width: 22px;
        height: 2px;
        background: #a9a9a9;
        transition: var(--savis-transition);
    }

    .header .menu-btn .m-line:after, .header .menu-btn .m-line:before {
        content: "";
        position: absolute;
        left: 0;
        top: -7px;
        width: 100%;
        height: 2px;
        background: #a9a9a9;
        transition: var(--savis-transition);
    }

    .header .menu-btn .m-line:after {
        top: auto;
        bottom: -7px;
    }

    .card-inner .card-image {
        position: relative;
        top: -30px;
        right: 0;
        height: 50vh;
    }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE
   ============================================ */

@media (max-width: 560px) {
    .row .col .col {
        padding: 16px;
    }

    .row .col.col-m-12 {
        width: 99.996%;
    }

    .row .col.col-m-11 {
        width: 91.663%;
    }

    .row .col.col-m-10 {
        width: 83.333%;
    }

    .row .col.col-m-9 {
        width: 74.997%;
    }

    .row .col.col-m-8 {
        width: 66.664%;
    }

    .row .col.col-m-7 {
        width: 58.331%;
    }

    .row .col.col-m-6 {
        width: 49.998%;
    }

    .row .col.col-m-5 {
        width: 41.665%;
    }

    .row .col.col-m-4 {
        width: 33.332%;
    }

    .row .col.col-m-3 {
        width: 24.999%;
    }

    .row .col.col-m-2 {
        width: 16.666%;
    }

    .row .col.col-m-1 {
        width: 8.333%;
    }

    .header .top-menu ul li a .link, .row .col.col-m-0 {
        display: none;
    }

    .card-inner .card-wrap .title, .card-inner.card-started, .wp-all-posts-page .card-wrap .title {
        text-align: center;
    }

    .card-inner.card-started .title {
        margin: 0 0 30px;
        font-size: 46px;
        line-height: 50px;
    }

    .card-inner.card-started .title span {
        padding-right: 0;
    }

    .card-inner.card-started .subtitle {
        margin: 0;
        font-size: 18px;
        line-height: 18px;
    }

    .card-inner .card-image {
        height: 40vh;
    }

    .content {
        padding: 50px 0 0;
    }

    .content.inner-top, .content.inner-top .text {
        padding-top: 15px;
    }

    .content.inner-top .title-bg {
        line-height: 140px;
    }

    .content.inner-top .text p {
        margin: 0 0 30px;
        font-size: 19px;
    }

    .content.inner-top .text p br {
        display: none;
    }

    .content.inner-top .circle-bts a:first-child {
        margin-bottom: 15px;
        display: block;
    }
}

/* ============================================
   RESPONSIVE - LANDSCAPE
   ============================================ */

@media screen and (orientation: landscape) and (max-width: 820px) {
    .card-inner .card-image {
        height: 100vh;
    }
}


/* ============================================
   FULL PAGE MENU
   ============================================ */

/* استایل کلی منوی تمام صفحه */
.full-page-menu-overlay {
    position: fixed;
    top: 0;
    left: 44px;
    width: calc(100% - 44px);
    height: 100%;
    background: rgba(24, 24, 24, 0.97);
    z-index: 999;
    /* تغییر display به flex ثابت برای جلوگیری از ناپدید شدن ناگهانی و امکان فید شدن */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* جلوگیری از کلیک روی منوی بسته */
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.full-page-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.full-page-menu-container {
    width: 100%;
    max-width: 600px;
    padding: 40px 20px;
    margin: 0 auto;
}

.full-page-menu-inner {
    width: 100%;
}

/* استایل منو */
.full-page-nav {
    width: 100%;
}

.full-page-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
}

.full-page-menu li {
    position: relative;
}

.full-page-menu > li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.full-page-menu > li:last-child {
    border-bottom: none;
}

/* لینک‌های اصلی */
.full-page-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    font-size: 22px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: var(--savis-transition);
    letter-spacing: 0.5px;
    gap: 12px;
    width: 100%;
    position: relative;
}

.full-page-menu > li > a:hover {
    color: var(--savis-color);
    transform: translateX(0);
}

.full-page-menu > li > a .menu-icon {
    font-size: 24px;
    color: var(--savis-color);
}

/* دکمه فلش زیرمنو */
.sub-menu-toggle {
    position: absolute;
    right: 0;
    top: 12px;
    background: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 8px 12px;
    transition: var(--savis-transition);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
}

.sub-menu-toggle:hover {
    color: var(--savis-color);
    background: rgba(90, 194, 78, 0.1);
    border: none;
}

.sub-menu-toggle:focus {
    border: none;
}

.sub-menu-toggle.active {
    transform: rotate(180deg);
    background: rgba(90, 194, 78, 0.1);
    color: var(--savis-color);
}

.sub-menu-toggle svg {
    transition: transform 0.3s ease;
}

/* زیرمنوها */
.full-page-menu .sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0 0 8px 8px;
}

.full-page-menu .sub-menu.open {
    max-height: 800px;
    padding: 8px 0;
}

.full-page-menu .sub-menu li {
    width: 100%;
}

.full-page-menu .sub-menu li a {
    display: block;
    padding: 12px 20px 12px 40px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--savis-transition);
}

.full-page-menu .sub-menu li a:hover {
    color: var(--savis-color);
}

/* زیرمنو سطح 2 */
.full-page-menu .sub-menu .sub-menu {
    background: rgba(255, 255, 255, 0.02);
}

.full-page-menu .sub-menu .sub-menu li a {
    padding-left: 60px;
    font-size: 14px;
}

/* آیتم فعال */
.full-page-menu > li.current-menu-item > a,
.full-page-menu > li.current-menu-parent > a,
.full-page-menu > li.active > a {
    color: var(--savis-color);
}

.full-page-menu > li.current-menu-item > a .menu-icon,
.full-page-menu > li.current-menu-parent > a .menu-icon {
    color: var(--savis-color);
}

/* responsive */
@media (max-width: 768px) {
    .full-page-menu-container {
        padding: 30px 16px;
    }

    .full-page-menu > li > a {
        font-size: 18px;
        padding: 14px 16px;
    }

    .full-page-menu .sub-menu li a {
        padding: 10px 16px 10px 30px;
        font-size: 15px;
    }

    .full-page-menu .sub-menu .sub-menu li a {
        padding-left: 46px;
        font-size: 13px;
    }
}

/* انیمیشن ورود و خروج آیتم‌ها */
.full-page-menu-overlay .full-page-menu > li {
    opacity: 0;
    transform: translateY(20px);
}

.full-page-menu-overlay.active .full-page-menu > li {
    animation: menuSlideIn 0.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.full-page-menu-overlay.closing .full-page-menu > li {
    animation: menuSlideOut 0.3s ease forwards;
}

.full-page-menu-overlay.active .full-page-menu > li:nth-child(1) { animation-delay: 0.05s; }
.full-page-menu-overlay.active .full-page-menu > li:nth-child(2) { animation-delay: 0.10s; }
.full-page-menu-overlay.active .full-page-menu > li:nth-child(3) { animation-delay: 0.15s; }
.full-page-menu-overlay.active .full-page-menu > li:nth-child(4) { animation-delay: 0.20s; }
.full-page-menu-overlay.active .full-page-menu > li:nth-child(5) { animation-delay: 0.25s; }
.full-page-menu-overlay.active .full-page-menu > li:nth-child(6) { animation-delay: 0.30s; }
.full-page-menu-overlay.active .full-page-menu > li:nth-child(7) { animation-delay: 0.35s; }
.full-page-menu-overlay.active .full-page-menu > li:nth-child(8) { animation-delay: 0.40s; }
.full-page-menu-overlay.active .full-page-menu > li:nth-child(9) { animation-delay: 0.45s; }
.full-page-menu-overlay.active .full-page-menu > li:nth-child(10) { animation-delay: 0.50s; }
.full-page-menu-overlay.active .full-page-menu > li:nth-child(11) { animation-delay: 0.55s; }
.full-page-menu-overlay.active .full-page-menu > li:nth-child(12) { animation-delay: 0.60s; }
.full-page-menu-overlay.active .full-page-menu > li:nth-child(13) { animation-delay: 0.65s; }
.full-page-menu-overlay.active .full-page-menu > li:nth-child(14) { animation-delay: 0.70s; }

.full-page-menu-overlay.closing .full-page-menu > li:nth-child(14) { animation-delay: 0.00s; }
.full-page-menu-overlay.closing .full-page-menu > li:nth-child(13) { animation-delay: 0.02s; }
.full-page-menu-overlay.closing .full-page-menu > li:nth-child(12) { animation-delay: 0.04s; }
.full-page-menu-overlay.closing .full-page-menu > li:nth-child(11) { animation-delay: 0.06s; }
.full-page-menu-overlay.closing .full-page-menu > li:nth-child(10) { animation-delay: 0.08s; }
.full-page-menu-overlay.closing .full-page-menu > li:nth-child(9) { animation-delay: 0.10s; }
.full-page-menu-overlay.closing .full-page-menu > li:nth-child(8) { animation-delay: 0.12s; }
.full-page-menu-overlay.closing .full-page-menu > li:nth-child(7) { animation-delay: 0.14s; }
.full-page-menu-overlay.closing .full-page-menu > li:nth-child(6) { animation-delay: 0.16s; }
.full-page-menu-overlay.closing .full-page-menu > li:nth-child(5) { animation-delay: 0.18s; }
.full-page-menu-overlay.closing .full-page-menu > li:nth-child(4) { animation-delay: 0.20s; }
.full-page-menu-overlay.closing .full-page-menu > li:nth-child(3) { animation-delay: 0.22s; }
.full-page-menu-overlay.closing .full-page-menu > li:nth-child(2) { animation-delay: 0.24s; }
.full-page-menu-overlay.closing .full-page-menu > li:nth-child(1) { animation-delay: 0.26s; }

@keyframes menuSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes menuSlideOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* اسکرول برای منوی بلند */
.full-page-menu-overlay::-webkit-scrollbar {
    width: 6px;
}

.full-page-menu-overlay::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.full-page-menu-overlay::-webkit-scrollbar-thumb {
    background: var(--savis-color);
    border-radius: 3px;
}

/* نمایش دکمه منوی تمام صفحه */
.full-page-menu-opener {
    display: flex !important;
}

@media (min-width: 1024px) {
    .full-page-menu-opener {
        display: flex !important;
    }
}


/* ============================================
   COMMENTS LIST - VERTICAL LAYOUT (REDESIGNED)
   ============================================ */

/* --- کانتینر اصلی لیست نظرات --- */
.post-box.comments {
    padding: 0;
    background: 0;
    box-shadow: none !important;
    border: 0;
}

.post-box .post-comments {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* --- آیتم اصلی هر نظر (کارت) --- */
.post-box .post-comments li.comment,
.post-box .post-comments li.pingback {
    position: relative;
    background: var(--savis-bg-card, #1b1e1b);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 24px;
    transition: var(--savis-transition);
}

.post-box .post-comments li.comment:hover,
.post-box .post-comments li.pingback:hover {
    border-color: rgba(90, 194, 78, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* --- بدنه کامنت: چیدمان عمودی (زیر هم) --- */
.post-box .post-comments .comment-body {
    display: flex;
    flex-direction: column; /* کلید اصلی: چیدمان عمودی */
    gap: 16px;
}

/* ============================================
   بخش بالایی: اطلاعات کامنت (آواتار، نام، تاریخ)
   ============================================ */
.post-box .post-comments .comment-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 0;
    padding: 0 0 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* بخش نویسنده (آواتار + نام) */
.post-box .post-comments .comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.post-box .post-comments .comment-author img.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(90, 194, 78, 0.3);
    object-fit: cover;
    flex-shrink: 0;
    transition: var(--savis-transition);
}

.post-box .post-comments li.comment:hover .comment-author img.avatar {
    border-color: var(--savis-color);
    transform: scale(1.05);
}

.post-box .post-comments .comment-author .fn {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.post-box .post-comments .comment-author .fn a {
    color: var(--savis-color);
    text-decoration: none;
    transition: var(--savis-transition);
}

.post-box .post-comments .comment-author .fn a:hover {
    color: var(--savis-color-light);
}

/* مخفی کردن کلمه "گفت:" برای ظاهر مدرن‌تر */
.post-box .post-comments .comment-author .says {
    display: none;
}

/* بخش تاریخ و ویرایش */
.post-box .post-comments .comment-metadata {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #888;
    white-space: nowrap;
}

.post-box .post-comments .comment-metadata a {
    color: #888;
    text-decoration: none;
    transition: var(--savis-transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.post-box .post-comments .comment-metadata a:hover {
    color: var(--savis-color);
}

/* آیکون ساعت قبل از تاریخ */
.post-box .post-comments .comment-metadata time::before {
    content: "\f017";
    font-family: "Line Awesome Free";
    font-weight: 900;
    font-size: 12px;
    opacity: 0.7;
}

/* ============================================
   بخش پایینی: متن کامنت و دکمه پاسخ
   ============================================ */
.post-box .post-comments .comment-content {
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #c8c8c8;
}

.post-box .post-comments .comment-content p {
    margin: 0 0 10px 0;
}

.post-box .post-comments .comment-content p:last-child {
    margin-bottom: 0;
}

/* دکمه پاسخ */
.post-box .post-comments .reply {
    display: flex;
    justify-content: flex-end; /* در حالت RTL دکمه را به سمت چپ می‌برد */
}

.post-box .post-comments .reply a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--savis-color);
    background: rgba(90, 194, 78, 0.08);
    border: 1px solid rgba(90, 194, 78, 0.2);
    border-radius: 20px;
    text-decoration: none;
    transition: var(--savis-transition);
}

.post-box .post-comments .reply a::before {
    content: "\f3e5";
    font-family: "Line Awesome Free";
    font-weight: 900;
    font-size: 13px;
}

.post-box .post-comments .reply a:hover {
    background: var(--savis-color);
    color: #fff;
    border-color: var(--savis-color);
    box-shadow: 0 4px 12px rgba(90, 194, 78, 0.3);
}

/* ============================================
   نظرات تو در تو (پاسخ‌ها / فرزندان)
   ============================================ */
.post-box .post-comments ul.children {
    list-style: none;
    margin: 20px 0 0 0;
    padding: 0 40px 0 0; /* فاصله از راست برای RTL */
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* خط اتصال عمودی برای نظرات پاسخ داده شده */
.post-box .post-comments ul.children::before {
    content: "";
    position: absolute;
    right: 18px; /* در سمت راست برای RTL */
    top: 0;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(to bottom, var(--savis-color) 0%, rgba(90, 194, 78, 0.1) 100%);
    border-radius: 2px;
}

/* استایل متفاوت برای کارت‌های پاسخ */
.post-box .post-comments ul.children li.comment {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.04);
    padding: 20px;
}

.post-box .post-comments ul.children li.comment .comment-author img.avatar {
    width: 40px;
    height: 40px;
}

/* ============================================
   حالت "بدون نظر"
   ============================================ */
.no-comment {
    text-align: center;
    padding: 40px 20px;
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: #888;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.no-comment::before {
    content: "\f27a";
    font-family: "Line Awesome Free";
    font-weight: 900;
    display: block;
    font-size: 36px;
    color: var(--savis-color);
    margin-bottom: 12px;
    opacity: 0.6;
}

/* ============================================
   RESPONSIVE (واکنش‌گرا)
   ============================================ */

/* تبلت */
@media (max-width: 1023px) {
    .post-box .post-comments li.comment,
    .post-box .post-comments li.pingback {
        padding: 20px;
    }

    .post-box .post-comments ul.children {
        padding-right: 30px;
    }

    .post-box .post-comments ul.children::before {
        right: 14px;
    }
}

/* موبایل */
@media (max-width: 768px) {
    .post-box .post-comments {
        gap: 16px;
    }

    .post-box .post-comments li.comment,
    .post-box .post-comments li.pingback {
        padding: 16px;
    }

    .post-box .post-comments .comment-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-bottom: 12px;
    }

    .post-box .post-comments .comment-author img.avatar {
        width: 42px;
        height: 42px;
    }

    .post-box .post-comments .comment-metadata {
        width: 100%;
        justify-content: space-between;
    }

    .post-box .post-comments .comment-content {
        font-size: 13px;
        line-height: 1.7;
    }

    .post-box .post-comments ul.children {
        padding-right: 20px;
        margin-top: 16px;
    }

    .post-box .post-comments ul.children::before {
        right: 10px;
    }

    .post-box .post-comments ul.children li.comment {
        padding: 14px;
    }
}

/* موبایل کوچک */
@media (max-width: 480px) {
    .post-box .post-comments .reply {
        justify-content: flex-start; /* در موبایل دکمه پاسخ بهتر است سمت راست باشد */
    }

    .post-box .post-comments ul.children {
        padding-right: 14px;
    }

    .post-box .post-comments ul.children::before {
        right: 6px;
    }
}

/* ============================================
   پشتیبانی از LTR (در صورت نیاز)
   ============================================ */
body:not(.rtl) .post-box .post-comments ul.children {
    padding: 0 0 0 40px;
}

body:not(.rtl) .post-box .post-comments ul.children::before {
    right: auto;
    left: 18px;
}

body:not(.rtl) .post-box .post-comments .reply {
    justify-content: flex-start;
}

@media (max-width: 1023px) {
    body:not(.rtl) .post-box .post-comments ul.children {
        padding-left: 30px;
    }
    body:not(.rtl) .post-box .post-comments ul.children::before {
        left: 14px;
    }
}

@media (max-width: 768px) {
    body:not(.rtl) .post-box .post-comments ul.children {
        padding-left: 20px;
    }
    body:not(.rtl) .post-box .post-comments ul.children::before {
        left: 10px;
    }
}