/*

Theme Name: VE 2026
Theme URL: http://www.Video-Effects.ir/
Description: Video Effects Web Theme
Author: Hossein Hadipour
Version: 3.0

*/

/* Fonts */

/* Override فونت قدیمی - در ابتدای style.css */
@font-face {
    font-family: "Vazirmatn" !important;
    src: url('https://www.video-effects.ir/wp-content/themes/VE%202026/fonts/Vazirmatn-Medium.woff2') format('woff2') !important,
         url('https://www.video-effects.ir/wp-content/themes/VE%202026/fonts/Vazirmatn-Medium.woff') format('woff') !important;
    font-weight: 500 !important;
    font-style: normal !important;
    font-display: swap !important;
}

@font-face {
    font-family: 'FontAwesome';
    src: url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
    src: url('../fonts/fontawesome-webfont.eot?v=4.7.0');
    src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),
         url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),
         url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'),
         url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),
         url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* فونت اصلی سایت برای تمام فیلدها */
input, textarea, select, button {
    font-family: 'Vazirmatn', sans-serif !important;
}

/* متن‌ها */
body, p, span, div, li, a, h1, h2, h3, h4, h5, h6, button {
    font-family: 'Vazirmatn', sans-serif;
    direction: rtl;
    margin: 0;
    padding: 0;
}

/* Reset کلی */
* {
    margin: 0;
    padding: 0;
}

/* Background */
body {
    margin-top: 0px;
    background: 
        linear-gradient(180deg,
            #e8e8e8 0%,
            #f5f0e1 33%,
            #e8f4f8 66%,
            #e8e8e8 100%
        ),
        linear-gradient(90deg,
            rgba(245, 240, 225, 0.3) 0%,
            rgba(232, 244, 248, 0.3) 100%
        );
    
    background-blend-mode: multiply;
    background-size: 100% 200vh, 100% 100%;
}

a {
    text-decoration: none;
    color: #000;
}

img {
    border: none;
    max-width: 100%;
    height: auto;
}

.aligncenter {
    width: 100%;
    height: auto;
}

/* Scrollbar */
body::-webkit-scrollbar {
    background-color: #fff;
    width: 7px;
}

body::-webkit-scrollbar-thumb {
    background-color: #20242c;
    border-color: #000;
    border-radius: 5px;
}

/* Container */
.container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 5px;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .container {
        padding: 0 5px;
    }
}

html {
    direction: rtl;
    height: 100%;
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    min-height: 100vh;
    margin: 0;
}

.container {
    min-height: 100vh;
    overflow: visible;
}

#gallery-1 .gallery-item {
  float: right;
  text-align: center;
  width: 33%;
  padding: 6px;
  box-sizing: border-box;
  transition: transform 0.3s ease;
  margin-top: 0px !important;
}

#gallery-1 .gallery-item:hover {
  transform: translateY(-4px);
}

#gallery-1 .gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
}

#gallery-1 .gallery-item:hover img {
  border-color: #ddd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#gallery-1 .gallery-caption {
  font-size: 13px;
  color: #555;
  line-height: 1.3;
  padding: 0 2px;
}

#gallery-1:after {
  content: "";
  display: table;
  clear: both;
}

/* ==================== */
/* استایل صفحه Single */
/* ==================== */

article ol,
section[class*="content"] ol,
div[class*="post"] ol,
div[class*="entry"] ol {
  box-sizing: border-box;
  padding-right: 0 !important;
}

article .wp-video,
section[class*="content"] .wp-video,
div[class*="post"] .wp-video,
div[class*="entry"] .wp-video {
  margin-bottom: 1.2em !important;
}

.single-post-content blockquote,
.post-text-content blockquote {
    margin: 20px 0 20px 35px;
    padding: 15px 18px;
    border-right: 3px solid #2c3e50;
    color: #2c3e50;
    font-size: inherit;
    line-height: 1.8;
    font-weight: 350;
    background: #fafafa;
    border-radius: 0 6px 6px 0;
}

.single-post-content blockquote p,
.post-text-content blockquote p {
    margin: 0 0 10px 0;
}

.single-post-content blockquote p:last-child,
.post-text-content blockquote p:last-child {
    margin-bottom: 0;
}

.single-wrapper {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    direction: rtl;
}

.single-main-content {
    flex: 1;
    min-width: 0;
}

.single-sidebar {
    flex-shrink: 0;
}

.single-post-header {
    background: #ffffffa1;
    border-radius: 24px;
    padding: 25px;
    margin-bottom: 25px;
}

.single-post-categories {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.category-tag {
    background: #3498db;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.category-tag:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.single-post-title {
    font-size: 28px;
    color: #2c3e50;
    margin: 0 0 20px 0;
    line-height: 1.4;
    font-weight: 700;
}

.single-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #7f8c8d;
}

.meta-item i {
    color: #3498db;
}

.meta-label {
    font-weight: 600;
    color: #34495e;
}

.single-post-content {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.post-video-wrapper {
    margin-bottom: 30px;
}

.video-container {
    position: relative;
    background: #000;
    overflow: hidden;
}

.post-video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 600px;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-container:hover .video-controls {
    opacity: 1;
}

.video-progress {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    outline: none;
}

.video-progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    background: #3498db;
    border-radius: 50%;
    cursor: pointer;
}

.video-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.video-btn:hover {
    background: rgba(255,255,255,0.3);
}

.post-text-content {
    font-size: 16px;
    line-height: 1.8;
    color: #2c3e50;
}

.post-text-content p {
    margin-bottom: 15px;
}

.post-text-content img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.post-tags-section {
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 30px 0;
}

.tags-title {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.post-tags a {
    background: #ecf0f1;
    color: #34495e;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.post-tags a:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

.social-share {
    margin: 30px 0;
}

.share-title {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.share-btn.telegram {
    background: #0088cc;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.whatsapp {
    background: #25d366;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.single-wrapper .posts-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}

@media (max-width: 768px) {
    .single-wrapper .posts-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

.download-sidebar-box {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.download-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #3498db;
}

.download-header i {
    font-size: 24px;
    color: #3498db;
}

.download-header h3 {
    margin: 0;
    font-size: 18px;
    color: #2c3e50;
}

.download-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-link {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
}

.download-link:hover {
    background: #e3f2fd;
    transform: translateX(-5px);
    border-color: #3498db;
}

.download-info {
    flex: 1;
}

.download-title {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 3px;
}

.download-desc {
    display: block;
    font-size: 12px;
    color: #7f8c8d;
}

.download-action i {
    color: #3498db;
    font-size: 18px;
}

.sidebar-widgets {
    margin-bottom: 25px;
}

.author-sidebar-box {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.author-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.author-header h3 {
    margin: 0;
    font-size: 16px;
    color: #2c3e50;
}

.author-content {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.author-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #2c3e50;
}

.author-bio {
    font-size: 13px;
    color: #7f8c8d;
    line-height: 1.5;
    margin-bottom: 10px;
}

.author-posts-link {
    font-size: 13px;
    color: #3498db;
    text-decoration: none;
    display: inline-block;
}

.author-posts-link:hover {
    text-decoration: underline;
}

.single-wrapper {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.single-main-content {
    width: 70%;
}

.single-sidebar {
    width: 30%;
    will-change: min-height;
}

.sidebar__inner {
    transform: translate3d(0, 0, 0);
    will-change: position, transform;
}

@media (max-width: 992px) {
    .single-main-content, 
    .single-sidebar {
        width: 100%;
    }

    .single-sidebar {
        position: static !important;
        transform: none !important;
    }
}

.recent-posts-sidebar {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.sidebar-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.sidebar-title h3 {
    margin: 0;
    font-size: 16px;
    color: #2c3e50;
}

.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recent-post-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.recent-post-item:last-child {
    border-bottom: none;
}

.recent-post-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.recent-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-thumbnail-small {
    width: 100%;
    height: 100%;
    background: #ecf0f1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
}

.recent-post-content {
    flex: 1;
}

.recent-post-title {
    margin: 0 0 5px 0;
    font-size: 14px;
    line-height: 1.4;
}

.recent-post-title a {
    color: #2c3e50;
    text-decoration: none;
}

.recent-post-title a:hover {
    color: #3498db;
}

.recent-post-date {
    font-size: 12px;
    color: #7f8c8d;
}

.comments-section {
    margin-top: 40px;
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

@media only screen and (max-width: 1200px) {
    .single-wrapper {
        flex-direction: column;
    }

    .single-sidebar {
        width: 100%;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 768px) {
    .single-wrapper {
        padding: 15px;
    }

    .single-post-title {
        font-size: 24px;
    }

    .single-post-meta {
        gap: 15px;
    }

    .meta-item {
        font-size: 13px;
    }

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

    .share-buttons {
        justify-content: center;
    }

    .author-content {
        flex-direction: column;
        text-align: center;
    }

    .author-avatar {
        align-self: center;
    }
}

@media only screen and (max-width: 480px) {
    .single-post-header,
    .single-post-content {
        padding: 20px;
    }

    .single-post-title {
        font-size: 20px;
    }

    .single-post-meta {
        flex-direction: column;
        gap: 10px;
    }
}

.sp-title-meta-box {
    padding: 20px;
    background: white;
    border-radius: 20px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.sp-post-title-box {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px 0;
    line-height: 1.4;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #3498db;
}

.sp-meta-line-box {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.sp-meta-item-box {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
    padding: 6px 12px;
    background: #f8f9fa;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
    transition: all 0.2s ease;
}

.sp-meta-item-box:hover {
    background: white;
    border-color: #3498db;
    color: #3498db;
}

.sp-meta-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.sp-author-box {
    text-decoration: none;
    font-weight: 500;
    color: #666;
    transition: all 0.2s;
}

.sp-author-box:hover {
    color: #3498db;
}

.sp-meta-item-box.updated-box {
    background: rgba(52, 152, 219, 0.1);
    border-color: #3498db;
    color: #3498db;
}

.sp-shop-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.sp-shop-main-content {
    flex: 1;
    min-width: 300px;
    background: transparent !important;
    border-radius: 0;
    padding: 0;
    box-shadow: none !important;
    border: none !important;
    width: calc(100% - 430px);
    box-sizing: border-box;
    overflow: visible;
}

.sp-shop-gallery {
    width: 450px;
}

.sp-sidebar-box {
    background: #ffffffa1;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
    margin-bottom: 20px;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.sp-sidebar-box:last-child {
    margin-bottom: 0;
}

.sp-sidebar-box .section-header {
    padding: 15px;
    margin: 0;
    border-bottom: 1px solid #e9ecef;
}

.sp-sidebar-box .section-header-title {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sp-sidebar-box-content {
    padding: 15px;
}

.sp-full-desc-link {
    margin: 0 0 15px 0;
}

.sp-full-desc-link a {
    display: block;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 12px 20px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: all 0.3s ease;
    margin: 0;
}

.sp-full-desc-link a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.3);
}

.sp-sample-video {
    width: 100%;
    margin-top: 10px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.sp-sample-video .video-player {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

.sp-sample-video .video-player video {
    width: 100%;
    display: block;
    border-radius: 16px;
}

.sp-product-gallery {
    margin-top: 10px;
}

.sp-main-image {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
    background: #ffffffa1;
}

.sp-active-image {
    width: 100%;
    object-fit: contain;
    display: block;
}

.sp-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sp-thumb-item {
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid #e9ecef;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-thumb-item:hover {
    border-color: #3498db;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.15);
}

.sp-thumb-item.active {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.sp-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 5px;
}

.sp-main-content-box {
    background: #ffffffa1;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

.sp-main-content-box:last-child {
    margin-bottom: 0;
}

.sp-prerequisites-container {
    margin: 0;
    background: #ffffffa1;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
    overflow: hidden;
    margin-bottom: 20px;
}

.sp-prerequisites-container .posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px;
    margin-top: 0;
    padding: 8px;
}

.sp-prerequisites-container .post-image-wrapper {
    aspect-ratio: 1 / 1 !important;
    padding: 8px 8px 0 8px;
    overflow: hidden;
    border-radius: 20px;
    height: auto !important;
}

.sp-prerequisites-container .post-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    aspect-ratio: 1 / 1 !important;
}

.sp-prerequisites-container .post-card {
    background: #ffffffa1;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
    display: block;
    width: 100%;
    height: auto;
}

.sp-prerequisites-container .post-card:hover {
    border-color: #3498db;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.sp-prerequisites-container .post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0 0 0;
    border-top: 1px solid #f0f0f0;
    margin-top: 8px;
}

.sp-prerequisites-container .post-price-left {
    font-size: 14px;
    color: #95a5a6;
    text-decoration: line-through;
    font-weight: 500;
}

.sp-prerequisites-container .post-price-right {
    font-size: 16px;
    color: #e74c3c;
    font-weight: 700;
}

.sp-prerequisites-container .post-action-btn {
    display: block;
    text-align: center;
    background: #3498db;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    padding: 8px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: 10px;
}

.sp-prerequisites-container .post-action-btn:hover {
    border-color: #2980b9;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .sp-post-title-box {
        font-size: 20px;
        margin-bottom: 12px;
        padding-bottom: 12px;
    }

    .sp-meta-line-box {
        gap: 6px;
        justify-content: flex-start;
    }

    .sp-meta-item-box {
        font-size: 12px;
        padding: 5px 10px;
    }

    .sp-shop-layout {
        flex-direction: column;
        gap: 20px;
        margin: 0;
    }

    .sp-shop-gallery {
        width: 100% !important;
        order: 3;
        position: static;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        border: none;
        margin-top: 20px;
    }

    .sp-shop-main-content {
        width: 100% !important;
        order: 1;
        padding: 0;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0;
    }

    .sp-sidebar-box {
        margin-bottom: 20px;
    }

    .sp-main-content-box {
        margin-bottom: 20px;
        padding: 15px;
    }

    .sp-active-image {
        height: 250px;
    }

    .sp-thumbnails {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .sp-thumbnails::-webkit-scrollbar {
        height: 4px;
    }

    .sp-thumbnails::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 2px;
    }

    .sp-thumbnails::-webkit-scrollbar-thumb {
        background: #3498db;
        border-radius: 2px;
    }

    .sp-thumb-item {
        width: 65px;
        height: 65px;
        flex-shrink: 0;
    }

    .sp-sample-video .video-player video {
        border-radius: 16px;
    }

    .sp-prerequisites-container .posts-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .sp-active-image {
        height: 220px;
    }

    .sp-thumb-item {
        width: 60px;
        height: 60px;
    }

    .sp-sample-video .video-player video {
        border-radius: 14px;
    }
}

@media (max-width: 360px) {
    .sp-thumb-item {
        width: 50px;
        height: 50px;
    }
}

/* ===== Video Effects Categories Styles ===== */

.ve-categories-section {
    margin: 20px 0;
}

.ve-categories-desktop {
    display: block;
}

.ve-categories-grid-row {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
}

.ve-categories-row-second {
    margin-top: 10px;
}

.ve-category-item {
    text-align: center;
}

.ve-category-link {
    text-decoration: none;
    display: block;
}

.ve-category-box {
    height: 100px;
    margin: 0 auto;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0);
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px;
    cursor: pointer;
    background: #ffffffa1;
}

.ve-category-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.ve-category-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.ve-category-title {
    font-size: 13px;
    color: #444;
    text-align: center;
    line-height: 1.3;
    font-weight: 500;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.ve-category-box:hover {
    border-color: #4a90e2;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.15);
}

.ve-category-box:hover .ve-category-title {
    color: #4a90e2;
}

.ve-categories-mobile {
    display: none;
}

.ve-mobile-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ve-mobile-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.ve-mobile-item {
    text-align: center;
}

.ve-mobile-box {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px;
    background: #ffffffa1;
}

.ve-mobile-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.ve-mobile-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ve-mobile-title {
    font-size: 11px;
    color: #444;
    text-align: center;
    line-height: 1.2;
    font-weight: 500;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 992px) {
    .ve-categories-desktop {
        display: none;
    }

    .ve-categories-mobile {
        display: block;
    }
}

@media (max-width: 768px) {
    .ve-categories-grid-row {
        grid-template-columns: repeat(6, 1fr);
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .ve-mobile-row {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .ve-mobile-box {
        width: 65px;
        height: 65px;
    }

    .ve-mobile-icon {
        width: 28px;
        height: 28px;
    }

    .ve-mobile-title {
        font-size: 11px;
        height: 20px;
    }

    .ve-categories-grid-row {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .ve-category-box {
        width: 70px;
        height: 70px;
    }

    .ve-category-icon {
        width: 30px;
        height: 30px;
    }

    .ve-category-title {
        font-size: 9px;
        height: 22px;
    }
}

.single-wrapper {
    display: flex;
    gap: 15px;
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    direction: rtl;
    box-sizing: border-box;
}

.single-main-content {
    flex: 0 0 calc(70% - 10px);
    min-width: 0;
    box-sizing: border-box;
}

.single-sidebar {
    flex: 0 0 calc(30% - 5px);
    max-width: calc(30% - 5px);
    box-sizing: border-box;
}

.section-header {
    color: #2c3e50;
    padding: 12px 15px;
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 6px 6px 0 0;
    border-bottom: none;
}

.section-header-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-header-title i {
    font-size: 14px;
    color: #6c757d;
}

.header-buttons-group {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.header-download-btn {
    background: #3498db;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.header-download-btn:hover {
    background: #2980b9;
}

.download-tool-text-mobile {
    display: none;
}

@media (max-width: 768px) {
    .download-tool-text {
        display: none;
    }

    .download-tool-text-mobile {
        display: inline;
    }
}

.single-post-header {
    background: #ffffffa1;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
}

.single-post-title {
    font-size: 20px;
    color: #3498db;
    line-height: 1.5;
    font-weight: 590;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 15px;
}

.single-post-title:hover {
    color: #2980b9;
    text-decoration: underline;
}

.single-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: #6c757d;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.meta-item .icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.calendar-icon {
    background-image: url('icons/calendar.svg');
}

.eye-icon {
    background-image: url('icons/eye.svg');
}

.comment-icon {
    background-image: url('icons/comment.svg');
}

.author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.meta-item i {
    color: #495057;
    font-size: 13px;
    min-width: 14px;
    text-align: center;
}

.meta-item.author a {
    color: #7f8c8d;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item.author a:hover {
    color: #3498db;
}

.meta-item.rating {
    color: #f39c12;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: #fffbf0;
    border-radius: 14px;
    border: 1px solid #ffeaa7;
    margin-right: auto;
}

.kk-star-ratings {
    font-size: 12px !important;
    line-height: 1 !important;
}

.kk-star-ratings .kksr-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.kk-star-ratings .kksr-star {
    color: #f39c12 !important;
    font-size: 14px !important;
    width: 14px !important;
    height: 14px !important;
}

.kk-star-ratings .kksr-muted {
    color: #6c757d !important;
    font-size: 12px !important;
    margin-right: 5px !important;
}

.video-container {
    background: #000;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
    border-top: none;
}

.post-video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
}

.download-box-below-video {
    background: #ffffffa1;
    border-radius: 20px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
    overflow: hidden;
}

.download-section-header {
    background: #fafafa;
    padding: 14px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.download-section-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 599;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.download-section-header h3 i {
    color: #555;
    font-size: 16px;
}

.download-items {
    padding: 0;
}

.download-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
    background: #fff;
    transition: all 0.3s ease;
}

.download-item:hover {
    background: #f0f7ff;
}

.download-item:last-child {
    border-bottom: none;
}

.download-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 16px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    flex-shrink: 0;
}

.download-item-icon i {
    color: #666;
    font-size: 18px;
}

.video-item .download-item-icon {
    background: #e3f2fd;
}
.video-item .download-item-icon i { color: #3498db; }

.project-item .download-item-icon {
    background: #048a2621;
}
.project-item .download-item-icon i { color: #048a26; }

.baste-item .download-item-icon {
    background: #823fd41c;
}
.baste-item .download-item-icon i { color: #823fd4; }

.footage-item .download-item-icon {
    background: #e0f2f1;
}
.footage-item .download-item-icon i { color: #00796b; }

.download-item-content {
    flex: 1;
}

.download-item-title {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.download-item-action {
    background: #3498db;
    color: white;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
}

.download-item-action span {
    color: white;
}

.download-item-action i {
    color: white;
    font-size: 12px;
}

.download-item-action:hover {
    background: #0d47a1;
    cursor: pointer;
}

.project-item .download-item-action { background: #048a26; }
.project-item .download-item-action:hover { background: #05681e; }

.baste-item .download-item-action { background: #823fd4; }
.baste-item .download-item-action:hover { background: #6a2fb3; }

.footage-item .download-item-action { background: #00796b; }
.footage-item .download-item-action:hover { background: #004d40; }

.footage-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.footage-detail {
    background: #f5f5f5;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    color: #666;
}

.categories-box .categories-list-container {
    padding: 15px 20px;
}

.categories-inline-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.category-inline-item {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #f0f7ff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
    border-radius: 20px;
    text-decoration: none;
    color: #1a5fb4;
    font-size: 13px;
    font-weight: 500;
    gap: 5px;
}

.category-inline-item:hover {
    background: #e1f0ff;
    border-color: #a8c7ff;
}

.category-name {
    color: #1a5fb4;
}

.category-count {
    color: #6c757d;
    font-size: 11px;
    font-weight: normal;
}

@media (min-width: 769px) {
    .two-cols-layout {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        margin-bottom: 15px;
    }

    .two-cols-layout > div {
        flex: 1;
        width: calc(50% - 10px);
        margin-bottom: 0;
    }
}

.single-share-section {
    background: #ffffffa1;
    border-radius: 14px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
    overflow: hidden;
}

.single-share-header {
    background: #fafafa;
    padding: 14px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.single-share-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.single-share-content {
    padding: 15px 20px;
}

.single-share-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.single-share-link {
    min-width: 355px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.single-link-preview {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

#single-copy-link {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    font-size: 13px;
    color: #333;
    background: #f8f9fa;
    direction: ltr;
    text-align: left;
    font-family: monospace;
    box-sizing: border-box;
}

#single-copy-link:focus {
    outline: none;
    border-color: #3498db;
    background: #fff;
}

.single-copy-btn {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    white-space: nowrap;
}

.single-copy-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.single-copy-btn svg {
    width: 16px;
    height: 16px;
}

.single-copy-text {
    font-size: 13px;
}

.single-social-icons {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

.single-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    text-decoration: none;
    background: transparent !important;
}

.single-social-icon:hover {
    opacity: 0.6;
}

.single-social-icon img {
    width: 24px;
    height: 24px;
    display: block;
}

.single-telegram img {
    filter: none;
}

.single-bale img {
    filter: none;
}

.single-eitaa img {
    filter: none;
}

.single-rubika img {
    filter: none;
}

.post-text-content {
    font-size: 15px;
    line-height: 1.7;
    color: #343a40;
    background: #ffffffa1;
    border-radius: 0 0 8px 8px;
    padding: 15px;
    border-top: none;
    white-space: normal;
    word-wrap: break-word;
}

.post-text-content p {
    margin-bottom: 1.2em;
    line-height: 1.7;
}

.post-text-content a {
    color: #1a5fb4;
    text-decoration: none;
    transition: color 0.2s;
}

.post-text-content a:hover {
    color: #1c71d8;
    text-decoration: underline;
}

.post-text-content img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.no-content {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 14px;
    margin: 20px 0;
}

.no-content p {
    color: #6c757d;
    font-size: 16px;
    margin-bottom: 15px;
}

.no-content a {
    color: #3498db;
    text-decoration: none;
}

.no-content a:hover {
    text-decoration: underline;
}

@media only screen and (max-width: 768px) {
    .single-wrapper {
        flex-direction: column;
        gap: 10px;
    }

    .single-main-content,
    .single-sidebar {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
    }

    .single-sidebar {
        width: 100%;
    }

    .single-post-title {
        font-size: 18px;
    }

    .single-post-meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px 15px;
        font-size: 12px;
        justify-items: center;
        text-align: center;
    }

    .meta-item.author {
        grid-column: 1;
        grid-row: 1;
        justify-content: center;
    }

    .meta-item.views {
        grid-column: 2;
        grid-row: 1;
        justify-content: center;
    }

    .meta-item.date {
        grid-column: 1;
        grid-row: 2;
        justify-content: center;
    }

    .meta-item.comments {
        grid-column: 2;
        grid-row: 2;
        justify-content: center;
    }

    .meta-item.rating {
        grid-column: 1 / -1;
        grid-row: 3;
        justify-content: center;
        margin-right: 0;
        margin-top: 5px;
    }

    .post-text-content {
        padding: 15px;
        font-size: 14px;
    }

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

    .post-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .section-header {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .header-download-btn {
        font-size: 12px;
        padding: 5px 10px;
    }

    .download-item {
        padding: 12px 15px;
    }

    .download-item-icon {
        width: 32px;
        height: 32px;
        margin-left: 12px;
    }

    .download-item-title {
        font-size: 14px;
    }

    .download-item-action {
        font-size: 13px;
    }

    .categories-inline-list {
        gap: 8px;
    }

    .category-inline-item {
        font-size: 12px;
        padding: 5px 10px;
    }

    .single-share-row {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .single-share-link {
        min-width: 100%;
    }

    #single-copy-link {
        font-size: 12px;
        padding: 8px 12px;
    }

    .single-copy-btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    .single-social-icons {
        justify-content: center;
        gap: 15px;
    }

    .single-social-icon {
        width: 36px;
        height: 36px;
    }

    .single-social-icon img {
        width: 22px;
        height: 22px;
    }

    .footage-details {
        flex-direction: column;
        gap: 5px;
    }

    .footage-detail {
        font-size: 10px;
        padding: 2px 6px;
    }
}

/* Header Area */
.header-modern {
    width: 100%;
    margin: 0 auto;
    padding: 20px 0 20px 0;
    position: relative;
    z-index: 1000;
}

.header-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 5px;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.desktop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.mobile-header {
    display: none;
}

.header-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.header-logo img {
    width: 180px;
    height: 44px;
    object-fit: contain;
    display: block;
}

.ve-live-search-dropdown {
    max-height: none !important;
    overflow: visible !important;
}

#ve-live-results-list {
    max-height: none !important;
    overflow-y: visible !important;
}

.ve-live-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
}

.ve-live-result-item:nth-child(even) {
    background: #fafbfc;
}

.ve-live-result-item:nth-child(odd) {
    background: #ffffff;
}

.ve-live-result-item:hover {
    background: #f8fafc !important;
}

.ve-live-result-img {
    width: 70px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    aspect-ratio: 16/9;
}

.ve-live-result-img-placeholder {
    width: 70px;
    height: 40px;
    border-radius: 6px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #94a3b8;
    aspect-ratio: 16/9;
}

.ve-live-result-info {
    flex: 1;
}

.ve-live-result-title {
    font-size: 14px;
    font-weight: normal;
    color: #0f172a;
    margin-bottom: 5px;
    display: block;
    line-height: 1.4;
}

.ve-live-result-category {
    font-size: 11px;
    font-weight: normal;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-block;
}

.ve-live-result-date {
    font-size: 11px;
    font-weight: normal;
    color: #94a3b8;
    margin-right: 8px;
}

.ve-live-arrow {
    color: #cbd5e1;
    font-size: 12px;
    flex-shrink: 0;
}

.ve-live-loading {
    text-align: center;
    padding: 30px;
    color: #94a3b8;
    font-weight: normal;
}

.ve-live-loading i {
    animation: ve-spin 1s linear infinite;
    display: inline-block;
}

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

.ve-live-no-results {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
    font-weight: normal;
}

.ve-live-no-results i {
    font-size: 30px;
    margin-bottom: 10px;
    display: block;
}

.ve-live-view-all {
    padding: 10px 15px;
    border-top: 1px solid #eef2f6;
    text-align: center;
}

.ve-live-view-all a {
    display: block;
    background: #f1f5f9;
    color: #3b82f6;
    padding: 8px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 13px;
    font-weight: normal;
    transition: all 0.2s;
}

.ve-live-view-all a:hover {
    background: #e2e8f0;
}

.ve-mobile-search-dropdown {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: 0 !important;
    bottom: auto !important;
    background: #fff !important;
    z-index: 999999 !important;
    display: none !important;
    flex-direction: column !important;
    margin-top: 8px !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
    border: 1px solid #e2e8f0 !important;
}

.ve-mobile-search-dropdown.active {
    display: flex !important;
}

.ve-mobile-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #eef2f6;
    font-size: 13px;
    font-weight: normal;
    color: #1e293b;
    background: #f8fafc;
    position: sticky;
    top: 0;
    z-index: 10;
    border-radius: 12px 12px 0 0;
}

.ve-mobile-close {
    font-size: 20px;
    cursor: pointer;
    color: #94a3b8;
    font-weight: normal;
}

.ve-mobile-close:hover {
    color: #ef4444;
}

#ve-mobile-results-list {
    flex: 1;
    overflow-y: visible;
    padding: 0;
}

.ve-mobile-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
}

.ve-mobile-result-item:nth-child(even) {
    background: #fafbfc;
}

.ve-mobile-result-item:nth-child(odd) {
    background: #ffffff;
}

.ve-mobile-result-img {
    width: 60px;
    height: 34px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.ve-mobile-result-img-placeholder {
    width: 60px;
    height: 34px;
    border-radius: 6px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #94a3b8;
}

.ve-mobile-result-info {
    flex: 1;
}

.ve-mobile-result-title {
    font-size: 13px;
    font-weight: normal;
    color: #0f172a;
    margin-bottom: 4px;
    display: block;
    line-height: 1.4;
}

.ve-mobile-result-category {
    font-size: 10px;
    font-weight: normal;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 20px;
    display: inline-block;
}

.ve-mobile-loading,
.ve-mobile-no-results {
    text-align: center;
    padding: 30px 20px;
    color: #64748b;
    font-size: 13px;
    font-weight: normal;
}

.ve-mobile-view-all {
    padding: 10px 12px;
    border-top: 1px solid #eef2f6;
    margin-top: 0;
    background: #f8fafc;
    border-radius: 0 0 12px 12px;
}

.ve-mobile-view-all a {
    display: block;
    background: #f1f5f9;
    color: #3b82f6;
    padding: 10px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 13px;
    font-weight: normal;
    text-align: center;
}

.ve-mobile-view-all a:hover {
    background: #e2e8f0;
}

@media (max-width: 768px) {
    .ve-live-search-dropdown {
        display: none !important;
    }

    .mobile-search-row {
        position: relative !important;
    }
}

@media (min-width: 769px) {
    .ve-mobile-search-dropdown {
        display: none !important;
    }
}

.header-search-modern {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    margin: 0 20px;
}

.search-box-modern {
    display: flex;
    background: #ffffffa1;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
    border-radius: 20px;
    overflow: hidden;
    height: 44px;
    width: 100%;
    position: relative;
}

.search-box-modern:hover,
.search-box-modern:focus-within {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #3498db;
}

.search-input-modern {
    flex: 1;
    border: none;
    padding: 0 20px;
    font-size: 15px;
    background: transparent;
    color: #2d3748;
    outline: none;
    text-align: right;
    direction: rtl;
    font-family: inherit;
}

.search-input-modern::placeholder {
    color: #718096;
    font-size: 14px;
    font-family: inherit;
}

.search-btn-modern {
    background: rgba(241, 243, 245, 0.9);
    border: none;
    padding: 0 15px;
    color: #4a5568;
    cursor: pointer;
    font-size: 18px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn-modern:hover {
    background: rgba(216, 216, 216, 0.9);
}

.header-menu-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #2d3748;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
    background: #ffffffa1;
    white-space: nowrap;
    font-weight: 500;
}

.menu-btn:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #3498db;
}

.menu-btn i {
    font-size: 15px;
    color: #4a5568;
}

.dropdown-menu-modern {
    position: relative;
    display: inline-block;
}

.dropdown-arrow {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(255, 255, 255, 0.98);
    z-index: 1001;
    filter: drop-shadow(0 -2px 2px rgba(0, 0, 0, 0.1));
}

.dropdown-content {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(255, 255, 255, 0.98);
    width: 160px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    padding: 10px 0;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.dropdown-menu-modern:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    text-decoration: none;
    color: #2d3748;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    border-right: 3px solid transparent;
}

.dropdown-content a:hover {
    background: rgba(45, 55, 72, 0.05);
    color: #1a202c;
    padding-right: 25px;
    border-right-color: #2d3748;
}

.dropdown-content a::before {
    display: none !important;
}

.dropdown-content a::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background: #cbd5e0;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.dropdown-content a:hover::after {
    background: #2d3748;
    transform: translateY(-50%) scale(1.2);
}

@media (max-width: 992px) {
    .desktop-header {
        display: none;
    }

    .mobile-header {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .header-modern {
        width: 100%;
        max-width: 100%;
        padding: 15px 0 10px 0;
        margin: 0;
    }

    .header-container {
        width: 100%;
        max-width: 100%;
        padding: 0 15px !important;
        margin: 0;
        box-sizing: border-box;
    }

    .mobile-top-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        margin-bottom: 15px;
        box-sizing: border-box;
    }

    .mobile-hamburger {
        flex: 0 0 auto;
        text-align: right;
        padding: 0;
        display: flex;
        align-items: center;
        height: 50px;
        z-index: 1000;
    }

    .hamburger-toggle {
        display: block;
        width: 40px;
        height: 40px;
        position: relative;
        cursor: pointer;
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.55);
        box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
        border-radius: 14px;
        padding: 8px;
        margin: 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .hamburger-toggle:hover {
        background: #f8f9fa;
        border-color: #3498db;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
    }

    .hamburger-toggle:active {
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(52, 152, 219, 0.1);
    }

    .hamburger-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: #2d3748;
        margin: 3px auto;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 2px;
        position: relative;
        left: 0;
        opacity: 1;
    }

    .hamburger-toggle:hover span {
        background: #3498db;
    }

    .hamburger-toggle.active {
        background: #3498db;
        border-color: #3498db;
    }

    .hamburger-toggle.active span {
        background: white;
    }

    .hamburger-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        width: 22px;
    }

    .hamburger-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .hamburger-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
        width: 22px;
    }

    .hamburger-toggle:not(.active) span:nth-child(1) {
        animation: hamburgerTopRev 0.3s ease;
    }

    .hamburger-toggle:not(.active) span:nth-child(2) {
        animation: hamburgerMiddleRev 0.3s ease;
    }

    .hamburger-toggle:not(.active) span:nth-child(3) {
        animation: hamburgerBottomRev 0.3s ease;
    }

    @keyframes hamburgerTopRev {
        0% { transform: rotate(45deg) translate(5px, 5px); }
        50% { transform: rotate(0) translate(0, 0); }
        100% { transform: rotate(0) translate(0, 0); }
    }

    @keyframes hamburgerMiddleRev {
        0% { opacity: 0; transform: translateX(-10px); }
        50% { opacity: 0; }
        100% { opacity: 1; transform: translateX(0); }
    }

    @keyframes hamburgerBottomRev {
        0% { transform: rotate(-45deg) translate(7px, -6px); }
        50% { transform: rotate(0) translate(0, 0); }
        100% { transform: rotate(0) translate(0, 0); }
    }

    .mobile-logo-center {
        flex: 1;
        text-align: center;
        padding: 0 10px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 50px;
    }

    .mobile-logo-center a {
        display: flex;
        align-items: center;
        gap: 8px;
        text-decoration: none;
        height: 100%;
    }

    .mobile-logo-center img {
        height: 30px !important;
        width: auto;
        max-width: 160px;
        max-height: 30px !important;
        object-fit: contain;
        display: block;
        margin: 0;
    }

    .mobile-right-icons {
        flex: 0 0 auto;
        text-align: left;
        padding: 0;
        display: flex;
        gap: 12px;
        align-items: center;
        height: 50px;
    }

    .mobile-icon-btn {
        display: inline-flex;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.5);
        box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
        border-radius: 50%;
        color: #2d3748;
        font-size: 18px;
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
    }

    .mobile-icon-btn:hover {
        background: rgba(45, 55, 72, 0.1);
        color: #1a202c;
    }

    .mobile-dropdown-menu {
        position: relative;
    }

    .mobile-dropdown-arrow {
        position: absolute;
        top: -6px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 6px solid rgba(255, 255, 255, 0.98);
        z-index: 1003;
        filter: drop-shadow(0 -2px 2px rgba(0, 0, 0, 0.1));
    }

    .mobile-dropdown-content {
        position: absolute;
        top: calc(100% + 6px);
        left: 50%;
        transform: translateX(-50%);
        background: rgba(255, 255, 255, 0.98);
        width: 170px;
        border-radius: 14px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(0, 0, 0, 0.1);
        z-index: 1002;
        padding: 10px 0;
        display: none;
        backdrop-filter: blur(10px);
    }

    .mobile-dropdown-content.active {
        display: block;
        animation: slideDownMobile 0.3s ease;
    }

    @keyframes slideDownMobile {
        from {
            opacity: 0;
            transform: translateX(-50%) translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }
    }

    .mobile-dropdown-content a {
        display: flex;
        align-items: center;
        padding: 10px 18px;
        text-decoration: none;
        color: #2d3748;
        font-size: 13px;
        font-weight: 500;
        transition: all 0.3s ease;
        border-right: 3px solid transparent;
    }

    .mobile-dropdown-content a:hover {
        background: rgba(45, 55, 72, 0.05);
        color: #1a202c;
        padding-right: 22px;
        border-right-color: #2d3748;
    }

    .mobile-dropdown-content a::before {
        content: '';
        margin-left: 8px;
        width: 5px;
        height: 5px;
        background: #cbd5e0;
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .mobile-dropdown-content a:hover::before {
        background: #2d3748;
        transform: scale(1.2);
    }

    .mobile-search-row {
        width: 100%;
        box-sizing: border-box;
        padding: 0;
    }

    .mobile-search-form {
        display: flex;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.5);
        box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
        border-radius: 25px;
        overflow: hidden;
        height: 44px;
        width: 100%;
        box-sizing: border-box;
    }

    .mobile-search-input {
        flex: 1;
        border: none;
        padding: 0 15px;
        font-size: 14px;
        background: transparent;
        color: #2d3748;
        outline: none;
        text-align: right;
        direction: rtl;
        box-sizing: border-box;
        font-family: inherit;
    }

    .mobile-search-input::placeholder {
        color: #718096;
        font-family: inherit;
    }

    .mobile-search-btn {
        background: rgba(241, 243, 245, 0.9);
        border: none;
        padding: 0 15px;
        color: #4a5568;
        cursor: pointer;
        font-size: 16px;
        border-right: 1px solid rgba(0, 0, 0, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 45px;
        box-sizing: border-box;
        transition: all 0.3s ease;
    }

    .mobile-search-btn:hover {
        background: #2d3748;
        color: white;
    }
}

@media (max-width: 576px) {
    .header-container {
        padding: 0 10px !important;
    }

    .mobile-logo-center img {
        height: 30px !important;
        max-width: 180px;
        max-height: 32px !important;
    }

    .mobile-hamburger,
    .mobile-right-icons {
        height: 45px;
    }

    .hamburger-toggle {
        width: 36px;
        height: 36px;
    }

    .hamburger-toggle span {
        width: 22px;
        height: 3px;
    }

    .mobile-icon-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .mobile-right-icons {
        gap: 10px;
    }

    .mobile-search-form {
        height: 42px;
    }

    .mobile-search-input {
        font-size: 13px;
        padding: 0 12px;
    }

    .mobile-search-btn {
        padding: 0 12px;
        min-width: 40px;
        font-size: 15px;
    }
}

@media (max-width: 400px) {
    .mobile-logo-center img {
        height: 30px !important;
        max-width: 160px;
        max-height: 32px !important;
    }

    .mobile-hamburger,
    .mobile-right-icons {
        height: 42px;
    }

    .hamburger-toggle {
        width: 34px;
        height: 34px;
    }

    .hamburger-toggle span {
        width: 20px;
        height: 2.5px;
    }

    .mobile-icon-btn {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .mobile-right-icons {
        gap: 8px;
    }

    .mobile-search-form {
        height: 40px;
    }
}

@media (max-width: 1500px) {
    .header-modern,
    .header-container {
        max-width: 100%;
    }
}

@media (max-width: 1200px) {
    .header-container {
        padding: 0 20px;
    }

    .desktop-header {
        gap: 25px;
    }

    .header-search-modern {
        min-width: 250px;
        max-width: 500px;
        margin: 0 15px;
    }

    .header-logo {
        min-width: 150px;
    }

    .header-logo img {
        height: 55px;
        max-width: 200px;
        max-height: 55px !important;
    }
}

.ve-stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 20px auto;
    max-width: 1400px;
    direction: rtl;
}

@media only screen and (max-width: 992px) {
    .ve-stats-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media only screen and (max-width: 576px) {
    .ve-stats-section {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.ve-stat-card {
    background: #ffffffa1;
    border-radius: 20px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    height: 50px;
}

.ve-stat-card:hover {
    border-color: #3498db;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.ve-stat-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    background: #fff0de;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
    flex-shrink: 0;
}

.ve-stat-icon svg {
    width: 19px;
    height: 19px;
    stroke: #495057;
}

.ve-stat-content {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: space-between;
    min-width: 0;
}

.ve-number-wrapper {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-shrink: 0;
}

.ve-count-label {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    white-space: nowrap;
}

.ve-stat-number {
    font-size: 1.2rem;
    font-weight: 599;
    color: #000;
    line-height: 1;
    flex-shrink: 0;
    font-family: inherit;
}

.ve-stat-title {
    font-size: 0.75rem;
    color: #495057;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
}

.ve-title-full {
    display: inline;
}

.ve-title-mobile {
    display: none;
}

.ve-activity-content {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    min-width: 0;
}

.ve-activity-numbers {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.ve-activity-number {
    font-size: 1.2rem;
    font-weight: 599;
    color: #000;
    flex-shrink: 0;
    font-family: inherit;
}

.ve-activity-unit {
    font-size: 0.6rem;
    color: #666;
    margin-left: 1px;
    flex-shrink: 0;
}

.ve-activity-separator {
    color: #adb5bd;
    margin: 0 2px;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.ve-activity-text {
    font-size: 0.75rem;
    color: #495057;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.ve-activity-full {
    display: flex;
    align-items: center;
    gap: 2px;
}

.ve-activity-mobile {
    display: none;
    align-items: center;
    gap: 2px;
}

@media only screen and (max-width: 576px) {
    .ve-activity-text {
        font-size: 0.7rem;
    }

    .ve-count-label {
        font-size: 0.65rem;
    }

    .ve-title-full {
        display: none;
    }

    .ve-title-mobile {
        display: inline;
    }

    .ve-activity-number,
    .ve-stat-number {
        font-size: 1.1rem;
        font-weight: 599;
    }

    .ve-activity-unit {
        font-size: 0.6rem;
    }

    .ve-activity-separator {
        font-size: 0.7rem;
    }
}

.simple-pagination {
    text-align: center;
    margin: 25px 0 20px;
    padding: 20px 0;
}

.simple-pagination ul {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.simple-pagination li {
    display: inline-block;
}

.simple-pagination a,
.simple-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    color: #555;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
    border-radius: 14px;
}

.simple-pagination a:hover {
    background: #f8f9fa;
    border-color: #3498db;
    color: #3498db;
}

.simple-pagination li.current span {
    background: #3498db;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    color: white;
    font-weight: 600;
}

.simple-pagination li.prev a,
.simple-pagination li.next a {
    padding: 0 14px;
    font-size: 15px;
    background: #ffffff;
    border-color: #e1e5e9;
    color: #555;
}

.simple-pagination li.prev a:hover,
.simple-pagination li.next a:hover {
    background: #f8f9fa;
    border-color: #3498db;
    color: #3498db;
}

.simple-pagination li.dots span {
    background: transparent;
    border: none;
    color: #95a5a6;
    min-width: auto;
    padding: 0 10px;
}

@media (max-width: 768px) {
    .simple-pagination {
        margin: 30px 0 20px;
        padding: 15px 0;
    }

    .simple-pagination ul {
        gap: 6px;
    }

    .simple-pagination a,
    .simple-pagination span {
        min-width: 40px;
        height: 40px;
        padding: 0 10px;
        font-size: 14px;
    }

    .simple-pagination li.current span {
        background: #3498db;
        border-color: #3498db;
        color: white;
    }

    .simple-pagination li.prev a,
    .simple-pagination li.next a {
        min-width: 75px;
        padding: 0 12px;
        font-size: 14px;
    }
}

.post-text-content .wp-video {
    height: auto;
    overflow: hidden;
    border-radius: 12px !important;
    margin: 0 auto;
    display: block;
}

.floating-sidebar .widget-area {
    position: sticky;
    top: 100px;
    align-self: flex-start;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
}

.floating-sidebar {
    position: relative;
    min-height: 1px;
}

@media (max-width: 992px) {
    .floating-sidebar .widget-area {
        position: static;
        max-height: none;
    }
}

.ve-comments-section {
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
    background: #ffffffa1;
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.ve-comments-section,
.ve-comments-section * {
    font-family: inherit;
}

.ve-comments-header {
    background: #f8f9fa;
    padding: 14px 20px;
    border-bottom: 1px solid #d1d5db;
}

.ve-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    font-weight: 600;
    font-size: 16px;
}

.ve-header-content i {
    color: #4b5563;
    font-size: 18px;
}

.ve-header-title {
    flex: 1;
}

.ve-comment-count {
    background: #4b5563;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-right: 5px;
}

.ve-comment-label {
    color: #6b7280;
    font-size: 14px;
    font-weight: normal;
}

.ve-comment-form {
    padding: 25px;
    border-bottom: 1px solid #e5e7eb;
}

.ve-comment-form form {
    width: 100%;
}

.ve-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.ve-form-row input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 14px;
    color: #374151;
}

.ve-form-row input:focus {
    outline: none;
    border-color: #3b82f6;
}

.ve-comment-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    border-radius: 6px;
    resize: vertical;
    min-height: 150px;
    max-height: 400px;
    box-sizing: border-box;
    margin-bottom: 15px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
}

.ve-comment-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.ve-comment-form input#submit {
    background: #3b82f6;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
}

.ve-comment-form input#submit:hover {
    background: #1d4ed8;
}

.ve-comments-list {
    padding: 25px;
}

.ve-comments-container {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ve-comments-container > li.comment {
    margin-bottom: 20px;
}

.ve-comment-item {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 15px;
}

.ve-comment-author {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    position: relative;
}

.ve-comment-author img.avatar {
    width: 50px;
    height: 50px;
    border-radius: 20px;
    border: 2px solid #e5e7eb;
    flex-shrink: 0;
}

.ve-author-details {
    flex: 1;
    min-width: 0;
}

.ve-author-name {
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 15px;
}

.ve-author-badge {
    background: #3b82f6;
    color: white;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: normal;
    white-space: nowrap;
    font-size: 12px;
}

.ve-author-name a {
    color: inherit;
    text-decoration: none;
}

.ve-author-name a:hover {
    text-decoration: underline;
    color: #1d4ed8;
}

.ve-comment-date {
    color: #6b7280;
    margin-top: 2px;
    font-size: 13px;
}

.ve-comment-date a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.ve-comment-date a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.ve-reply-button {
    position: absolute;
    left: 0;
    top: 0;
}

.ve-reply-button a {
    background: #4b5563;
    color: #ffffff;
    padding: 6px 15px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
    white-space: nowrap;
    font-size: 13px;
}

.ve-reply-button a:hover {
    background: #374151;
}

.ve-comment-text {
    color: #4b5563;
    line-height: 1.7;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px dashed #e5e7eb;
    font-size: 15px;
}

.ve-comment-text a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.ve-comment-text a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.ve-comments-container .children {
    list-style: none;
    margin: 15px 40px 0 0;
    padding: 0;
}

.ve-comments-container .children .ve-comment-item {
    background: #f3f4f6;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
}

.ve-comments-container .children .children .ve-comment-item {
    background: #e5e7eb;
}

.ve-comments-pagination {
    display: flex;
    justify-content: space-between;
}

.ve-prev-link,
.ve-next-link {
    flex: 1;
}

.ve-prev-link {
    text-align: right;
}

.ve-next-link {
    text-align: left;
}

.ve-comments-pagination a {
    background: #f3f4f6;
    color: #4b5563;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    font-size: 14px;
}

.ve-comments-pagination a:hover {
    background: #e5e7eb;
    color: #374151;
}

.ve-comments-closed {
    text-align: center;
    padding: 25px;
    color: #6b7280;
    background: #f9fafb;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
    margin: 20px 0;
    font-size: 15px;
}

.ve-login-notice {
    background: #fef3c7;
    border: 1px solid #fde68a;
    color: #92400e;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
}

.ve-login-notice a {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
}

.ve-login-notice a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.ve-user-status {
    background: #d1fae5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
}

.ve-user-status a {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
}

.ve-user-status a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.ve-logout-link {
    margin-right: 15px;
    float: left;
    color: #3b82f6;
}

.ve-moderation-notice {
    background: #fef3c7;
    border: 1px solid #fde68a;
    color: #92400e;
    padding: 10px 15px;
    border-radius: 6px;
    margin: 10px 0;
    font-size: 13px;
}

@media only screen and (max-width: 768px) {
    .ve-comments-section {
        margin: 15px 0;
        border-radius: 14px;
    }

    .ve-comments-header {
        padding: 14px 20px;
    }

    .ve-header-content {
        flex-wrap: wrap;
        gap: 8px;
    }

    .ve-comment-form,
    .ve-comments-list {
        padding: 20px 15px;
    }

    .ve-form-row {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .ve-comments-container .children {
        margin: 15px 20px 0 0;
    }

    .ve-comment-author {
        flex-wrap: nowrap;
        align-items: center;
    }

    .ve-reply-button {
        position: relative;
        left: auto;
        top: auto;
        margin-top: 0;
        width: auto;
        margin-right: 10px;
    }

    .ve-reply-button a {
        width: auto;
        text-align: center;
        padding: 4px 12px;
        font-size: 12px;
        white-space: nowrap;
    }

    .ve-author-details {
        flex: 1;
        min-width: 0;
    }

    .ve-author-name {
        flex-wrap: nowrap;
        gap: 5px;
    }

    .ve-author-badge {
        padding: 1px 6px;
        font-size: 11px;
    }

    .ve-comments-pagination {
        flex-direction: column;
        gap: 10px;
    }

    .ve-prev-link, .ve-next-link {
        text-align: center;
    }
}

.page-404-container {
    margin: 50px auto;
    text-align: center;
}

.error-code {
    font-size: 90px;
    font-weight: 700;
    color: #e74c3c;
    margin: 0;
    line-height: 1;
}

.error-title {
    font-size: 22px;
    color: #2c3e50;
    margin: 15px 0 10px;
    font-weight: 600;
}

.error-message {
    font-size: 15px;
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.error-search-wrapper {
    max-width: 400px;
    margin: 20px auto;
}

.error-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.error-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.2s ease;
    min-width: 140px;
}

.btn-primary {
    background: #3498db;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
    background: #2980b9;
    border-color: #2980b9;
}

.btn-secondary {
    background: white;
    color: #2c3e50;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
}

.btn-secondary:hover {
    background: #f8f9fa;
    border-color: #3498db;
    color: #3498db;
}

@media only screen and (max-width: 768px) {
    .page-404-container {
        margin: 30px auto;
        padding: 20px 15px;
    }

    .error-code {
        font-size: 70px;
    }

    .error-title {
        font-size: 18px;
        margin: 10px 0 8px;
    }

    .error-message {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .error-search-wrapper {
        margin: 15px auto;
        max-width: 100%;
    }

    .error-buttons {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin-top: 15px;
    }

    .error-btn {
        width: 100%;
        max-width: 200px;
        padding: 8px 15px;
    }
}

/* زیرمنوی منوی چهارم - مینیمال نهایی */
.navbar > li:nth-child(4) > ul {
    min-width: 560px !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 3px !important;
    padding: 8px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05) !important;
}

.navbar > li:nth-child(4) > ul li { margin: 0 !important; }

/* دکمه‌های اول: خاکستری خیلی کم‌رنگ */
.navbar > li:nth-child(4) > ul li a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 11px 4px !important;
    font-size: 13px !important;
    border-radius: 10px !important;
    background: #f8fafc !important; /* روشن‌تر شد */
    color: #4a5568 !important;
    border: 1px solid #e9edf2 !important;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
    transition: 0.2s ease !important;
}

/* دکمه‌های دوم: خاکستری مناسب (همان رنگی که انتخاب کردید) */
.navbar > li:nth-child(4) > ul li:nth-child(even) a {
    background: #eef1f4 !important;
    border-color: #e2e6ea !important;
}

/* هاور: آبی لطیف */
.navbar > li:nth-child(4) > ul li a:hover {
    background: #e3f2fd !important;
    color: #1a5fb4 !important;
    border-color: #93c5fd !important;
}

.main-menu {
    direction: rtl;
    width: 100%;
    height: 50px;
    background: linear-gradient(193deg, #212121 0%, #3d3d3d 100%);
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 800 !important; 
}

#top-menu {
    padding: 0;
    margin-bottom: 25px;
}

.navbar {
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0;
    font-size: 15px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 801 !important;
}

.navbar > li {
    display: inline-block;
    position: relative;
    flex: 1;
    text-align: center;
    height: 100%;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 802 !important;
}

.navbar > li:last-child {
    border-right: none;
}

.navbar > li > a {
    display: block;
    padding: 0 25px;
    text-decoration: none;
    color: white !important;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    line-height: 50px;
    white-space: nowrap;
}

.navbar > li:hover {
    background: rgba(255, 255, 255, 0.1);
}

.navbar > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #4fc3f7 0%, #2196f3 100%);
    border-radius: 2px 2px 0 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateX(50%);
    box-shadow: 0 0 10px rgba(79, 195, 247, 0.5);
}

.navbar > li > a:hover::after {
    width: 50%;
    height: 4px;
    box-shadow: 0 0 15px rgba(79, 195, 247, 0.8);
}

.navbar > li > ul::before {
    content: '';
    position: absolute;
    top: -10px;
    right: 50%;
    transform: translateX(50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid rgba(255, 255, 255, 0.98);
    z-index: 99999 !important;
    filter: drop-shadow(0 -2px 2px rgba(0, 0, 0, 0.1));
}

.navbar > li > ul {
    position: absolute;
    top: 100% !important;
    right: 50% !important;
    transform: translateX(50%) translateY(-15px) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    min-width: 250px;
    border-radius: 12px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25) !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 99999 !important;
    list-style: none;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 10px;
}

.navbar > li:hover > ul {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(50%) translateY(0) !important;
}

.navbar > li > ul li {
    display: block;
    width: 100%;
    position: relative;
}

.navbar > li > ul li a {
    display: block;
    padding: 8px 8px;
    text-decoration: none;
    color: #2d3748 !important;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    text-align: right;
    background: transparent !important;
}

.navbar > li > ul li a:hover {
    background: rgba(45, 55, 72, 0.05) !important;
    color: #1a202c !important;
    padding-right: 12px;
    border-right-color: #2d3748;
}

.navbar > li > ul li a,
.navbar > li > ul li a:hover {
    background-image: none !important;
    background-color: transparent !important;
}

.navbar > li > ul li.menu-item-has-children > a::after {
    content: '◀';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #cbd5e0;
    transition: all 0.3s;
}

.navbar > li > ul li.menu-item-has-children > a:hover::after {
    color: #2d3748;
    left: 20px;
}

.navbar > li > ul > li.menu-item-has-children > ul::before {
    content: '';
    position: absolute;
    top: 20px;
    right: -8px !important;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid rgba(255, 255, 255, 0.98) !important;
    z-index: 100000 !important;
    filter: drop-shadow(2px 0 2px rgba(0, 0, 0, 0.1));
}

.navbar > li > ul > li.menu-item-has-children {
    position: relative;
}

.navbar > li > ul > li.menu-item-has-children > ul {
    position: absolute !important;
    top: -12px !important;
    right: 100% !important;
    background: rgba(255, 255, 255, 0.98) !important;
    min-width: 250px;
    border-radius: 15px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25) !important;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 100000 !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar > li > ul > li.menu-item-has-children:hover > ul {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
}

.navbar > li > ul > li.menu-item-has-children > ul > li.menu-item-has-children > ul::before {
    content: '';
    position: absolute;
    top: 20px;
    right: -8px !important;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid rgba(255, 255, 255, 0.98) !important;
    z-index: 100001 !important;
    filter: drop-shadow(2px 0 2px rgba(0, 0, 0, 0.1));
}

.navbar > li > ul > li.menu-item-has-children > ul > li.menu-item-has-children {
    position: relative;
}

.navbar > li > ul > li.menu-item-has-children > ul > li.menu-item-has-children > ul {
    position: absolute !important;
    top: -12px !important;
    right: 100% !important;
    background: rgba(255, 255, 255, 0.98) !important;
    min-width: 200px;
    border-radius: 15px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25) !important;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 100001 !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar > li > ul > li.menu-item-has-children > ul > li.menu-item-has-children:hover > ul {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
}

.navbar > li {
    position: relative;
}

.navbar > li::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 100%;
    height: 20px;
    background: transparent;
    z-index: 100002;
}

.navbar > li > ul {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.1s;
}

.navbar > li:hover > ul {
    transition-delay: 0s;
}

.navbar > li > ul > li.menu-item-has-children > ul {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.1s;
}

.navbar > li > ul > li.menu-item-has-children:hover > ul {
    transition-delay: 0s;
}

.navbar > li > ul,
.navbar > li > ul > li.menu-item-has-children > ul,
.navbar > li > ul > li.menu-item-has-children > ul > li.menu-item-has-children > ul {
    pointer-events: auto !important;
}

@media (max-width: 1200px) {
    .navbar > li > a {
        padding: 0 20px;
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .main-menu {
        display: none !important;
    }
}

.homepage-logo-item {
    position: relative;
    display: block;
}

.homepage-logo-new-badge {
    position: absolute;
    top: 0px;
    left: 0px;
    background: #e53935;
    color: #fff;
    font-size: 11px;
    padding: 3px 0px 3px 0px;
    border-radius: 20px 0px 12px 0px;
    z-index: 5;
    text-align: center;
    min-width: 45px;
}

.badge-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #b71c1c;
    color: white;
    font-size: 11px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.badge-text {
    font-size: 11px;
}

.homepage-logos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 12px;
}

.homepage-logo-item {
    background: #ffffffa1;
    border-radius: 20px;
    padding: 10.8px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
    height: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.homepage-logo-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #3498db;
}

.homepage-logo-ae {
    background: url('icon/shoptut.webp') no-repeat center center;
    background-size: contain;
}

.homepage-logo-c4d {
    background: url('icon/plugin.webp') no-repeat center center;
    background-size: contain;
}

.homepage-logo-computer {
    background: url('icon/amozesh.webp') no-repeat center center;
    background-size: contain;
}

.homepage-logo-moho {
    background: url('icon/footage.webp') no-repeat center center;
    background-size: contain;
}

.homepage-logo-other {
    background: url('icon/subtitle.webp') no-repeat center center;
    background-size: contain;
}

.homepage-logo-photoshop {
    background: url('icon/cinema.webp') no-repeat center center;
    background-size: contain;
}

.homepage-logo-icon {
    width: 55px;
    height: 42px;
    flex-shrink: 0;
    
}

.homepage-logo-text {
    flex-grow: 1;
}

.homepage-logo-title {
    font-size: 13.5px;
    color: #2c3e50;
    font-weight: 500;
    display: block;
    text-align: right;
    margin-bottom: 3px;
    line-height: 1.3;
}

.section-anchor {
    scroll-margin-top: 100px;
    padding: 10px 0;
}

@media (max-width: 768px) {
    .homepage-desktop-only {
        display: none !important;
    }

    .homepage-mobile-version {
        display: block !important;
        width: 100%;
    }

    .homepage-mobile-container {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .homepage-mobile-logos {
        order: 1;
        margin-bottom: 0;
    }

    .homepage-mobile-logos .homepage-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .homepage-mobile-logos .homepage-logo-item {
        padding: 10px;
    }

    .homepage-mobile-logos .homepage-logo-icon {
        width: 40px;
        height: 40px;
    }

    .homepage-mobile-logos .homepage-logo-title {
        font-size: 13px;
    }

    .homepage-mobile-logos .homepage-logo-count {
        font-size: 11px;
    }

    .homepage-mobile-main-post {
        order: 2;
        width: 100%;
    }

    .homepage-mobile-main-post .post-card {
        height: auto !important;
        min-height: auto !important;
        width: 100% !important;
    }

    .homepage-mobile-main-post .post-image-wrapper {
        height: auto !important;
        min-height: auto !important;
    }

    .homepage-mobile-main-post .post-content {
        padding: 14px !important;
    }

    .homepage-mobile-main-post .post-title {
        font-size: 13.5px !important;
    }

    .homepage-mobile-small-posts {
        order: 3;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        width: 100%;
    }

    .homepage-mobile-small-posts .post-card {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .homepage-mobile-small-posts .post-image-wrapper {
        height: auto !important;
        min-height: auto !important;
        width: 100% !important;
        padding: 8px 8px 0 8px !important;
    }

    .homepage-mobile-small-posts .post-content {
        padding: 10px !important;
        width: 100% !important;
    }

    .homepage-mobile-small-posts .post-title {
        font-size: 13px !important;
        line-height: 1.6 !important;
    }

    .homepage-mobile-small-posts .post-meta {
        font-size: 11px !important;
        padding-top: 8px !important;
    }
}

/* Footer */
.compact-download {
    width: 100%;
    margin: 20px auto;
    box-sizing: border-box;
}

.download-container {
    max-width: 100%;
    background: linear-gradient(135deg, #373737 0%, #373737 100%);
    border-radius: 20px;
    padding: 5px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    overflow: hidden;
}

.download-icon {
    position: absolute;
}

.download-icon img {
    width: 50px;
    scale: 2.2;
    margin-top: 8px;
}

.download-info {
    flex: 1;
    color: white;
    text-align: right;
    padding: 0 10px;
    min-width: 0;
    margin-right: 80px;
}

.download-info strong {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.download-info span {
    font-size: 13px;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.download-btn {
    background: #ffffff;
    color: #333333;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
    padding: 0px 10px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    flex-shrink: 0;
    white-space: nowrap;
    height: 36px;
}

.download-btn:hover {
    border-color: #4a90e2;
    color: #4a90e2;
    box-shadow: 0 2px 5px rgba(74, 144, 226, 0.2);
}

.footer-main {
    padding: 10px 0 20px;
    direction: rtl;
}

.footer-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-left {
    flex: 2;
    margin-right: 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
    width: 100%;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.about-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo img {
    width: 150px;
    height: auto;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-text {
    color: #333;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.instructor,
.phone {
    color: #666;
    font-size: 12px;
    line-height: 1.4;
}

.footer-title {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.footer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu-list li {
    margin-bottom: 12px;
}

.footer-menu-list a {
    color: #000;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
    display: block;
    position: relative;
    padding-right: 10px;
}

.footer-menu-list a:hover {
    color: #4a6cf7;
    transform: translateX(-3px);
}

.footer-menu-list a:before {
    content: "›";
    position: absolute;
    right: 0;
    opacity: 0;
    transition: all 0.3s;
}

.footer-menu-list a:hover:before {
    opacity: 1;
    right: -3px;
}

.footer-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.social-wrapper {
    width: 100%;
}

.social-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    width: 49px;
    height: 49px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fae5;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
}

.social-btn::after {
    border-color: #3498db;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.social-btn:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.social-btn:hover::after {
    left: 100%;
}

.fb-btn:hover {
    background: #3b5998;
}

.fb-btn:hover svg {
    fill: white;
}

.tg-btn:hover {
    background: #0088cc;
}

.tg-btn:hover svg {
    fill: white;
}

.ig-btn:hover {
    background: #d6249f;
}

.ig-btn:hover svg {
    fill: white;
}

.yt-btn:hover {
    background: #ff0000;
    border-color: #ff0000;
}

.yt-btn:hover svg {
    fill: white;
}

.et-btn:hover {
    background: #00a4e4;
}

.et-btn:hover svg {
    fill: white;
}

.trust-wrapper {
    display: flex;
    gap: 15px;
    justify-content: center;
    width: 100%;
}

.trust-item {
    background: #ffffffa1;
    border-radius: 24px;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 55px;
    width: 55px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
}

.trust-item:hover {
    border-color: #3498db;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.trust-item img {
    max-height: 65px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s;
}

.trust-item:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-item:first-child img {
    max-height: 65px;
}

@media (max-width: 1100px) {
    .download-container {
        padding: 14px 22px;
    }

    .footer-container {
        gap: 30px;
    }

    .footer-grid {
        gap: 30px;
    }
}

@media (max-width: 900px) {
    .footer-container {
        flex-direction: column;
        gap: 35px;
    }

    .footer-left {
        display: none;
    }

    .footer-right {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .about-col {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }

    .footer-logo img {
        width: 50px;
    }

    .trust-wrapper {
        gap: 12px;
    }

    .trust-item {
        width: 95px;
        height: 80px;
        padding: 14px;
    }
}

@media (max-width: 768px) {
    .compact-download {
        padding: 0 15px;
        box-sizing: border-box;
    }

    .download-container {
        margin: 10px auto;
        padding: 10px 15px;
        gap: 12px;
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
    }

    .footer-container {
        padding: 0 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-col {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .footer-title {
        font-size: 15px;
        margin-bottom: 15px;
    }

    .download-info {
        text-align: right;
        padding: 0 5px;
        flex: 1;
        min-width: 0;
    }

    .download-info strong {
        font-size: 15px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .download-info span {
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .download-icon {
        min-width: 40px;
        height: 40px;
        padding: 8px;
        flex-shrink: 0;
    }

    .download-icon img {
        width: 35px;
        height: 35px;
    }

    .download-btn {
        padding: 0px 15px;
        font-size: 12px;
        border-radius: 25px;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .trust-item {
        width: 85px;
        height: 75px;
        padding: 12px;
    }

    .trust-item img {
        max-height: 55px;
    }

    .social-btn {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 480px) {
    .compact-download {
        padding: 0 10px;
        box-sizing: border-box;
    }

    .download-container {
        margin: 8px auto;
        padding: 8px 12px;
        gap: 8px;
    }

    .compact-download {
        margin-top: 15px;
    }

    .download-info strong {
        font-size: 14px;
    }

    .download-info span {
        font-size: 10px;
        display: none;
    }

    .download-icon {
        min-width: 35px;
        height: 35px;
        padding: 6px;
    }

    .download-icon img {
        width: 30px;
        height: 30px;
        margin-top: 2px;
    }

    .download-btn {
        padding: 0px 12px;
        font-size: 11px;
        border-radius: 25px;
        gap: 4px;
    }

    .download-btn svg {
        width: 12px;
        height: 12px;
    }

    .trust-item {
        width: 80px;
        height: 70px;
        padding: 10px;
    }

    .trust-item img {
        max-height: 50px;
    }

    .social-buttons {
        gap: 8px;
    }

    .social-btn {
        width: 40px;
        height: 40px;
        border-radius: 16px;
    }
}

@media (max-width: 360px) {
    .compact-download {
        padding: 0 8px;
    }

    .download-container {
        padding: 6px 10px;
        gap: 6px;
        margin: 6px auto;
    }

    .download-info strong {
        font-size: 12px;
    }

    .download-icon {
        min-width: 30px;
        height: 30px;
        padding: 5px;
    }

    .download-icon img {
        width: 25px;
        height: 25px;
    }

    .download-btn {
        padding: 5px 10px;
        font-size: 10px;
    }

    .download-btn svg {
        width: 10px;
        height: 10px;
    }

    .trust-wrapper {
        flex-wrap: wrap;
        justify-content: center;
    }

    .trust-item {
        width: 75px;
        height: 65px;
        padding: 8px;
    }
}

@media (max-width: 320px) {
    .download-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .download-info {
        flex-basis: 100%;
        text-align: center;
        order: 3;
        margin-top: 5px;
    }

    .download-icon {
        order: 1;
    }

    .download-btn {
        order: 2;
    }
}

iframe {
    width: 100%;
    display: block;
    position: relative;
    z-index: 55555;
    text-align: center;
}

.centerframm {
    border: none;
    width: 100%;
    height: 250px;
}

.sticky {
    position: fixed !important;
    width: 1280px !important;
    top: 0 !important;
    z-index: 99999;
}

.stickysi {
    position: fixed !important;
    width: 28.3% !important;
    top: 60px !important;
    z-index: 999999999;
}

.velo {
    color: #ffaa11 !important;
    margin: 0 4px;
}

.sinap a {
    color: #dcdcdc !important;
    top: 8px;
    margin-right: 15px;
    position: relative;
}

.tiop {
    height: 49px;
}

.onbtop {
    float: right;
    padding: 2px 15px 0;
    color: #dcdcdc;
    cursor: default;
    font-size: 18px;
}

.ionpo {
    margin: 5px;
    float: right;
    margin-left: 4px;
}

.onpo1 {
    float: right;
    padding: 5px 15px 0;
}

.erticon {
    float: right;
    color: #fff;
    margin: 5px;
    font-size: 24px;
}

.imgposy {
    float: left;
    width: 100%;
    height: auto;
}

.card-tamas {
    display: flex;
    width: auto;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(0.25turn, #4d4d4d, #040404, #040404);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
}

.half-tamas {
    width: 100%;
}

.half-right-tamas {
    padding: 1.5rem 1rem 4rem 1rem;
    position: relative;
}

@media (max-width: 768px) {
    .card-tamas {
        flex-direction: column;
        width: auto;
        height: auto;
        margin: 10px 0;
        border-radius: 24px;
    }

    .img-container-tamas {
        width: 100%;
    }

    .img-container-tamas img {
        width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: cover;
    }

    .half-tamas {
        width: auto;
    }

    .half-right-tamas {
        padding: 1rem 0.8rem 3rem 0.8rem;
        text-align: center;
    }

    .name {
        font-size: 20px !important;
        text-align: center;
    }

    .half-right-tamas > span[style*="color: #ffffff"]:first-of-type {
        font-size: 14px !important;
        display: block;
        text-align: center;
        margin-bottom: 10px;
    }

    .bio {
        font-size: 18px !important;
        text-align: center;
        margin: 15px 0 10px 0;
    }

    .half-right-tamas span[style*="color: #ffffff"] {
        font-size: 13px !important;
        display: block;
        margin-bottom: 8px;
        line-height: 1.5;
        text-align: center;
    }

    .location {
        font-size: 12px !important;
        text-align: center;
        margin-top: 15px;
    }

    .location span[style*="font-size: 10pt"] {
        font-size: 11px !important;
        text-align: center;
    }

    .half-right-tamas a {
        font-size: 13px !important;
        display: inline !important;
    }

    .location a {
        color: #ffffff !important;
        text-decoration: none;
    }

    .location a:hover {
        text-decoration: underline;
    }

    "] {
        display: inline !important;
    }

    .half-right-tamas > * {
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .card-tamas {
        border-radius: 16px;
        margin: 5px 0;
    }

    .img-container-tamas img {
        max-height: 250px;
    }

    .half-right-tamas {
        padding: 0.8rem 0.6rem 2.5rem 0.6rem;
    }

    .name {
        font-size: 18px !important;
    }

    .bio {
        font-size: 16px !important;
    }

    .half-right-tamas span[style*="color: #ffffff"] {
        font-size: 12px !important;
    }

    .location {
        font-size: 11px !important;
    }
}

@media (max-width: 970px) {
    .sticky {
        position: absolute !important;
    }
}

@media (max-width: 768px) {
    .sofootf {
        display: none;
    }

    img {
        max-width: 100%;
    }

    body {
        direction: rtl;
        margin: 0;
        padding: 0;
        margin-top: 0px;
    }

    .container {
        width: 100%;
        margin: auto;
    }

    .box-post-store .post-store {
        width: 48%;
        height: auto;
        float: right;
        margin: 1%;
    }

    .box-post-store .post-store .post-store-title {
        margin: 1%;
        float: right;
        height: 56px;
    }

    .box-post-store .post-store .post-store-title span {
        color: #fff;
        float: right;
        font-size: 11px;
    }

    .box-post-store .post-store .post-store-title a h3 {
        text-align: right;
        float: right;
        font-size: 11px;
    }

    .menu-left {
        width: 100%;
        height: auto;
        float: left;
        margin: 5px auto;
    }

    .wrapper-left {
        width: 100%;
        height: auto;
        float: right;
        background: #1B1B1B;
    }

    .main-menu {
        display: none;
    }

    .navbar {
        display: none;
    }

    .slide-Area {
        width: 100%;
        height: auto;
        float: right;
    }

    .amozesh-post-right {
        width: 99%;
        height: 100%;
        float: right;
    }

    .amozesh-post-right img {
        width: 100% !important;
        height: auto !important;
        float: right;
        border: 1px solid #181b20;
        position: relative;
        z-index: 9999;
    }

    .amozesh-post-left {
        width: 100%;
        height: 100%;
        float: right;
        position: relative;
    }

    .amozesh-left-txt {
        width: 97%;
        height: 100px;
        color: #fff;
        margin: 0px 5px;
        font-size: 11px;
        text-align: justify;
        display: none;
    }

    .amozesh-left-bottom {
        width: 100%;
        height: auto;
        float: left;
        position: absolute;
        bottom: 0px;
        padding-bottom: 5px;
        border-bottom: 1px solid #282828;
        background: #1b1b1b;
        display: none;
    }

    .box-post-store .post-store .post-store-img img {
        width: 97%;
        height: auto;
        margin: 1% auto;
    }

    .sina12 {
        display: none;
    }

    .sina11 {
        display: block;
        margin-bottom: 20px;
    }

    .right-frome-site {
        width: 100%;
        height: 249px;
        float: right;
        background: #1a1d23;
    }

    .left-frome-site {
        width: 100%;
        height: auto;
        float: left;
    }

    .left-frome-site a {
        display: block;
    }

    .menu-left nav {
        width: auto;
        background: #000;
        float: right;
        margin: 20px 0px 0 0;
        border: 1px solid #060606;
    }

    .menu-left nav ul li {
        font-size: 14px;
        float: right;
        list-style: none;
        padding: 5px 18px;
        background: linear-gradient(to bottom, #232831 0, #171a1d 100%);
        box-shadow: 0 1px 0 0 rgba(255, 255, 255, .05) inset;
        cursor: pointer;
        border: 1px solid #060606;
        margin-right: 1px;
        border-radius: 25px;
    }

    .menu-left li.menu-ul-site ul li {
        display: block;
        padding: 0px;
        width: 130px;
        border-bottom: solid 1px #ddd;
        float: right;
        font-size: 14px;
        background: none;
        border-radius: 16px;
        text-align: right;
    }

    .menu-left ul li.menu-ul-site ul {
        position: absolute;
        z-index: 900;
        margin: 6px -10px;
        opacity: 0;
        visibility: hidden;
        background: #fff;
        width: 130px;
        line-height: normal;
        border-radius: 16px;
        transition: all .2s linear;
    }

    .edd-cart-quantity {
        margin: -23px 100px 0 0;
    }

    .header-Area {
        text-align: center;
        height: 66px;
        background-color: #272D37;
        background-image: none;
        padding-bottom: 10px;
        margin-bottom: 18px;
    }

    .header-Area a {
        display: block;
    }

    .header-Area img {
        float: left;
        height: 50px !important;
        position: relative;
        top: 10px;
    }

    .soliloquy-container {
        padding-bottom: 10px !important;
    }

    .post-footage-img {
        width: 16.06%;
        float: right;
        margin: 2px;
        border-radius: 16px;
    }

    .tags-post {
        width: 100%;
        height: auto;
        float: right;
        margin-top: 15px;
    }

    table {
        max-width: 100%;
    }

    .single-page {
        width: 96%;
        height: auto;
        float: right;
        background: #e7e7e7;
        margin-top: 5px;
        padding: 2%;
    }

    .inputser {
        display: none;
    }

    .menu-item a img {
        display: none !important;
    }

    .amozesh-left-top {
        width: 100%;
        height: auto;
        padding: 5px 0;
        border-bottom: 1px solid #282828;
        background: #1b1b1b;
        border-radius: 24px;
    }

    .amozesh-left-top h2 {
        font-size: 11px;
        line-height: 20px;
        padding: 2%;
        text-align: center;
        font-weight: normal;
    }

    .Slider-Pac {
        display: none;
    }

    .header_VP {
        display: none;
    }

    .wpcf7 {
        width: 94%;
    }
}

/* فیکس آیکون پلاگین - استفاده از یونیکد به جای FontAwesome */
.mobile-icon-btn .fa-plug,
.menu-btn .fa-plug,
.dropdown-content .fa-plug,
.mobile-dropdown-content .fa-plug {
    font-family: 'FontAwesome' !important;
}

.mobile-icon-btn .fa-plug::before,
.menu-btn .fa-plug::before,
.dropdown-content .fa-plug::before,
.mobile-dropdown-content .fa-plug::before {
    content: "\f1e6" !important;
}

/* اطمینان از نمایش دکمه‌ی منوی همبرگر موبایل (فیکس نهایی) */
@media (max-width: 992px) {
    .mobile-header .mobile-top-row .mobile-hamburger,
    .mobile-header .mobile-top-row .mobile-hamburger .hamburger-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .mobile-header .mobile-top-row .mobile-hamburger .hamburger-toggle {
        width: 40px !important;
        height: 40px !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
    }

    .mobile-header .mobile-top-row .mobile-hamburger .hamburger-toggle span {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: #2d3748 !important;
    }
}

/* 1. استایل کادر برای کل لیست عددی */
ol {
    line-height: 1.8 !important; 
    margin-bottom: 20px !important; 
    
    /* --- تنظیمات کادر --- */
    background-color: #f8f9fa !important; 
    border: 1px solid #e0e0e0 !important; 
    border-radius: 20px !important; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
    
    /* این دو خط حیاتی هستند تا اعداد داخل کادر بمانند */
    padding: 20px 45px 20px 20px !important; /* فاصله داخلی: بالا، راست (۴۵ برای اعداد)، پایین، چپ */
    list-style-position: inside !important; /* اعداد را داخل کادر نگه می‌دارد */
}

/* 2. استایل هر آیتم داخل لیست (خط‌چین‌ها اینجا هستند) */
ol li {
    margin-bottom: 12px !important; 
    padding-bottom: 8px !important;
    border-bottom: 1px dashed #ccc !important; /* خط‌چین بین آیتم‌ها */
    padding-right: 10px !important; /* فاصله متن از عدد */
}

/* 3. حذف خط‌چین برای آخرین آیتم لیست */
ol li:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}