/*
Theme Name: Arvin Wood
Theme URI: phproject.ir
Author: Phoenix
Description: قالب اختصاصی آروین چوب
Version: 1.0
Text Domain: arvinwood
*/

/* Reset بهینه‌شده */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    direction: rtl;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: hamishe, Tahoma, sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
    color: #2d465e;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* فونت‌های Vazirmatn با مسیر اصلاح‌شده */
@font-face {
    font-family: Vazirmatn;
    src: url('./assets/webfonts/Vazirmatn-FD-NL-Thin.woff2') format('woff2');
    font-weight: 100;
    font-display: swap;
}

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

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

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

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

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

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

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

@font-face {
    font-family: Vazirmatn;
    src: url('./assets/webfonts/Vazirmatn-FD-NL-Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

@font-face {
  font-family: 'hamishe';
  src: url('assets/webfonts/Digi\ Hamishe\ Regular.ttf');
}


/* متغیرهای رنگ */
:root {
    --wood-primary: #1d866c;
    --wood-secondary: #ffd700;
    --wood-light: #098b54;
    --wood-dark: #003e21;
    --natural-beige: #ffffff;
}

/* کلاس‌های کمکی */
.bg-wood-primary {
    background-color: var(--wood-primary) !important;
}

.text-wood-primary {
    color: var(--wood-primary) !important;
}

.bg-wood-secondary {
    background-color: var(--wood-secondary) !important;
}

.text-wood-secondary {
    color: var(--wood-secondary) !important;
}

.bg-wood-light {
    background-color: var(--wood-light) !important;
}

.bg-wood-dark {
    background-color: var(--wood-dark) !important;
}

.bg-natural-beige {
    background-color: var(--natural-beige) !important;
}

.text-wood-light {
    color: var(--wood-light);
}

/* کامپوننت‌های سفارشی */
.btn-wood {
    background-color: var(--wood-primary);
    border-color: var(--wood-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-wood:hover {
    background-color: var(--wood-dark);
    border-color: var(--wood-dark);
    color: white;
    transform: translateY(-2px);
}

.card-wood {
    border: 1px solid #f6d763;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background: #3c9b8414;
    padding: 20px !important;
}

.card-wood:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* استایل‌های پایه برای تایپوگرافی */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--wood-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--wood-dark);
}

header ul {
    margin-right: 30px;
    font-size: larger;
    padding: 0 8px;
    text-align: center !important;
}

header ul li {
    margin: 8px;
}

header a {
    color: #ffffff;
}

/* گرادینت برای عنوان‌های اصلی */
.gradient-title {
    background: linear-gradient(270deg, rgba(198, 151, 43, 1) 0%, rgba(248, 223, 108, 1) 50%, rgba(198, 151, 43, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* گرادینت طلایی برای عناوین خاص */
.gold-gradient {
    background: linear-gradient(135deg, #FFD700, #D4AF37, #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* گرادینت چوبی */
.gradient-back {
    background: linear-gradient(270deg, rgba(248, 223, 108, 1) 0%, rgba(198, 151, 43, 1) 51%, rgba(248, 223, 108, 1) 100%);
}

/* گرادینت طبیعت */
.nature-gradient {
    background: linear-gradient(135deg, #6ad6bb, #1d866c, #46ccaa, #1d866c, #75e7cb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nature-gradient-back {
    background: linear-gradient(120deg, #0f5f4b, #1d866c, #0f5f4b, #1d866c, #0f5f4b);
}

.btn-grad {
    background-image: linear-gradient(to right, #0f5f4b 0%, #85D8CE 51%, #0f5f4b 100%);
    margin: 10px;
    padding: 15px 45px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    border-radius: 10px;
    display: block;
    font-size: 18px;
}

.btn-grad:hover {
    background-position: right center;
    color: gold;
    text-decoration: none;
}

#gallery-categories {
    background: linear-gradient(90deg, rgba(18, 18, 22, 1.000) 0.000%, rgba(18, 18, 22, 1.000) 7.692%, rgba(22, 23, 26, 1.000) 7.692%, rgba(22, 23, 26, 1.000) 15.385%, rgba(26, 27, 31, 1.000) 15.385%, rgba(26, 27, 31, 1.000) 23.077%, rgba(31, 32, 35, 1.000) 23.077%, rgba(31, 32, 35, 1.000) 30.769%, rgba(35, 36, 39, 1.000) 30.769%, rgba(35, 36, 39, 1.000) 38.462%, rgba(39, 40, 43, 1.000) 38.462%, rgba(39, 40, 43, 1.000) 46.154%, rgba(43, 44, 47, 1.000) 46.154%, rgba(43, 44, 47, 1.000) 53.846%, rgba(47, 48, 51, 1.000) 53.846%, rgba(47, 48, 51, 1.000) 61.538%, rgba(50, 51, 55, 1.000) 61.538%, rgba(50, 51, 55, 1.000) 69.231%, rgba(54, 55, 58, 1.000) 69.231%, rgba(54, 55, 58, 1.000) 76.923%, rgba(56, 57, 61, 1.000) 76.923%, rgba(56, 57, 61, 1.000) 84.615%, rgba(59, 60, 64, 1.000) 84.615%, rgba(59, 60, 64, 1.000) 92.308%, rgba(61, 62, 66, 1.000) 92.308% 100.000%);
}

.bg-pattern {
    background-image: url("assets/images/bg-gradient.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: grid;
    padding-block: var(--size-8);
    padding-inline: var(--size-7);
    place-items: start center;
    position: relative;
}

/* استایل‌های سلسله‌مراتب دسته‌بندی‌ها */
.category-hierarchy-item {
    transition: all 0.3s ease;
    animation: fadeInHierarchy 0.5s ease-out;
}

.category-hierarchy-item:hover {
    transform: translateX(5px);
}

.category-level-0 {
    border-left-color: var(--wood-primary) !important;
}

.category-level-1 {
    border-left-color: var(--wood-secondary) !important;
}

.category-level-2 {
    border-left-color: var(--wood-light) !important;
}

.category-level-3 {
    border-left-color: #ccc !important;
}

/* انیمیشن برای سلسله‌مراتب */
@keyframes fadeInHierarchy {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.category-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

#gallery-categories .category-box .category-card {
    border: 1px solid #f6d763;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background: #3c9b8414;
    padding: 8px !important;
    width: 150px;
}

/* استایل‌های سکشن نظرات مشتریان */
.testimonial-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    min-height: 250px;
    display: flex;
    align-items: center;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.8 !important;
    position: relative;
}

.testimonial-text::before {
    content: " | ";
    font-size: 4rem;
    color: var(--wood-primary);
    opacity: 0.1;
    position: absolute;
    top: -20px;
    right: -10px;
    font-family: serif;
}

.author-avatar img {
    border: 3px solid var(--wood-primary);
    object-fit: cover;
}

.rating-stars {
    letter-spacing: 3px;
}

/* استایل کاروسل نظرات */
#testimonialsCarousel .carousel-indicators {
    bottom: -60px;
}

#testimonialsCarousel .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: var(--wood-primary);
    opacity: 0.3;
    border: none;
    transition: all 0.3s ease;
}

#testimonialsCarousel .carousel-indicators .active {
    opacity: 1;
    transform: scale(1.2);
}

#testimonialsCarousel .carousel-control-prev,
#testimonialsCarousel .carousel-control-next {
    width: 5%;
}

#testimonialsCarousel .carousel-control-prev-icon,
#testimonialsCarousel .carousel-control-next-icon {
    background-color: var(--wood-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-size: 20px 20px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

#testimonialsCarousel .carousel-control-prev-icon:hover,
#testimonialsCarousel .carousel-control-next-icon:hover {
    opacity: 1;
}

/* استایل‌های سکشن مطالب */
.blog-card {
    border-radius: 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
    border-radius: 0.5rem 0.5rem 0 0;
}

.transition-scale {
    transition: transform 0.5s ease;
}

.blog-card:hover .transition-scale {
    transform: scale(1.1);
}

.blog-content {
    background: white;
}

.blog-title a {
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: var(--wood-primary) !important;
}

.hover-wood-primary:hover {
    color: var(--wood-primary) !important;
}

.blog-date .badge {
    font-size: 0.75rem;
    border-radius: 0.5rem;
}

.blog-categories .badge {
    font-size: 0.7rem;
    border-radius: 0.25rem;
}

/* دکمه مشاهده همه مطالب */
.btn-grad {
    background: linear-gradient(135deg, var(--wood-primary), var(--wood-dark));
    border: none;
    color: #f6dd6a;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-grad:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(29, 134, 108, 0.3);
}

.btn-grad::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-grad:hover::before {
    left: 100%;
}

/* استایل‌های اسکرول افقی برای موبایل و تبلت */
.blog-scroll-viewport,
.video-scroll-viewport,
.projects-scroll-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0;
    margin: 0;
    position: relative;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
}

.blog-scroll-viewport::-webkit-scrollbar,
.video-scroll-viewport::-webkit-scrollbar,
.projects-scroll-viewport::-webkit-scrollbar {
    display: none;
}

.blog-scroll-container,
.video-scroll-container,
.projects-scroll-container {
    display: flex;
    gap: 1rem;
    padding: 0 15px;
    min-width: min-content;
    width: max-content;
}

.blog-scroll-item,
.video-scroll-item,
.project-scroll-item {
    flex: 0 0 80%;
    min-width: 280px;
    max-width: 320px;
    scroll-snap-align: start;
    margin: 0 0.5rem;
}

.blog-scroll-viewport,
.video-scroll-viewport,
.projects-scroll-viewport {
    scroll-snap-type: x mandatory;
}

.blog-scroll-viewport .card-wood {
    padding: 0 !important;
}

/* استایل‌های صفحه بلاگ */
.blog-categories-filter .btn-outline-wood {
    border-color: var(--wood-primary);
    color: var(--wood-primary);
}

.blog-categories-filter .btn-outline-wood:hover,
.blog-categories-filter .btn-outline-wood.active {
    background-color: var(--wood-primary);
    color: white;
}

/* سایدبار */
.sidebar-widget {
    border-radius: 0.75rem;
}

.category-list .category-item a {
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.category-list .category-item a:hover {
    color: var(--wood-primary) !important;
    transform: translateX(-5px);
}

/* مطالب */
.blog-post-card {
    transition: all 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* صفحه single */
.single-post-content .post-content {
    line-height: 1.8;
}

.single-post-content .post-content p {
    margin-bottom: 1.5rem;
}

.single-post-content .post-content h2,
.single-post-content .post-content h3,
.single-post-content .post-content h4 {
    color: var(--wood-dark);
    margin: 2rem 0 1rem 0;
}

.single-post-content .post-content h2 {
    border-right: 4px solid var(--wood-primary);
    padding-right: 1rem;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    transition: all 0.3s ease;
}

.post-navigation a:hover {
    color: var(--wood-primary) !important;
}

/* استایل‌های گالری ویدیو */
.video-card {
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 350px !important;
    position: relative;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.video-image {
    border-radius: 0.5rem 0.5rem 0 0;
    position: relative;
    background: linear-gradient(135deg, var(--wood-primary), var(--wood-dark));
}

.video-image img {
    transition: all 0.3s ease;
}

.video-card:hover .video-image img {
    transform: scale(1.05);
}

.video-overlay {
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.play-button {
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.video-card:hover .play-button {
    transform: scale(1);
}

.video-content {
    background: white;
    padding: 1rem !important;
}

.video-title {
    font-size: 0.95rem;
    line-height: 1.4;
}

.video-excerpt {
    font-size: 0.8rem;
    line-height: 1.5;
}

.play-video-btn {
    transition: all 0.3s ease;
}

.play-video-btn:hover {
    transform: scale(1.05);
}

/* مودال ویدیو */
#videoModal .modal-content {
    border-radius: 1rem;
    overflow: hidden;
}

#videoPlayerContainer iframe,
#videoPlayerContainer video {
    border-radius: 0.5rem;
}

/* استایل‌های پلیر ویدیو در صفحه */
.video-player-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10;
    border-radius: 0.75rem;
    display: none;
}

.video-player-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-player-wrapper iframe,
.video-player-wrapper video {
    border-radius: 0.75rem;
}

.close-video {
    z-index: 11;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumbnail {
    transition: all 0.3s ease;
}

.video-card.playing .video-thumbnail {
    opacity: 0;
    visibility: hidden;
}

.video-card.playing .video-player-container {
    display: block !important;
}

/* نشانگر ویدیو روی تامبنیل */
.video-thumbnail-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.video-thumbnail-indicator i {
    color: var(--wood-primary);
    font-size: 1.5rem;
    margin-left: 3px;
}

/* استایل‌های صفحه آرشیو ویدیو */
.video-categories-filter .btn-outline-wood {
    border-color: var(--wood-primary);
    color: var(--wood-primary);
}

.video-categories-filter .btn-outline-wood:hover,
.video-categories-filter .btn-outline-wood.active {
    background-color: var(--wood-primary);
    color: white;
}

.video-sidebar .category-list .category-item a {
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.video-sidebar .category-list .category-item a:hover {
    color: var(--wood-primary) !important;
    transform: translateX(-5px);
}

.recent-video-item .video-thumb {
    position: relative;
}

.recent-video-item .video-thumb .badge {
    font-size: 0.6rem;
    padding: 0.1rem 0.3rem;
}

/* استایل‌های پیشگیرانه برای رفع overflow */
img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

.table-responsive {
    overflow-x: auto;
}

section,
.container,
.row {
    overflow: hidden;
}
.text-on-green{
    color: #c6b36c !important;
}

.text-color{
    color: #154744;
}

/* ==================== MEDIA QUERIES ==================== */

/* موبایل کوچک (max-width: 575.98px) */
@media (max-width: 575.98px) {
    body {
        overflow-x: clip;
    }

    .container {
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }

    .col-1,
    .col-2,
    .col-3,
    .col-4,
    .col-5,
    .col-6,
    .col-7,
    .col-8,
    .col-9,
    .col-10,
    .col-11,
    .col-12,
    .col,
    .col-auto,
    .col-sm-1,
    .col-sm-2,
    .col-sm-3,
    .col-sm-4,
    .col-sm-5,
    .col-sm-6,
    .col-sm-7,
    .col-sm-8,
    .col-sm-9,
    .col-sm-10,
    .col-sm-11,
    .col-sm-12,
    .col-md-1,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9,
    .col-md-10,
    .col-md-11,
    .col-md-12,
    .col-lg-1,
    .col-lg-2,
    .col-lg-3,
    .col-lg-4,
    .col-lg-5,
    .col-lg-6,
    .col-lg-7,
    .col-lg-8,
    .col-lg-9,
    .col-lg-10,
    .col-lg-11,
    .col-lg-12,
    .col-xl-1,
    .col-xl-2,
    .col-xl-3,
    .col-xl-4,
    .col-xl-5,
    .col-xl-6,
    .col-xl-7,
    .col-xl-8,
    .col-xl-9,
    .col-xl-10,
    .col-xl-11,
    .col-xl-12 {
        padding-left: 6px;
        padding-right: 6px;
    }

    /* تستیمونیال */
    .testimonial-card {
        padding: 0.5rem !important;
        min-height: auto;
        border: 2px solid #f1d563;
    }

    .testimonial-text {
        font-size: 1rem !important;
        padding: 0 8px;
    }

    .author-avatar img {
        width: 70px !important;
        height: 70px !important;
    }

    #testimonialsCarousel .carousel-indicators {
        bottom: -50px;
    }

    .testimonial-content {
        /* margin-top: 1.5rem; */
    }

    /* بلاگ */
    .blog-card {
        margin-bottom: 2rem;
    }

    .blog-image {
        height: 200px !important;
    }

    .blog-content {
        padding: 1.5rem !important;
    }

    .btn-grad {
        padding: 0.75rem 2rem !important;
        font-size: 1rem;
    }

    .blog-scroll-item {
        flex: 0 0 85%;
        min-width: 260px;
        max-width: 300px;
        margin: 0 0.25rem;
    }

    .blog-scroll-container {
        gap: 0.75rem;
        padding: 0 0.75rem;
    }

    .blog-scroll-viewport {
        margin: 0 0.5rem;
        padding: 0.75rem 0;
    }

    .blog-meta {
        flex-direction: column-reverse !important;
    }

    /* ویدیو */
    .video-scroll-item {
        flex: 0 0 85%;
        min-width: 260px;
        max-width: 300px;
    }

    .video-image {
        height: 160px !important;
    }

    .video-content {
        padding: 0.75rem !important;
    }

    /* صفحه بلاگ */
    .blog-categories-filter .d-flex {
        justify-content: flex-start !important;
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .single-post-content .post-meta {
        flex-direction: column;
        gap: 1rem !important;
    }

    .share-buttons {
        flex-wrap: wrap;
    }

    /* ویدیو آرشیو */
    .video-categories-filter .d-flex {
        justify-content: flex-start !important;
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .video-sidebar {
        margin-bottom: 2rem;
    }

    /* الگوی بکگراند */
    .bg-pattern {
        background-position: top 20% center;
        background-size: 1000%;
    }

    /* دسته‌بندی باکس */
    .category-box {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}

/* تبلت (min-width: 768px) and (max-width: 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {

    /* تستیمونیال */
    .testimonial-card {
        min-height: 280px;
    }

    .author-avatar img {
        width: 100px !important;
        height: 100px !important;
    }

    /* بلاگ */
    .blog-image {
        height: 220px !important;
    }

    .blog-scroll-item {
        flex: 0 0 60%;
        min-width: 320px;
        max-width: 380px;
        margin: 0 0.75rem;
    }

    .blog-scroll-container {
        gap: 1.5rem;
        padding: 0 1.5rem;
    }

    .blog-scroll-viewport {
        margin: 0 1rem;
        padding: 1rem 0;
    }

    /* ویدیو */
    .video-scroll-item {
        flex: 0 0 60%;
        min-width: 320px;
        max-width: 380px;
    }

    .video-image {
        height: 200px !important;
    }

    /* الگوی بکگراند */
    .bg-pattern {
        background-position: top 20% center;
        background-size: 150%;
    }

    /* دسته‌بندی باکس */
    .category-box {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* دسکتاپ (min-width: 1025px) */
@media (min-width: 1025px) {

    .video-scroll-viewport,
    .video-scroll-container,
    .blog-scroll-viewport,
    .blog-scroll-container,
    .projects-scroll-viewport,
    .projects-scroll-container {
        display: none;
    }

    .d-none.d-lg-flex {
        display: flex !important;
    }

    /* دسته‌بندی باکس */
    .category-box {
        grid-template-columns: repeat(8, 1fr);
    }
}

/* دسکتاپ بزرگ (min-width: 1200px) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* دسکتاپ خیلی بزرگ (min-width: 1440px) */
@media (min-width: 1440px) {
    .bg-pattern {
        background-position: top 20% center;
        background-size: 150%;
    }
}