/*
Theme Name:مظفریه
Theme URI: https://mozaffariehonline.ir/
Author: توسعه‌دهنده قالب
Author URI: https://tabnakweb.ir/
Description: قالب مدرن، ریسپانسیو و راست‌چین برای وبسایت خبری فوتبال با امکانات اسلایدر ویدیویی، تب‌های دسته‌بندی و نمایش اخبار به صورت گرید و لیستی.
Version: 1.0.9
License: GPL v2 or later
Text Domain: mozaffariehonline
Domain Path: /languages
Tags: news, rtl-language-support, right-sidebar, custom-menu, featured-images, footer-widgets, threaded-comments, translation-ready
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --page-bg: #f7f8f9;
    --section-bg: #ffffff;
    --primary-color: #1792a1;
    --primary-hover: #dd1a1a;
    --accent-color: #e7b92f;
    --border-light: #eef0f2;
    --text-primary: #1f2a3e;
    --text-secondary: #5a6874;
    --shadow-sm: 0 4px 8px rgba(0, 0, 0, 0.04);
    --radius-md: 8px;
    --radius-lg: 12px;
    --header-height: 64px;
    --transition: all 0.25s ease-in-out;
    --footer-bg: #1a2533;
    --footer-text: #adb7c4;
    --sidebar-title: #042743;
     --text-white: #FFF;
}






/* ===== فونت پلک (Pelak) ===== */
@font-face {
  font-family: 'Pelak';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url('assets/fonts/pelak/woff2/Pelak-Thin.woff2') format('woff2'),
       url('assets/fonts/pelak/woff/Pelak-Thin.woff') format('woff');
}
@font-face {
  font-family: 'Pelak';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/pelak/woff2/Pelak-light.woff2') format('woff2'),
       url('assets/fonts/pelak/woff/Pelak-light.woff') format('woff');
}
@font-face {
  font-family: 'Pelak';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/pelak/woff2/Pelak-Medium.woff2') format('woff2'),
       url('assets/fonts/pelak/woff/Pelak-Medium.woff') format('woff');
}
@font-face {
  font-family: 'Pelak';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/pelak/woff2/Pelak-SemiBold.woff2') format('woff2'),
       url('assets/fonts/pelak/woff/Pelak-SemiBold.woff') format('woff');
}
@font-face {
  font-family: 'Pelak';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/pelak/woff2/Pelak-ExtraBold.woff2') format('woff2'),
       url('assets/fonts/pelak/woff/Pelak-ExtraBold.woff') format('woff');
}
@font-face {
  font-family: 'Pelak';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('assets/fonts/pelak/woff2/Pelak-Black.woff2') format('woff2'),
       url('assets/fonts/pelak/woff/Pelak-Black.woff') format('woff');
}
@font-face {
  font-family: 'Pelak';
  font-style: normal;
  font-weight: bold;
  font-display: swap;
  src: url('assets/fonts/pelak/woff2/Pelak-Bold.woff2') format('woff2'),
       url('assets/fonts/pelak/woff/Pelak-Bold.woff') format('woff');
}
@font-face {
  font-family: 'Pelak';
  font-style: normal;
  font-weight: normal;
  font-display: swap;
  src: url('assets/fonts/pelak/woff2/Pelak-Regular.woff2') format('woff2'),
       url('assets/fonts/pelak/woff/Pelak-Regular.woff') format('woff');
}





@font-face {
    font-family: 'VazirMatn';
    src: url('assets/fonts/VazirMatn/Vazirmatn-Thin.woff2') format('woff2');
    font-weight: 100;
    font-display: swap;
}

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

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

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

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

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

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

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

@font-face {
    font-family: 'VazirMatn';
    src: url('assets/fonts/VazirMatn/Vazirmatn-Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}
@charset "UTF-8";

@font-face {
  font-family: 'daythemes-icon';
  src:  url('assets/fonts/daythemes-icon.eot?g6zqpe');
  src:  url('assets/fonts/daythemes-icon.eot?g6zqpe#iefix') format('embedded-opentype'),
    url('assets/fonts/daythemes-icon.ttf?g6zqpe') format('truetype'),
    url('assets/fonts/daythemes-icon.woff?g6zqpe') format('woff'),
    url('assets/fonts/daythemes-icon.svg?g6zqpe#daythemes-icon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="day-"], [class*=" day-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'daythemes-icon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}





body {
    background-color: var(--section-bg);
    font-family:  'VazirMatn', 'Tahoma', 'Helvetica Neue', sans-serif;
    color: var(--text-primary);
    line-height: 1.5;
    direction: rtl;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}
/* کانتینر یکپارچه برای تمام بخش‌ها */
.container {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}


/* ========== HEADER ========== */
.header {
    background: var(--accent-color, #eb840b);
    position: sticky;
    top: 0;
    z-index: 100;
    position: relative; /* اضافه کن تا شبه‌المان نسبت به هدر محاسبه بشه */

}
/* ========== نوار زرد بالای هدر ========== */
.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--primary-color);
    z-index: 101;
}
.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header-start {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    color: var(--text-primary);
}

.menu-toggle-btn:hover {
    background-color: #f0f2f5;
        color: var(--text-primary);

}

.menu-icon {
    font-size: 26px;
    line-height: 1;
    font-weight: 400;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    border-radius: 20px;
    margin-bottom: 10px;
}

.logo-img {
    height: 72px;
    width: auto;
    display: block;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}




/* ========== منوی هدر (بعد از لوگو) ========== */
.header-nav {
    margin-right: 20px; /* فاصله از لوگو در حالت RTL */
}

.header-menu-list {
    list-style: none;
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.header-menu-list li {
    position: relative;
}

.header-menu-list a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.header-menu-list a:hover {
    color: var(--primary-color);
}

/* برای زیرمنوها (اختیاری، اگر depth > 1 نیاز دارید) */
.header-menu-list li > ul {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 180px;
    z-index: 200;
}

.header-menu-list li:hover > ul {
    display: block;
}

.header-menu-list li > ul li {
    display: block;
}

.header-menu-list li > ul a {
    display: block;
    padding: 8px 16px;
    color: var(--text-primary);
}

.header-menu-list li > ul a:hover {
    background-color: #f0f2f5;
}
/* ========== استایل زیرمنوهای کشویی ========== */
/* آیتم‌هایی که زیرمنو دارند */
.header-menu-list li {
    position: relative;
}

/* زیرمنوی سطح اول */
.header-menu-list li > ul {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 999;
    border: 1px solid var(--border-light, #eef0f2);
}

/* نمایش زیرمنو در هاور */
.header-menu-list li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* آیتم‌های داخل زیرمنو */
.header-menu-list li > ul li {
    display: block;
    margin: 0;
    padding: 0;
}

/* لینک‌های زیرمنو */
.header-menu-list li > ul li a {
    display: block;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary, #1f2a3e);
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.header-menu-list li > ul li a:hover {
    background: #f0f2f5;
    color: var(--primary-color, #026abc);
    padding-right: 24px; /* حرکت به راست در RTL */
}

/* زیرمنوهای سطح دوم (سه سطحی) */
.header-menu-list li > ul li > ul {
    top: 0;
    right: 100%;
    transform: translateX(10px);
}

.header-menu-list li > ul li:hover > ul {
    transform: translateX(0);
}

/* مثلث کوچک برای آیتم‌هایی که زیرمنو دارند (اختیاری) */
.header-menu-list li.menu-item-has-children > a::after {
    content: "▼";
    font-size: 10px;
    margin-right: 6px;
    display: inline-block;
    transition: transform 0.2s;
}

.header-menu-list li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* واکنش‌گرایی موبایل: منوی کشویی در موبایل به کل صفحه تبدیل شود (اختیاری) */
@media (max-width: 768px) {
    .header-menu-list li > ul {
        position: static;
        box-shadow: none;
        background: #f8f9fc;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        border-radius: 0;
        padding-right: 20px;
    }
    .header-menu-list li:hover > ul {
        display: block;
    }
    .header-menu-list li > ul li a {
        white-space: normal;
    }
    .header-menu-list li.menu-item-has-children > a::after {
        float: left;
        transform: rotate(0deg);
    }
}



/* ========== نمایش/مخفی بر اساس اندازه صفحه ========== */

/* منوی افقی هدر – فقط در دسکتاپ نمایش داده بشه */
.header-nav {
    display: none;                /* پیش‌فرض مخفی (موبایل) */
}

/* دکمه همبرگری – فقط در دسکتاپ مخفی بشه */
.menu-toggle-btn {
    display: flex;               /* همون حالت پیش‌فرض */
}

/* نمایش برای صفحات بزرگتر از 768px (دسکتاپ) */
@media (min-width: 769px) {
    .header-nav {
        display: block;           /* منوی افقی نمایش داده بشه */
    }
    .menu-toggle-btn {
        display: none !important; /* دکمه همبرگری کاملاً مخفی */
    }
}



.search-input {
    background-color: #f8f9fc;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    width: 240px;
    outline: none;
    transition: var(--transition);
    font-family: inherit;
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    background-color: white;
}







/* ========== دکمه جستجو در هدر ========== */
.search-toggle-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    color: var(--text-primary);
}

.search-toggle-btn:hover {
    color: var(--primary-color);
}

.search-toggle-btn span {
    font-family: 'daythemes-icon' !important;
    font-size: 30px;
}

/* ========== Overlay جستجو ========== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;      /* وسط عمودی */
    justify-content: center;  /* وسط افقی */
    /* padding-top: 15vh;  ← حذف شود */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* دکمه بستن */
.search-close-btn {
    position: fixed;
    top: 20px;
    left: 20px;              /* گوشهٔ بالا-چپ */
    right: auto;             /* غیرفعال کردن right قبلی */
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
    z-index: 10;             /* اطمینان از قرارگیری روی overlay */
}

.search-close-btn:hover {
    background: rgba(255,255,255,0.2);
}

.search-close-btn span {
    font-family: 'daythemes-icon' !important;
}

/* فرم جستجو */
.search-overlay-form {
    display: flex;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.search-overlay-input {
    flex: 1;
    padding: 16px 20px;
    font-size: 16px;
    border: none;
    outline: none;
    font-family: inherit;
    direction: rtl;
}

.search-overlay-submit {
    background: var(--primary-color);
    border: none;
    padding: 0 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    color: #000;
}

.search-overlay-submit:hover {
    background: var(--primary-hover);
}

.search-overlay-submit span {
    font-family: 'daythemes-icon' !important;
    font-size: 22px;
    color: #000;
}

/* ریسپانسیو */
@media (max-width: 480px) {
    .search-overlay-content {
        width: 95%;
    }
    .search-overlay-input {
        padding: 14px 16px;
    }
    .search-close-btn {
        top: -45px;
    }
}






/* ========== نوار شبکه‌های اجتماعی بالای هدر ========== */
.top-social-bar {
  /*   background-color: #fff;  */
}

.top-social-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: 6px;
    padding-bottom: 6px;
}

/* تاریخ (سمت چپ) */
/* تاریخ (سمت چپ) */
.top-social-date {
    flex-shrink: 0;
    color: #767879;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    margin-right: auto;                /* چسباندن به چپ (در RTL معادل flex-end) */
}

/* آیکون‌ها (سمت راست) */
.top-social-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #767879;
    text-decoration: none;
    transition: color 0.2s, background-color 0.2s;
    font-size: 20px;
}

.social-icon-link:hover {
    color: #000;
}

.social-icon-link span {
    font-family: 'daythemes-icon' !important;
    line-height: 1;
}

/* ریسپانسیو موبایل */
@media (max-width: 768px) {
    .top-social-container {
        justify-content: center;
        flex-wrap: wrap;               /* اجازهٔ شکستن خط */
        gap: 8px;
        padding: 6px 16px;
    }
    .top-social-date {
        order: 2;                      /* تاریخ را در موبایل زیر آیکون‌ها بفرست */
        width: 100%;
        text-align: center;
        font-size: 12px;
        margin-left: 0;
    }
    .top-social-icons {
        order: 1;
        justify-content: center;
    }
    .social-icon-link {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
}






/* ========== News Ticker (below header) ========== */
.news-ticker {
background-color:#0a1950;
padding: 0 20px;
    position: relative;
    z-index: 99;
}
.ticker-container {
    display: flex;
    align-items: center;
    height: 48px;
    position: relative;
}
.ticker-content {
    flex: 1;
    position: relative;
    height: 100%;
    overflow: hidden;
}
.ticker-link {
    position: absolute;
    top: 0;
    right: 0;                     /* RTL: text starts from right */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.4s ease, transform 0.4s ease;
    padding: 0 0 0 20px;      /* space for close button on left */
    white-space: nowrap;
}
.ticker-link.active {
    opacity: 1;
    transform: translateY(0);
}
.ticker-icon {
    font-family: 'daythemes-icon' !important;
    font-size: 16px;
    margin-left: 8px;             /* gap in RTL: icon to the right of text? Actually text is right-to-left, icon should be before the text i.e. to its right. So margin-left creates gap after icon. */
    line-height: 1;
    flex-shrink: 0;
}
/* دکمه بستن */
.ticker-close {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 21px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
    flex-shrink: 0;
    margin-left: 10px;            /* فاصله از لبه چپ */
}
.ticker-close:hover {
}










/* ========== MAIN LAYOUT ========== */
.main-layout {
    display: grid;
    grid-template-columns: 20fr 9fr;
    gap: 28px;
    flex: 1;
    padding-top: 28px;
    padding-bottom: 28px;
}

.content-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.sidebar-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* باکس‌های عمومی */
.box {
    background: var(--section-bg);
    padding: 16px;
    transition: var(--transition);
}

.box-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-light);
    color: var(--sidebar-title);
}

.category-list {
    list-style: none;
}

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

.category-list a {
    text-decoration: none;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    font-size: 14px;
}

.category-list a:hover {
    color: var(--primary-color);
    padding-right: 4px;
}

.filter-tag {
    display: inline-block;
    background: #f0f2f5;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 13px;
    margin: 0 4px 8px 0;
    cursor: default;
}














/* ========== Hero 3-Column – Full Width, No Shadow, No Movement, Title Hover ========== */
.hero-3col {
    grid-column: 1 / -1;                /* تمام عرض */
  /*  margin-bottom: 28px;*/
    box-shadow: none !important;        /* حذف سایه */
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* 50٪ - 25٪ - 25٪ */
    gap: 20px;
}

.hero-card {
    display: flex;
    text-decoration: none;
    color: inherit;
    transition: none;                   /* بدون انیمیشن */
    border-radius: var(--radius-md);
    overflow: hidden;
}

.hero-card:hover {
    transform: none;                    /* تکان نخورد */
    box-shadow: none;                   /* سایه اضافه نشود */
}

/* کارت بزرگ */
.hero-card-large {
    flex-direction: column;
}

/* کارت کوچک */
.hero-card-small {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 8px;
}

/* تصاویر - همه با border-radius 4px */
.hero-image {
    overflow: hidden;
    border-radius: 4px;
}

.hero-image-large {
    width: 100%;
    aspect-ratio: 640 / 365;
    margin-bottom: 12px;
}

.hero-image-small {
    width: 120px;
    height: 70px;
    flex-shrink: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

/* عناوین */
.hero-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 8px;
    transition: color 0.2s ease;       /* انیمیشن تنها برای تغییر رنگ */
}

.hero-title-small {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0;
    flex: 1;
    transition: color 0.2s ease;
}

/* تغییر رنگ عنوان در هاور */
.hero-card:hover .hero-title,
.hero-card:hover .hero-title-small {
    color: var(--primary-color);
}

/* خلاصه خبر */
.hero-summary {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ریسپانسیو */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-card-small {
        flex-direction: row;
        padding: 8px 0;
    }
    .hero-image-small {
        width: 100px;
        height: 60px;
    }
}


/* ستون کوچک hero – تبدیل به flex-عمودی */
.hero-col-small {
    display: flex;
    flex-direction: column;
    gap: 12px; /* فاصله بین کارت‌ها */
}

/* اختیاری: حذف padding اضافی پیش‌فرض کارت‌های کوچک */
.hero-card-small {
    padding: 0; /* در صورت نیاز */
    margin: 0;
}

/* برای واکنش‌گرایی بهتر در موبایل */
@media (max-width: 900px) {
    .hero-col-small {
        flex-direction: row; /* در موبایل می‌توانید افقی شود یا همان عمودی بماند */
        flex-wrap: wrap;
    }
}

/* ========== بخش ۴ ستونه صفحه اول ========== */
/* ========== بخش ۴ ستونه صفحه اول ========== */
.four-col-news-section {
    padding: 24px 16px;
    margin-bottom: 28px;
}

.four-col-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.four-col-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* عنوان ستون (لینک) */
.col-title-link {
    text-decoration: none;
    color: var(--sidebar-title);
    transition: color 0.2s;
    font-size: inherit;
    font-weight: inherit;
}
.col-title-link:hover {
    color: var(--primary-color);
}

/* لیست اخبار */
.col-news-list {
    display: flex;
    flex-direction: column;
}

/* خبر اول با تصویر */
.col-news-first {
    margin-bottom: 16px;
}

/* اصلاح نگه‌دارنده تصویر برای حفظ نسبت ثابت ۱۶:۹ */
.col-first-img {
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 10px;
    width: 100%;
    aspect-ratio: 16 / 9; /* تنظیم نسبت تصویر استاندارد برای همسان‌سازی ارتفاع */
}

/* اصلاح تصویر برای پر کردن فضا بدون دفرمه شدن */
.col-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;    /* برش تصاویر بزرگ‌تر بدون از دست رفتن کیفیت و کشیدگی */
    display: block;
    border-radius: var(--radius-md);
}

.col-first-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.col-first-title a {
    text-decoration: none;
    color: var(--text-primary);
    transition: color 0.2s;
}

.col-first-title a:hover {
    color: var(--primary-color);
}

/* خبرهای متنی */
.col-news-text-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}

.col-news-text-item:last-child {
    border-bottom: none;
}

.col-news-text-item a {
    display: block;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    transition: color 0.2s;
}

.col-news-text-item a:hover {
    color: var(--primary-color);
    padding-right: 4px;
}

.col-news-text-item.empty {
    visibility: hidden;
    border-bottom: none;
}

/* واکنش‌گرایی */
@media (max-width: 1100px) {
    .four-col-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .four-col-grid {
        grid-template-columns: 1fr;
    }
}


/* ========== بخش ویدیو با پس‌زمینه تاریک (۵۰/۵۰ – ساید ۴ ویدیو) ========== */
.video-highlight-dark {
    background-color: #15172a;
    color: #ffffff;
}

.video-highlight-grid {
    display: flex;
    gap: 20px;
    align-items: stretch;
    direction: rtl;
    margin-top: 20px;
}

/* ---------- ستون اصلی (۵۰٪) ---------- */
.video-highlight-main {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 16 / 9;
}

.video-highlight-main .video-highlight-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-decoration: none;
    display: block;
}

/* ---------- ستون کناری (۵۰٪) – گرید ۲x۲ ---------- */
.video-highlight-side {
    flex: 0 0 50%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.video-highlight-side .video-highlight-card-vertical {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    text-decoration: none;
    display: block;
    aspect-ratio: 16 / 9;      /* همه کارت‌ها نسبت یکسان */
    background: #000;
}

/* ---------- تصویر داخل کارت‌ها ---------- */
.video-highlight-card .vh-card-img,
.video-highlight-card-vertical .vh-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* ---------- دکمه پخش (مطابق با ویدیوهای کوتاه) ---------- */
.video-highlight-card .video-play-icon,
.video-highlight-card-vertical .video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: var(--primary-color, #026abc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.3s ease;
    pointer-events: none;   /* کلیک از آیکون به لینک منتقل شود */
}

.video-highlight-card .video-play-icon span,
.video-highlight-card-vertical .video-play-icon span {
    font-family: 'daythemes-icon' !important;
    font-size: 24px;
    color: #fff;
    display: block;
    line-height: 1;
}

.video-highlight-card:hover .video-play-icon,
.video-highlight-card-vertical:hover .video-play-icon {
    background: var(--accent-color, #eb840b);
}

/* ---------- عنوان روی تصویر ---------- */
.video-highlight-card .title-overlay,
.video-highlight-card-vertical .title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 16px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
    z-index: 2;
    text-align: right;
}

.video-highlight-card-vertical .title-overlay {
    font-size: 14px;
    padding: 14px 12px 10px;
}

/* ---------- ریسپانسیو ---------- */
@media (max-width: 768px) {
    .video-highlight-grid {
        flex-direction: column;
    }
    .video-highlight-main,
    .video-highlight-side {
        flex: 1 1 auto;
    }
    .video-highlight-side {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .video-highlight-side {
        gap: 12px;
    }
    .video-highlight-card-vertical .title-overlay {
        font-size: 12px;
        padding: 8px 8px 6px;
    }
    .video-highlight-card .video-play-icon,
    .video-highlight-card-vertical .video-play-icon {
        width: 40px;
        height: 40px;
    }
    .video-highlight-card .video-play-icon span,
    .video-highlight-card-vertical .video-play-icon span {
        font-size: 20px;
    }
}

/* ========== بخش پرونده‌های ویژه (تصاویر مربعی با عنوان روی آن) ========== */
.special-cases-section {
    padding: 24px 0;
}

.special-cases-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* ۶ ستون مساوی در دسکتاپ */
    gap: 20px;                              /* فاصله بین آیتم‌ها */
    margin-top: 24px;
}

/* واکنش‌گرایی: در تبلت به ۳ ستون */
@media (max-width: 1024px) {
    .special-cases-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* واکنش‌گرایی: در موبایل به ۲ ستون */
@media (max-width: 600px) {
    .special-cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.special-case-item {
    display: block;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.special-case-item:hover {
    transform: translateY(-1px);
}

.special-case-image {
    position: relative;
    width: 100%;
    padding-top: 100%; /* نسبت ۱:۱ برای مربع */
    background-color: #e9ecef;
}

.special-case-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* عنوان روی تصویر */
.case-title-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 12px 8px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}






/* ========== بخش یادداشت‌ها (تصاویر دایره‌ای + سیاه‌وسفید) ========== */
.notes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 32px;
    margin-top: 24px;
}

.note-card {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    background: transparent;
    border-radius: var(--radius-md);
    padding: 8px;
    transition: background-color 0.3s ease;
}


/* کانتینر تصویر برای دایره کامل */
.note-image-wrapper {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border-light);
    transition: border-color 0.3s ease;
}

.note-card:hover .note-image-wrapper {
    border-color: var(--primary-color);
}

.note-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.4s ease;
}

/* افکت سیاه‌وسفید پیش‌فرض */
.grayscale-img {
    filter: grayscale(100%) brightness(0.9);
}

/* حذف افکت سیاه‌وسفید در هاور کارت */
.note-card:hover .grayscale-img {
    filter: grayscale(0%) brightness(1);
}

/* محتوای کنار تصویر (روتیتر + عنوان) */
.note-content {
    flex: 1;
    min-width: 0;
    text-align: right;
}

.note-subtitle {
    font-size: 12px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 4px;
    line-height: 1.5;
}

.note-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
    margin: 0;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.note-card:hover .note-title {
    color: var(--primary-color);
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .notes-grid {
        grid-template-columns: 1fr;   /* یک ستونه در موبایل */
        gap: 20px;
    }

    .note-image-wrapper {
        width: 70px;
        height: 70px;
    }

    .note-title {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .note-card {
        gap: 12px;
    }

    .note-image-wrapper {
        width: 60px;
        height: 60px;
    }

    .note-title {
        font-size: 13px;
    }

    .note-subtitle {
        font-size: 11px;
    }
}

/* ---------- بخش تک ستونه (بدون حرکت و سایه در هاور) ---------- */
.single-col-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.single-col-item {
    background: #fff;
    border-radius: var(--radius-md);
    transition: var(--transition);
    overflow: hidden;
}

/* حذف هرگونه حرکت و سایه */
.single-col-item:hover {
    /* هیچ تغییری اعمال نمی‌شود */
    box-shadow: none;
    transform: none;
}

.single-col-link {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    padding: 12px;
}

/* تصویر 260×180 با border-radius 4px */
.single-col-image {
    flex-shrink: 0;
    width: 336px;
    height: 190px;
    border-radius: 4px;
    overflow: hidden;
    background-color: #e9ecef;
}

.sc-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

/* متن‌ها در سمت چپ (RTL) */
.single-col-text {
    flex: 1;
    text-align: right;
}

.sc-subtitle {
    font-size: 12px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.sc-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* تغییر رنگ عنوان در هاور (اختیاری، بدون حرکت) */
.single-col-link:hover .sc-title {
    color: var(--primary-color);
}

.sc-summary {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .single-col-link {
        flex-direction: column;
        align-items: stretch;
    }
    .single-col-image {
        width: 100%;
        height: auto;
        aspect-ratio: 260 / 180;
    }
    .sc-title {
        font-size: 16px;
    }
    .sc-summary {
        font-size: 13px;
    }
}

/* ========== استایل گالری وردپرس ========== */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 1.5em 0;
    list-style: none;
    padding: 0;
}

.gallery-item {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.gallery-icon {
    width: 100%;
}

.gallery-icon img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.gallery-caption {
    font-size: 13px;
    color: #666;
    text-align: center;
    margin-top: 8px;
}

/* تعداد ستون‌ها بر اساس کلاس gallery-columns-* */
.gallery-columns-1 .gallery-item { width: 100%; }
.gallery-columns-2 .gallery-item { width: calc(50% - 8px); }  /* gap 16px -> 8px نصف */
.gallery-columns-3 .gallery-item { width: calc(33.333% - 10.666px); }
.gallery-columns-4 .gallery-item { width: calc(25% - 12px); }
.gallery-columns-5 .gallery-item { width: calc(20% - 12.8px); }
.gallery-columns-6 .gallery-item { width: calc(16.666% - 13.333px); }
.gallery-columns-7 .gallery-item { width: calc(14.285% - 13.714px); }
.gallery-columns-8 .gallery-item { width: calc(12.5% - 14px); }
.gallery-columns-9 .gallery-item { width: calc(11.111% - 14.222px); }

/* واکنش‌گرایی برای موبایل */
@media (max-width: 768px) {
    .gallery-columns-3 .gallery-item,
    .gallery-columns-4 .gallery-item,
    .gallery-columns-5 .gallery-item,
    .gallery-columns-6 .gallery-item,
    .gallery-columns-7 .gallery-item,
    .gallery-columns-8 .gallery-item,
    .gallery-columns-9 .gallery-item {
        width: calc(50% - 8px);
    }
}

@media (max-width: 480px) {
    .gallery-item {
        width: 100% !important;
    }
}

/* ==========================================================================
   بخش اختصاصی آرشیو گالری تصاویر (Gallery Archive CSS)
   ========================================================================== */

/* ساختار گرید پربازدیدترین‌ها */
.popular-gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* ساختار نامتقارن و جذاب */
    gap: 20px;
    align-items: stretch;
}

.popular-main {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg, 12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.popular-main-link,
.popular-side-item {
    display: block;
    text-decoration: none;
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg, 12px);
}

.popular-main-img,
.popular-side-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* افکت زوم ملایم تصویر هنگام هاور */
.popular-main-link:hover .popular-main-img,
.popular-side-item:hover .popular-side-img {
    transform: scale(1.05);
}

/* لایه سایه و گرادیانت خوانایی متن عناوین */
.popular-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 50px 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
    transition: padding-bottom 0.3s ease;
    border-radius: 0 0 12px 12px;
}

.popular-title-overlay-small {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 35px 15px 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 70%, transparent 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    transition: padding-bottom 0.3s ease;
    border-radius: 0 0 12px 12px;
}

.popular-main-link:hover .popular-title-overlay {
    padding-bottom: 25px;
}
.popular-side-item:hover .popular-title-overlay-small {
    padding-bottom: 20px;
}

/* گرید ۲در۲ تصاویر کوچک جانبی */
.popular-side {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
    height: 100%;
}

/* آیکون عکس شناور و افکت تپش ملایم */
.popular-gallery-grid .video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 54px;
    height: 54px;
    background: rgba(2, 106, 188, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.popular-side-item .video-play-icon {
    width: 44px;
    height: 44px;
}

.popular-main-link:hover .video-play-icon,
.popular-side-item:hover .video-play-icon {
    background: var(--accent-color, #eb840b);
    transform: translate(-50%, -50%) scale(1.1);
}

/* گرید اصلی تمام تصاویر آرشیو پایینی */
.gallery-archive-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.gallery-archive-item {
    display: block;
    text-decoration: none;
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-archive-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.gallery-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3; /* نسبت کادر مربعی-مستطیلی استاندارد عکس */
    background-color: #f1f3f5;
    overflow: hidden;
}

.gallery-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-archive-item:hover .gallery-card-image img {
    transform: scale(1.06);
}

.gallery-card-title {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 16px 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    transition: background 0.3s ease;
}

.gallery-archive-item:hover .gallery-card-title {
    background: linear-gradient(transparent, rgba(2, 106, 188, 0.95)); /* تغییر گرادیانت به رنگ هویت در هاور */
}

/* ==========================================
   بخش واکنش‌گرایی گالری تصاویر (Responsive)
   ========================================== */
@media (max-width: 1024px) {
    .popular-gallery-grid {
        grid-template-columns: 1fr; /* تغییر گرید به یک ستون در تبلت */
        gap: 15px;
    }
    .gallery-archive-grid {
        grid-template-columns: repeat(3, 1fr); /* ۳ ستونه شدن گرید پایینی */
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .popular-side {
        gap: 10px;
    }
    .gallery-archive-grid {
        grid-template-columns: repeat(2, 1fr); /* ۲ ستونه شدن در موبایل */
        gap: 16px;
    }
    .popular-title-overlay {
        font-size: 15px;
        padding: 30px 12px 12px;
    }
    .popular-title-overlay-small {
        font-size: 11px;
        padding: 20px 8px 8px;
    }
}

@media (max-width: 480px) {
    .popular-side {
        grid-template-columns: 1fr; /* تصاویر کوچک در موبایل‌های بسیار کوچک زیر هم بروند */
        grid-template-rows: auto;
    }
    .gallery-archive-grid {
        grid-template-columns: 1fr; /* گالری پایینی تک ستونه می‌شود */
        gap: 15px;
    }
    .gallery-card-title {
        font-size: 13px;
    }
}

/* ========== TAB BOX جدیدترین‌ها ========== */
/* ========== TAB BOX جدیدترین‌ها ========== */
.latest-tabs-box {
    background: var(--section-bg);
    border-radius: var(--radius-lg);
    padding: 16px;
}

.tabs-header {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 18px;
    flex-wrap: nowrap;           /* جلوگیری از شکستن خط */
    overflow-x: auto;            /* اسکرول افقی */
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; /* اسکرول روان در iOS */
    scrollbar-width: none;       /* مخفی‌کردن اسکرول‌بار در Firefox */
    -ms-overflow-style: none;    /* مخفی‌کردن اسکرول‌بار در IE/Edge */
    padding-bottom: 4px;         /* کمی فاصله برای اسکرول بهتر */
}
.tabs-header::-webkit-scrollbar {
    display: none;               /* مخفی‌کردن اسکرول‌بار در Chrome/Safari */
}

.tab-btn {
    background: none;
    border: none;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 30px;
    font-family: inherit;
    flex-shrink: 0;             /* جلوگیری از کوچک‌شدن دکمه‌ها */
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.tab-btn:hover:not(.active) {
    background-color: #f0f2f5;
    color: var(--primary-color);
}


.tab-content {
    display: none;
    flex-direction: column;
    gap: 14px;
}

.tab-content.active-content {
    display: flex;
}

.latest-news-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: background-color 0.2s ease;
    border-radius: var(--radius-md);
    padding: 4px;
}

.latest-news-item:hover {
    background-color: #f8f9fc;
}

.latest-news-img {
    flex-shrink: 0;
    width: 106px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
    background-color: #e9ecef;
}

.latest-news-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.45;
    text-align: right;
    flex: 1;
}
.latest-news-title:hover {
    color: var(--primary-color);
}


/* ========== باکس پربازدیدترین هفته ========== */
.popular-weekly-box {
    margin-bottom: 24px;
}

.popular-weekly-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: popular-counter; /* استفاده نمی‌کنیم چون شماره سفارشی داریم، اما برای حفظ ساختار */
}

.popular-weekly-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 8px;
    border-bottom: 1px solid var(--border-light, #eef0f2);
    transition: background 0.2s;
}

.popular-weekly-list li:last-child {
    border-bottom: none;
}

.popular-weekly-list li:hover {
    background-color: #f8f9fc;
}

.popular-weekly-list li a {
    flex: 1;
    text-decoration: none;
    color: var(--text-primary, #1f2a3e);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-align: right;
    transition: color 0.2s;
}

.popular-weekly-list li a:hover {
    color: var(--primary-color, #026abc);
}

.rank-num {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #e9ecef;
    color: #495057;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    transition: all 0.2s;
}

/* رنگ‌بندی برای سه شماره اول */
.popular-weekly-list li:nth-child(1) .rank-num {
    background: var(--accent-color);;
    color: #000;
    box-shadow: 0 2px 8px rgba(255,193,7,0.3);
}
.popular-weekly-list li:nth-child(2) .rank-num {
    background: #adb5bd;
    color: #fff;
    box-shadow: 0 2px 8px rgba(173,181,189,0.3);
}
.popular-weekly-list li:nth-child(3) .rank-num {
    background: #cd7f32;
    color: #fff;
    box-shadow: 0 2px 8px rgba(205,127,50,0.3);
}

/* متن در صورت نبودن مطلب */
.popular-weekly-list li.no-posts {
    color: #888;
    font-size: 13px;
}
/* ========== اسلایدر ویدیویی ========== */
.video-section-box {
    background: var(--section-bg);
    border-radius: var(--radius-lg);
    padding: 20px;
    overflow: visible;
}



/* ردیف کامل هدر (عنوان + لینک بیشتر) */
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

/* بخش داخلی عنوان (آیکون + متن) */
.section-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* لینک بیشتر در هدر (حذف حاشیه و padding پیش‌فرض) */
.more-link-header {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}






.section-header-lg {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.v-bar-lg {
    width: 6px;
    height: 24px;
    background-color: var(--primary-color);
    border-radius: 4px;
}

.section-header-lg h2 {
    font-size: 20px;
    font-weight: 800;
    color: #444;
    text-transform: uppercase;
    letter-spacing: -0.5px;
        color: var(--sidebar-title);

}

.video-slider-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.video-scroll-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 10px 5px;
}

.video-scroll-container::-webkit-scrollbar {
    display: none;
}

.video-card {
    flex: 0 0 200px;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

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

.video-thumb {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px 15px;
}

.video-title {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-align: right;
}
/* آیکون پخش ویدیو */
.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background:var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.3s ease;
    pointer-events: none; /* کلیک از طریق آیکون به کارت منتقل شود */
}

.video-play-icon span {
    font-family: 'daythemes-icon' !important;
    font-size: 24px;
    color: #fff;
        color: #fff;
    display: block;
    line-height: 1;
}

.video-card:hover .video-play-icon {
    background: var(--accent-color);
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-primary);
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    border:none;
}

.slider-btn.show {
    opacity: 1;
    visibility: visible;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-next {
    left: -32px;
}
.btn-prev {
    right: -32px;
}

.slider-btn {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.slider-btn.show {
    opacity: 1;
    visibility: visible;
}


/* ========== اسلایدر افقی اخبار ========== */
.horizontal-news-box {
    background: var(--section-bg);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.horizontal-slider-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.hn-scroll-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 10px 5px;
}

.hn-scroll-container::-webkit-scrollbar {
    display: none;
}

.hn-card {
    flex: 0 0 208px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.hn-card {
    cursor: pointer;
}

.hn-image {
    width: 208px;
    height: 117px;
    overflow: hidden;
    border-radius: var(--radius-md);
    background-color: #e9ecef;
}

.hn-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hn-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--sidebar-title);
    text-align: right;
    margin: 12px 8px 8px 8px;
    line-height: 1.4;
}
.hn-title:hover {
    color: var(--primary-color);
}
/* دکمه‌های اسلایدر (هماهنگ با بخش ویدیویی) */
.horizontal-slider-wrapper .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-primary);
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    border: none;
}

.horizontal-slider-wrapper .slider-btn.show {
    opacity: 1;
    visibility: visible;
}

.horizontal-slider-wrapper .slider-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.hn-btn-prev {
    right: -32px;
}
.hn-btn-next {
    left: -32px;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .hn-card {
        flex: 0 0 160px;
    }
    .hn-image {
        width: 160px;
        height: 90px;
    }
    .hn-title {
        font-size: 12px;
    }
    .hn-btn-prev {
        right: -10px;
    }
    .hn-btn-next {
        left: -10px;
    }
}
@media (max-width: 480px) {
    .hn-card {
        flex: 0 0 140px;
    }
    .hn-image {
        width: 140px;
        height: 78px;
    }
}

/* جلوگیری از دو حاشیه / باکس تکراری برای ویجت اسلایدر */
.widget .horizontal-news-box {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
}






/* ========== بخش جدید: گالری تصاویر + مصاحبه‌ها ========== */
.image-interview-section {
    padding: 40px 0;
    border-radius: 0;          /* ← درخواست شما */
}

.ii-grid {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

/* ستون گالری (60%) */
.ii-gallery-col {
    flex: 0 0 60%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* تصویر بزرگ */
.ii-gallery-large {
    position: relative;
    width: 100%;
    border-radius: 4px;        /* ← درخواست شما */
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.ii-img-large {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 4px;        /* ← درخواست شما */
}

.ii-card-large,
.ii-card-small {
    position: relative;
    display: block;
    text-decoration: none;
}

/* آیکون تصویر (به جای آیکون پلی) */
.ii-play-icon,
.ii-play-icon-small {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    background: var(--primary-color, #026abc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.3s;
    pointer-events: none;
}

.ii-play-icon span,
.ii-play-icon-small span {
    font-family: 'daythemes-icon' !important;
    font-size: 26px;
    color: #fff;
}

/* استفاده از آیکون تصویر day-imagestw1 */
.ii-play-icon span::before,
.ii-play-icon-small span::before {
    content: "\e91c";   /* کد day-imagestw1 */
}

.ii-card-large:hover .ii-play-icon,
.ii-card-small:hover .ii-play-icon-small {
    background: var(--accent-color, #eb840b);
}

/* عنوان روی تصاویر */
.ii-overlay-title,
.ii-overlay-title-small {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-align: right;
    z-index: 2;
}

.ii-overlay-title-small {
    font-size: 14px;
    padding: 12px;
}

/* سه تصویر کوچک در زیر */
.ii-gallery-small-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ii-gallery-small-item {
    position: relative;
    border-radius: 4px;        /* ← درخواست شما */
    overflow: hidden;
    
}

.ii-img-small {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border-radius: 4px;        /* ← درخواست شما */
}

/* ستون مصاحبه‌ها (40%) */
.ii-interviews-col {
    flex: 0 0 40%;
    border-radius: 4px;        /* ← درخواست شما */
    padding: 20px;
    backdrop-filter: blur(2px);
}

.ii-interviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.ii-interview-item {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
    padding: 8px;
    border-radius: 4px;        /* ← درخواست شما */
}

.ii-interview-item:hover {
    background: #f5f9ff;
}

.ii-interview-avatar {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
}

.ii-circular-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.ii-interview-content {
    flex: 1;
}

.ii-interview-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.4;
}

.ii-interview-excerpt {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* واکنش‌گرایی */
@media (max-width: 992px) {
    .ii-grid {
        flex-direction: column;
    }
    .ii-gallery-col,
    .ii-interviews-col {
        flex: 1 1 auto;
    }
    .ii-gallery-small-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 768px) {
    .ii-gallery-small-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
@media (max-width: 576px) {
    .ii-gallery-small-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .ii-play-icon,
    .ii-play-icon-small {
        width: 40px;
        height: 40px;
    }
    .ii-play-icon span,
    .ii-play-icon-small span {
        font-size: 20px;
    }
    .ii-overlay-title,
    .ii-overlay-title-small {
        font-size: 12px;
        padding: 8px;
    }
    .ii-interview-avatar {
        width: 55px;
        height: 55px;
    }
    .ii-interview-title {
        font-size: 14px;
    }
}











/* ========== لینک مشاهده بیشتر در باکس‌ها ========== */
.more-link-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}
.more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    background: none;
}
.more-link:hover {
    color: var(--primary-color);
    gap: 10px;
}
.more-link span {
    font-family: 'daythemes-icon' !important;
    font-size: 14px;
    line-height: 1;
}












/* ========== صفحه تک نوشته (Single) ========== */
.single-post-container .single-post {
    padding: 25px;
}

.single-featured-image {
    margin-bottom: 25px;
    text-align: center;
}
.single-featured-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.post-categories {
    margin-bottom: 12px;
}
.post-categories a {
    display: inline-block;
    background: var(--primary-color);
   color: var(--text-white);
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 30px;
    text-decoration: none;
    margin-left: 6px;
}
.post-categories a:hover {
    background: var(--primary-hover);
}

.single-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
}
 .single-title:hover {
    color: var(--primary-color);
}


.single-title a {
    text-decoration: none;
    color: inherit; /* رنگ والد (تیره) را بگیرد */
    transition: color 0.2s;
}
.single-title a:hover {
    color: var(--primary-color);
}

/* ========== روتیتر و چکیده سفارشی در صفحه تک نوشته ========== */
.single-subtitle {
    font-size: 16px;
    font-weight: 500;
   
    margin-top: -10px;
    margin-bottom: 20px;
    line-height: 1.5;
    padding-right: 8px;
  
}

.single-summary-box {
    background: #f8f9fc;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* آیکون خبر مهم (آتش قرمز) */
.important-fire-icon {
    font-family: 'daythemes-icon' !important;
    font-size: 24px;
    color: #e74c3c;
    margin-right: 8px;
    vertical-align: middle;
    display: inline-block;
}


/* ریسپانسیو */
@media (max-width: 768px) {
    .single-subtitle {
        font-size: 14px;
    }
    .single-summary-box {
        padding: 12px;
        font-size: 13px;
    }
    .important-fire-icon {
        font-size: 20px;
    }
}
.post-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 25px;
    font-size: 14px;
    color: var(--text-secondary);
}
.post-meta a {
    color: var(--text-secondary);
    text-decoration: none;
}
.post-meta a:hover {
    color: var(--primary-color);
}

.single-content {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
}
.single-content p {
    margin-bottom: 1.5em;
}
.single-content h2, .single-content h3, .single-content h4 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}
.single-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}
.single-content ul, .single-content ol {
    margin-right: 2em;
    margin-bottom: 1.5em;
}
.single-content blockquote {
    border-right: 4px solid var(--primary-color);
    background: #f8f9fc;
    padding: 15px 20px;
    margin: 20px 0;
    font-style: italic;
}

.page-links {
    margin: 30px 0;
    text-align: center;
}
.page-links a, .page-links span {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 3px;
    background: var(--border-light);
    border-radius: 30px;
    text-decoration: none;
}
.page-links .current {
    background: var(--primary-color);
    color: #fff;
}





.post-tags {
    margin: 30px 0 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}
.tags-label {
    font-weight: bold;
    margin-left: 10px;
}
.post-tags a {
    display: inline-block;
    background: #f0f2f5;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 13px;
    text-decoration: none;
    margin: 0 4px 8px 0;
    color: var(--text-secondary);
}
.post-tags a:hover {
    background: var(--primary-color);
    color: #fff;
}





/* ========== بخش نویسندگان یادداشت ========== */
.note-authors-section {
    margin: 30px 0 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.note-authors-label {
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-primary);
    font-size: 15px;
}
.note-authors-label span {
    font-family: 'daythemes-icon' !important;
    font-size: 18px;
}

.note-authors-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.note-author-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 100px;
}

.note-author-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-light);
    transition: border-color 0.3s;
}
.note-author-card:hover .note-author-img {
    border-color: var(--primary-color);
}

.note-author-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

.note-author-socials {
    display: flex;
    gap: 8px;
}
.note-author-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f0f2f5;
    color: #555;
    text-decoration: none;
    transition: all 0.2s;
}
.note-author-socials a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}
.note-author-socials a span {
    font-family: 'daythemes-icon' !important;
    font-size: 16px;
}







/* استایل پرونده‌ها (case) – مشابه برچسب */
.post-cases .cases-list {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.case-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f0f2f5;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 13px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: background 0.3s, color 0.3s;
}

.case-tag:hover {
    background: var(--primary-color);
    color: #fff;
}

.case-icon {
    width: 18px;
    height: 18px;
    object-fit: cover;
    border-radius: 50%;
}





/* ========== بخش اشتراک‌گذاری و لینک کوتاه (فشرده) ========== */
.social-share-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 30px 0 10px 0;
}
.share-inline-item {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
/* ورودی لینک کوتاه */
.shortlink-input {
    width: 160px;
    padding: 6px 10px;
    border: 1px solid var(--border-light);
    border-radius: 30px;
    font-size: 13px;
    background: #f8f9fc;
    direction: ltr;
    font-family: inherit;
}
/* دکمه کپی */
.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--primary-color);
   color: var(--text-primary);
    border: none;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    white-space: nowrap;
    font-family: inherit;
}
.copy-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}
.copy-btn span {
    font-family: 'daythemes-icon' !important;
    font-size: 16px;
}
/* دکمه‌های اشتراک (فقط آیکون) */
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f2f5;
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.3s, color 0.3s, transform 0.2s;
    font-size: 18px;
}
.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    color: #fff;
}
.share-btn span {
    font-family: 'daythemes-icon' !important;
    line-height: 1;
}
/* رنگ‌های هاور */
.share-btn.telegram:hover { background: #0088cc; }
.share-btn.whatsapp:hover { background: #25D366; }
.share-btn.instagram:hover { background: #E4405F; }
.share-btn.bale:hover { background: #2ecc71; }
.share-btn.eitaa:hover { background: #f39c12; }
.share-btn.soroush:hover { background: #9b59b6; }
.share-btn.twitter:hover { background: #000; }
.share-btn.facebook:hover { background: #1877F2; }
.share-btn.linkedin:hover { background: #0A66C2; }

/* مخفی‌کردن متن دکمه‌ها (در صورت وجود) */
.btn-text {
    display: none;
}

/* ریسپانسیو: در صفحه‌های خیلی کوچک ورودی لینک به‌تنهایی یک خط بگیرد */
@media (max-width: 480px) {
    .social-share-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    .share-inline-item {
        justify-content: center;
    }
    .shortlink-input {
        width: 100%;
    }
}




/* اخبار مرتبط */
/* اخبار مرتبط - دو ستونه با عکس در راست و عنوان در چپ (RTL) */
.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.related-item {
    display: flex;
    flex-direction: row;        /* چیدمان افقی */
    align-items: center;
    gap: 12px;
    text-decoration: none;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    padding: 8px;
}

/* در حالت RTL، عکس در سمت راست و عنوان در سمت چپ قرار می‌گیرد */
.related-item img {
    width: 100px;               /* عرض ثابت برای تصویر */
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    order: 2;                   /* عکس را به سمت راست می‌برد (در RTL) */
}

.related-item h4 {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: right;
    margin: 0;
    order: 1;                   /* عنوان در سمت چپ قرار می‌گیرد */
}

.related-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    background-color: #f8f9fc;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: 1fr;  /* در موبایل یک ستونه */
    }
    .related-item img {
        width: 80px;
        height: 56px;
    }
}

/* نظرات */
/* ========== نظرات (دیدگاه‌ها) ========== */
.comments_title {
    background: #27404a;
    border-radius: 4px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.comments_title h5 {
    color: #fff;
    margin: 0;
    font-size: 1.1rem;
    font-weight: bold;
}
.comment-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    align-items: center;
    margin-right: auto;
}
.comments_title span {
    background: rgba(255, 255, 255, 0.85);
    color: #27404a;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}
.comments ul {
    border-bottom: 1px dashed #f2f2f2;
    padding: 10px 5px;
    margin-bottom: 10px;
    text-align: right;
}
.comments li {
    color: #aaa;
}
.comments li:before {
    content: "";
    background-color: #aaa;
    height: 4px;
    width: 4px;
    float: right;
    margin: 10px 5px 0;
}


/* ========== استایل قوانین نظرات ========== */
.comment-guidelines {
    list-style: none;
    margin: 20px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment-guidelines li {
    position: relative;
    padding: 14px 5px 14px 18px;   /* افزایش padding-right برای فضای آیکون */
    background: #f0f4fa;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.7;
    border-right: 4px solid var(--primary-color, #0066cc);
    transition: all 0.25s ease;
}



.comment-guidelines li:hover {
    background: #e6eef8;
    border-right-color: var(--primary-hover, #d5df1f);
}



.comment-form {
    padding: 5px 10px;
}
.comment-respond {
    border-bottom: 1px dashed #F2F2F2;
    margin-bottom: 9px;
    display: inline-block;
    width: 100%;
    padding-bottom: 8px;
}
.comment-form .right {
    height: 76px;
    float: right;
}
.comment-form input, .comment-form textarea, .wpcf7-form input, .wpcf7-form textarea {
    width: 100%;
    background: #f2f2f2;
    padding: 2px 0;
    text-indent: 9px;
    margin-bottom: 10px;
    color: #777;
    border: 2px solid #e5e5e5; /* Added for consistency */
}
input#wp-comment-cookies-consent {
    float: right;
    width: 5%;
}
.comment-form input:hover, .comment-form textarea:hover {
    background: #f7f7f7
}
.wpcf7-form input {
    width: auto;
}
.wpcf7-form label, .wpcf7-form {
    width: 100%;
    display: inline-block;
    padding-bottom: 8px;
}
.comment-form textarea, .wpcf7-form textarea {
    resize: none;
    margin: 15px 0 0;
    height: 70px;
}
/* ========== اصلاح دکمه‌های فرم نظرات ========== */
.comment-form button,
.form-submit #submit,
.wpcf7-form .wpcf7-form-control.wpcf7-submit {
    float: left;
    padding: 8px 18px;
    color: #fff;
    cursor: pointer;
    margin-right: 5px;
    margin-top: 7px;
    border-radius: 6px;                 /* کمی نرم‌تر */
    border: none;                       /* 🚫 حذف حاشیه */
    outline: none;                      /* 🚫 حذف خط دور هنگام فوکوس */
    font-family: 'Pelak', 'Tahoma', 'Helvetica Neue', sans-serif;
    font-size: 14px;
    font-weight: 500;
    background: var(--accent-color);;
    transition: background 0.2s;
}

.comment-form button:hover,
.form-submit #submit:hover {
    background: #b71c1c;
}

/* دکمه پاک کردن */
.comment-form button.blackey {
    background: #444;
    color: #fff;
    border: none;
    outline: none;
    font-family: 'Pelak', 'Tahoma', 'Helvetica Neue', sans-serif;
}

.comment-form button.blackey:hover {
    background: #222;
}
.form-submit #submit {
    border: 0;
}
.comments p.form-submit {
    display: none;
}
.comment {
    background: #FFF;
    padding: 5px;
    margin-bottom: 5px;
    border: 1px solid #e5e5e5;
}
.comment .content {
    text-align: initial;
    padding: 5px 5px 0 !important;
    color: #777 !important;
}
.vcard {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 33px;
    padding: 5px;
    background: #c8dae1;
    border-radius: 4px;
}
.cm-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    float: none;
    height: auto;
    background: none;
    padding: 0;
    margin: 0;
}
.vcard .fn, .vcard .fn a {
    float: none;
    color: #ffffff;
    font-size: 0.7rem;
    background: #27404a;
    padding: 1px 10px;
    border-radius: 4px;
    font-style: normal;
}
.bypostauthor .fn:after {
    content: "مدیریت سایت";
    color: #FFF;
    margin: 5px 5px 5px 0;
    padding: 0 5px 3px;
    background: var(--accent-color);;
}
.vcard .says {
    float: none;
    color: #999;
    line-height: 1.5;
}
.vcard .reply {
    float: left; /* Kept for positioning */
    margin: 0;
}
.comment-reply-title a {
    padding: 4px 6px;
    color: #888;
    float: left;
    background: #d60707;
    border-radius: 4px;
}
.vcard .reply a {
    padding: 2px 0 0 10px;
    color: #888;
    float: left;
    font-size: 12px;
}
.vcard .reply a:hover {
    background: #d60707;
    color: #fff;
    padding: 0 10px;
    border-radius: 4px;
}
.comment-reply-title a:before {
    content: "x";
    margin: 0 0 0 5px;
}
.comment-awaiting-moderation {
    float: left;
    opacity: 0.8;
    font-size: .8em;
}
.comment-body {
    margin: 5px 0;
    border-bottom: 3px dashed #F2F2F2;
}
.comments .depth-2, .comments .depth-3, .comments .depth-4, .comments .depth-5, .comments .depth-6, .comments .depth-7, .comments .depth-8, .comments .depth-9, .comments .depth-10 {
    background: #fff;
    margin: 5px;
}
.depth-2 .vcard, .depth-3 .vcard, .depth-4 .vcard, .depth-5 .vcard, .depth-6 .vcard, .depth-7 .vcard, .depth-8 .vcard, .depth-9 .vcard, .depth-10 .vcard {
    background: #f7f7f7;
}
.comments .navigation {
    display: inline-block;
    width: 100%;
}
.comments .navigation a {
    color: #FFF;
    float: right;
    padding: 4px 10px;
    background: rgba(35, 35, 35, 0.5);
    margin: 2px 0 5px;
}
.comments .navigation a:hover {
    background: var(--accent-color);;
}
.comments .navigation a:last-child {
    float: left;
}
.cm_like {
    float: left;
    margin: 10px;
}
.cm_like .ldc-ul_cont span {
    float: right;
    font-size: 11px;
    line-height: 15px;
    margin-left: 5px;
}
.cm_like .c_like, .cm_like .c_dislike {
    cursor: pointer;
    color: #666;
    float: left;
}
.cm_like .c_dislike {
    margin-left: 10px;
}
.cm_like .c_like i {
    color: #44be1f
}
.cm_like .c_dislike i {
    color: var(--accent-color);
}




/* تنظیم آیکون‌های بخش post-meta و tags و navigation */
.post-meta span[class^="day-"],
.tags-label span[class^="day-"],
.post-navigation span[class^="day-"],
.box-title span[class^="day-"] {
    font-family: 'daythemes-icon' !important;
    font-size: 14px;
    margin-left: 5px;
    display: inline-block;
    vertical-align: middle;
}

.post-navigation span[class^="day-"] {
    font-size: 12px;
}

.tags-label span[class^="day-"] {
    font-size: 14px;
}

/* اطمینان از فاصله آیکون با متن */
.post-date, .post-author, .post-comments {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}



/* ========== Shorts ========== */
.single-shorts .shorts-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.shorts-duration {
    background: #cfd8dc;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}
.shorts-video-wrapper {
    width: 100%;
    max-width: 600px; /* به سبک ویدیوهای عمودی محدود کنیم */
    margin: 0 auto 20px auto;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}
.shorts-video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}
.shorts-content {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}
.shorts-featured-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}


/* ========== صفحه همه پرونده‌ها ========== */
.all-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 24px 0;
}

.all-cases-item {
    display: block;
    text-decoration: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.2s ease;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.all-cases-item:hover {
    transform: translateY(-4px);
}

.case-card-image {
    position: relative;
    width: 100%;
    padding-top: 100%; /* مربع */
    background-color: #e9ecef;
}

.case-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.case-card-title {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 12px 8px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* واکنش‌گرایی */
@media (max-width: 1024px) {
    .all-cases-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 600px) {
    .all-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ========== صفحه همه پرونده‌ها ========== */
.all-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 24px 0;
}

.all-cases-item {
    display: block;
    text-decoration: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.2s ease;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.all-cases-item:hover {
    transform: translateY(-4px);
}

.case-card-image {
    position: relative;
    width: 100%;
    padding-top: 100%; /* مربع */
    background-color: #e9ecef;
}

.case-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.case-card-title {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 12px 8px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* واکنش‌گرایی */
@media (max-width: 1024px) {
    .all-cases-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 600px) {
    .all-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========== هدر صفحه پرونده (Case Header) ========== */
.case-header {
    margin-bottom: 28px;
}

.case-header-inner {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

/* تصویر پرونده - مربعی با عرض ثابت */
.case-header-image {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: #e9ecef;
}

.case-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* متن کنار تصویر */
.case-header-text {
    flex: 1;
    text-align: right;
}

.case-term-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.case-term-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* واکنش‌گرایی موبایل */
@media (max-width: 600px) {
    .case-header-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .case-header-image {
        width: 160px;
        height: 160px;
    }
    .case-header-text {
        text-align: center;
    }
    .case-term-title {
        font-size: 20px;
    }
}

/* ========== پروفایل نویسنده در آرشیو ========== */
.note-author-profile {
    margin-bottom: 28px;
    padding: 24px;
}
.note-author-profile-inner {
    display: flex;
    align-items: center;
    gap: 24px;
}
.note-author-profile-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border-light);
}
.note-author-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.note-author-profile-name {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 12px 0;
    color: var(--text-primary);
}
.note-author-profile-description {
    font-size: 14px;
    color: #5a6874;
    line-height: 1.8;
    margin-bottom: 15px;
}
.note-author-profile-socials {
    display: flex;
    gap: 12px;
}
.note-author-profile-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f2f5;
    color: #555;
    text-decoration: none;
    transition: all 0.25s;
}
.note-author-profile-socials a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}
.note-author-profile-socials a span {
    font-family: 'daythemes-icon' !important;
    font-size: 20px;
}

/* واکنش‌گرایی */
@media (max-width: 600px) {
    .note-author-profile-inner {
        flex-direction: column;
        text-align: center;
    }
    .note-author-profile-image {
        width: 100px;
        height: 100px;
    }
    .note-author-profile-name {
        font-size: 20px;
    }
}








/* ========== استایل صفحه آرشیو (لیست با خلاصه مطلب) ========== */
.archive-list-box {
    padding: 20px;
}

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

.archive-list-item {
    background: #fff;
    border-radius: var(--radius-md);
    /* border حذف شده */
}

.archive-list-item:hover {
   
    /* border-color حذف شد */
}

.archive-item-link {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    padding: 12px;
}

/* تصویر در سمت راست (RTL) - بزرگتر */
.archive-item-img {
    flex-shrink: 0;
    width: 280px;        /* افزایش عرض */
    height: 160px;        /* ارتفاع متناسب با سایز news-row-thumb */
    border-radius: 6px;
    overflow: hidden;
    background-color: #e9ecef;
}

.archive-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* ===== آیکون فرمت پست روی تصویر (آرشیو) ===== */
.archive-item-img {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.post-format-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(2px);
    border-radius: 30px;
    padding: 4px 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    font-size: 16px;
    color: #fff;
    transition: all 0.2s ease;
}

.post-format-icon span {
    font-family: 'daythemes-icon' !important;
    font-size: 16px;
    line-height: 1;
}

/* تغییر سایز در موبایل */
@media (max-width: 576px) {
    .post-format-icon {
        top: 4px;
        right: 4px;
        padding: 3px 6px;
        font-size: 12px;
    }
    .post-format-icon span {
        font-size: 12px;
    }
}
/* متن شامل عنوان و خلاصه */
.archive-item-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
/* ========== استایل روتیتر و نشان «خبر مهم» در آرشیو ========== */
.archive-item-subtitle {
    font-size: 12px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 4px;
    line-height: 1.4;
    text-align: right;
}

.archive-item-title {
    position: relative; /* برای جای‌دهی نشان مهم */
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    text-align: right;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.important-badge {
    display: inline-block;
    background: #e74c3c; /* قرمز */
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    line-height: 1.5;
    white-space: nowrap;
    margin: 0;
}

/* اگر روتیتر وجود داشته باشد، کمی فاصله از عنوان اصلی تنظیم شود */
.archive-item-subtitle + .archive-item-title {
    margin-top: 0;
}

/* تنظیم برای موبایل */
@media (max-width: 576px) {
    .archive-item-subtitle {
        font-size: 11px;
    }
    .archive-item-title {
        font-size: 14px;
    }
    .important-badge {
        font-size: 10px;
        padding: 1px 6px;
    }
    .archive-item-img {
        width: 140px;   /* نصف ابعاد اصلی */
        height: 80px;
    }
}
.archive-item-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    text-align: right;
}

.archive-item-excerpt {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    text-align: right;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 576px) {
    .archive-item-img {
        width: 100px;
        height: 56px;
    }
    .archive-item-title {
        font-size: 14px;
    }
    .archive-item-excerpt {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }
    .archive-item-link {
        gap: 12px;
        padding: 8px;
    }
}

/* ==========================================
   آرشیو ویدیوهای کوتاه – تمام عرض، ۶ ستونه
   ========================================== */
.shorts-archive-container {
    padding-top: 32px;
    padding-bottom: 40px;
}

/* ردیف دکمه‌های دسته‌بندی */
.shorts-categories-row {
    margin-bottom: 32px;
}
.shorts-categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}
/* دکمه‌های فیلتر در آرشیو ویدیوهای کوتاه */
/* ========== دکمه‌های فیلتر شورتز ========== */
.shorts-filter-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #f0f2f5;
    color: #444;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
}
.shorts-filter-btn:hover {
    background: #e0e3e9;
    color: #222;
}

.shorts-filter-btn.active,
.shorts-filter-btn.active:hover {
    background: var(--primary-color, #026abc) !important;
    color: #fff !important;
}

/* گرید کارت‌ها */
.shorts-archive-grid {
    display: grid;
    gap: 24px;
    margin-bottom: 40px;
}

/* === ستون‌بندی واکنش‌گرا === */
/* دسکتاپ بزرگ: ۶ ستون */
@media (min-width: 1200px) {
    .shorts-archive-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}
/* لپ‌تاپ / تبلت بزرگ: ۴ ستون */
@media (max-width: 1199px) {
    .shorts-archive-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
/* تبلت: ۳ ستون */
@media (max-width: 992px) {
    .shorts-archive-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* موبایل: ۲ ستون */
@media (max-width: 600px) {
    .shorts-archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* کارت ویدیو در آرشیو */
.shorts-archive-grid .video-card {
    display: block;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    cursor: pointer;
    /* بازنشانی flex که مختص اسلایدر بود */
    flex: none;
    width: 100%;
}
.shorts-archive-grid .video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

/* تصویر */
.shorts-archive-grid .video-thumb {
    width: 100%;
    height: 320px;                /* ارتفاع عمودی مانند اسلایدر */
    object-fit: cover;
    display: block;
}

/* آیکون پلی */
.shorts-archive-grid .video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    background: var(--primary-color, #026abc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.3s;
    pointer-events: none;
}
.shorts-archive-grid .video-play-icon span {
    font-family: 'daythemes-icon' !important;
    font-size: 26px;
    color: #fff;
    line-height: 1;
}
.shorts-archive-grid .video-card:hover .video-play-icon {
    background: var(--accent-color, #eb840b);
}

/* لایه عنوان روی تصویر */
.shorts-archive-grid .video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55%;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    z-index: 2;
}
.shorts-archive-grid .video-title {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
}

/* صفحه‌بندی آرشیو */
.shorts-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}
.shorts-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: 8px;
    background: #f8f9fc;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid #eef0f2;
    transition: all 0.2s;
}
.shorts-pagination .page-numbers.current {
    background: var(--primary-color, #026abc);
    color: #fff;
    border-color: var(--primary-color);
}
.shorts-pagination .page-numbers:hover:not(.current) {
    background: #e0e3e9;
}

/* واکنش‌گرایی کارت‌ها */
@media (max-width: 600px) {
    .shorts-archive-grid .video-thumb {
        height: 240px;
    }
    .shorts-archive-grid .video-title {
        font-size: 14px;
    }
    .shorts-archive-grid .video-play-icon {
        width: 44px;
        height: 44px;
    }
    .shorts-archive-grid .video-play-icon span {
        font-size: 22px;
    }
}

/* ========== برگه‌ها ========== */
.page-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-featured-image {
    margin-bottom: 20px;
    text-align: center;
}
.page-featured-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

.page-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
}
.page-body p {
    margin-bottom: 1.5em;
}
.page-body h2, .page-body h3, .page-body h4 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}
.page-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}
.page-body ul, .page-body ol {
    margin-right: 2em;
    margin-bottom: 1.5em;
}
.page-body blockquote {
    border-right: 4px solid var(--primary-color);
    background: #f8f9fc;
    padding: 15px 20px;
    margin: 20px 0;
    font-style: italic;
}






/* ========== صفحه‌بندی (Pagination) ========== */
.pagination-wrapper {
    margin-top: 28px;
    text-align: center;
    direction: rtl;
}

.pagination {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    background: var(--section-bg);
    padding: 10px 16px;
    border-radius: var(--radius-lg);
}

.page-number {
    display: inline-block;
}

.page-number a,
.page-number span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    background: #f8f9fc;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

/* صفحه جاری (current page) */
.page-number span.current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    cursor: default;
}

/* دکمه‌های قبلی و بعدی */
.page-number a {
    background: #ffffff;
}

.page-number a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* نقاط (...) */
.page-number span.dots {
    background: transparent;
    border: none;
    cursor: default;
    color: var(--text-secondary);
}

/* حالت موبایل */
@media (max-width: 768px) {
    .pagination {
        gap: 6px;
        padding: 8px 12px;
    }
    .page-number a,
    .page-number span {
        min-width: 34px;
        height: 34px;
        font-size: 13px;
        padding: 0 6px;
    }
}

@media (max-width: 480px) {
    .page-number a,
    .page-number span {
        min-width: 30px;
        height: 30px;
        font-size: 12px;
    }
    .pagination {
        gap: 4px;
    }
}










/* ========== بخش هفته‌نامه – کارت‌های جلد مجله ========== */
.weekly-magazine-section {
    padding: 24px 0;
}

.weekly-magazine-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    margin-top: 28px;
}

/* کارت هر نشریه */
.weekly-magazine-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
    padding: 10px;
}

.weekly-magazine-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-color: #d0d5dd;
}

/* کادر تصویر (جلد) – نسبت ۵:۸ */
.weekly-magazine-cover {
    position: relative;
    width: 100%;
    padding-bottom: 160%;       /* 320/200 = 1.6 → 160% */
    overflow: hidden;
    border-radius: 8px;
    background-color: #e9ecef;
}

.weekly-magazine-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* بخش پایین کارت (عنوان) */
.weekly-magazine-info {
    padding: 12px 4px 8px;
    text-align: center;
}

.weekly-magazine-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.weekly-magazine-item:hover .weekly-magazine-title {
    color: var(--primary-color);
}

/* ===== واکنش‌گرایی ===== */
@media (max-width: 1024px) {
    .weekly-magazine-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .weekly-magazine-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .weekly-magazine-title {
        font-size: 13px;
    }

    .weekly-magazine-item {
        padding: 8px;
    }
}





/* ========== فوتر ========== */



/* ========== نوار پیش‌فوتر (Pre-footer Bar) ========== */
.pre-footer-bar {
    background-color: #3c4b6d;
    min-height: 100px;
    display: flex;
    align-items: center;
}

.pre-footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 24px;
    padding-bottom: 24px;
    gap: 24px;
}

/* برند: لوگو + شعار */
.pre-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.pre-footer-logo-link {
    display: inline-block;
    text-decoration: none;
}

.pre-footer-logo-img {
    height: 80px; /* مقدار قبلی 40px بود که برای بزرگ‌تر شدن افزایش داده شد */
    width: auto;
    display: block;
    filter: brightness(0) invert(1); /* سفید کردن لوگو روی پس‌زمینه تیره */
}

.pre-footer-tagline {
    color: #c8d1de;
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
}

/* شبکه‌های اجتماعی */
.pre-footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.pre-footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.pre-footer-social-icon span {
    font-family: 'daythemes-icon' !important;
    font-size: 40px;
    line-height: 1;
    color: #ffffff;
    transition: color 0.3s ease;
}

/* هاور آیکون‌ها */
.pre-footer-social-icon:hover {
    transform: translateY(-3px);
}

.pre-footer-social-icon:hover span {
    color:var(--accent-color); /* رنگ طلایی در هاور */
}

/* ریسپانسیو: در موبایل زیر هم بیایند */
@media (max-width: 768px) {
    .pre-footer-container {
        flex-direction: column;
        text-align: center;
    }

    .pre-footer-brand {
        align-items: center;
    }

    .pre-footer-social {
        justify-content: center;
    }

    .pre-footer-social-icon span {
        font-size: 32px;
    }
}






.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 48px 0 24px;   /* حاشیه افقی حذف، از container می‌آید */
    font-size: 14px;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-col h4 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}



.footer-links a:hover {
    color: white;
    padding-right: 4px;
}



/* تنظیم آیکون‌های اطلاعات تماس در فوتر */
.footer-links li {
    display: flex;
    align-items: center;
    gap: 8px;  /* فاصله بین آیکون و متن */
    margin-bottom: 12px;
}

.footer-links li span:first-child {
    font-family: 'daythemes-icon' !important;
    font-size: 18px;
    width: 28px;
    text-align: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-text {
    flex: 1;
    color: var(--footer-text);
}

/* ========== بخش مجوزها در فوتر ========== */
.footer-licenses-wrapper {
    margin-top: 15px;
}

.footer-licenses-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 16px;
    border-radius: var(--radius-lg, 12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-licenses-container .license-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 8px;
    border-radius: var(--radius-md, 8px);
    width: 86px;
    height: 86px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.footer-licenses-container .license-item img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
}

.footer-licenses-container .license-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* استایل اختصاصی برای آی‌دی زرین‌پال */
.footer-licenses-container #zarinpal {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
}

.footer-licenses-container #zarinpal img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

/* افکت هاور نمادها */
.footer-licenses-container .license-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    background: #ffffff;
    border-color: var(--primary-color, #026abc);
}

/* بهینه‌سازی در ابعاد موبایل */
@media (max-width: 768px) {
    .footer-licenses-container {
        justify-content: center;
        padding: 12px;
    }
    .footer-licenses-container .license-item {
        width: 76px;
        height: 76px;
        padding: 6px;
    }
}


/* آیکون‌های شبکه‌های اجتماعی در فوتر */

/* ========== ردیف پایینی فوتر ========== */
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #8e9aab;
}

.footer-copyright {
    text-align: right;
}

.footer-credit {
    text-align: left;
}

.footer-credit a {
    color: var(--primary-color, #026abc);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-credit a:hover {
    color: var(--primary-hover, #d5df1f);
}

/* ریسپانسیو: در صفحات خیلی کوچک، زیر هم بیایند */
@media (max-width: 600px) {
    .footer-bottom-row {
        flex-direction: column;
        text-align: center;
    }
    .footer-copyright,
    .footer-credit {
        text-align: center;
    }
}
/* ========== DRAWER MENU (منوی کناری) ========== */
/* ========== DRAWER MENU (منوی کناری) ========== */
.drawer-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s, opacity 0.2s ease;
}
.drawer-overlay.active {
    visibility: visible;
    opacity: 1;
}
.drawer-menu {
    position: fixed;
    top: 0;
    left: auto;
    right: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background-color: var(--section-bg);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: flex;
    flex-direction: column;
    padding: 20px 0;
}
.drawer-overlay.active .drawer-menu {
    transform: translateX(0);
}
.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 16px 20px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 16px;
}
.drawer-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary); /* اطمینان از رنگ مناسب */
}
.close-drawer {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
}

/* لوگو در هدر منوی کشویی */
.drawer-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
}
.drawer-logo-link .custom-logo {
    max-height: 36px;
    width: auto;
    display: block;
}
.drawer-logo-img {
    height: 36px;
    width: auto;
    display: block;
}






.nav-list {
    list-style: none;
    padding: 0 12px;
    margin: 0;
}
.nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    margin: 4px 0;
    border-radius: 12px;
    transition: var(--transition);
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary); /* رنگ متن تیره */
}
.nav-item:hover {
    background-color: #f0f2f5;
}
/* آیکون فونتی */
.nav-icon {
    font-size: 20px;
    width: 28px;
    text-align: center;
    color: inherit; /* همرنگ متن */
}
/* لینک‌های منو - حذف رنگ آبی */
.nav-item a {
    text-decoration: none;
    color: inherit; /* از رنگ پدر (nav-item) استفاده کن */
    display: inline-block;
    transition: var(--transition);
}
.nav-item:hover a {
    color: var(--primary-color); /* در هاور رنگ اولیه شود (اختیاری) */
}
/* اطمینان از استفاده از فونت آیکون در نوار منو */
.nav-icon {
    font-family: 'daythemes-icon' !important;
    font-size: 20px;
    width: 28px;
    text-align: center;
    color: inherit; /* هماهنگ با رنگ متن منو */
}

/* در حالت هاور می‌توانید رنگ آیکون را نیز تغییر دهید */
.nav-item:hover .nav-icon {
    color: var(--primary-color);
}
/* ========== ریسپانسیو ========== */
@media (max-width: 1100px) {
    .strip-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
      .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .strip-grid { grid-template-columns: repeat(2, 1fr); }
    .double-grid { grid-template-columns: 1fr; }
    .featured-inner { flex-direction: column; }
    .featured-image { width: 100%; height: auto; aspect-ratio: 388/225; }
    .main-layout { grid-template-columns: 1fr; }
    .sidebar-left { order: 2; }
    .content-main { order: 1; }
    .tabs-header { justify-content: center; }
}
@media (max-width: 480px) {
    .search-input { width: 120px; }
    .news-row-img { width: 80px; height: 45px; }
}
.no-scroll { overflow: hidden; }













/* ========== دکمه اسکرول به بالا ========== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
        color: var(--text-white);

    border: none;
    border-radius: 50%;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
.scroll-to-top span {
    font-family: 'daythemes-icon' !important;
    font-size: 28px;
    display: inline-block;
    line-height: 1;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .scroll-to-top span {
        font-size: 24px;
    }
}
/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .scroll-to-top {
       width: 44px;
        height: 44px;
        font-size: 24px;
        bottom: 90px;
        right: 9px;
    }
}


/* تنظیمات وردپرسی */
.alignright { float: right; margin: 0 0 1em 1em; }
.alignleft { float: left; margin: 0 1em 1em 0; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; background: #f0f0f0; padding: 5px; }
.wp-caption-text { font-size: 12px; text-align: center; }
.sticky { background: #f9f9f9; }
.bypostauthor { }




/* ===== بهبود دکمه بستن جستجو در موبایل ===== */
@media (max-width: 768px) {
    .search-close-btn {
        top: 15px;
        left: 15px;
        width: 48px;
        height: 48px;
        font-size: 28px;
        background-color: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(4px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        z-index: 9999; /* بالاتر از همه چیز */
    }
}

/* برای آیفون‌های ناچ‌دار */
@supports (padding-top: env(safe-area-inset-top)) {
    .search-close-btn {
        top: calc(15px + env(safe-area-inset-top));
        left: calc(15px + env(safe-area-inset-left));
    }
}





/* ========== Mobile Bottom Navigation Bar (Fixed) ========== */
.mobile-bottom-nav {
    display: none;                       /* مخفی در دسکتاپ */
    box-sizing: border-box;              /* عرض با احتساب پدینگ/بوردر */
}

@media (max-width: 768px) {
    /* فعال‌سازی نوار */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        background-color: #ffffff;
        border-top: 1px solid #e0e0e0;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
        z-index: 9999;
        justify-content: space-around;
        align-items: center;
        padding: 8px 0 5px;
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #767879;
        font-size: 10px;
        font-weight: 500;
        line-height: 1.2;
        transition: color 0.2s;
        -webkit-tap-highlight-color: transparent; /* حذف هایلایت لمسی */
    }

    .mobile-nav-item .nav-icon {
        font-family: 'daythemes-icon' !important;
        font-size: 22px;
        margin-bottom: 2px;
    }

    .mobile-nav-item:hover,
    .mobile-nav-item:active,
    .mobile-nav-item:focus {
        color: var(--primary-color, #026abc);
    }

    /* فضای خالی پایین صفحه برای جلوگیری از پوشانده شدن محتوا */
    body {
        padding-bottom: 65px;            /* ارتفاع نوار + فضای امن */
    }

    /* حذف کامل اسکرول افقی ناخواسته */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }

    /* جبران نوار ادمین وردپرس */
    .admin-bar .mobile-bottom-nav {
        bottom: 32px;
    }
}

/* بهینه‌سازی برای موبایل‌های کوچک و ناچ‌دار */
@media (max-width: 480px) {
    .mobile-nav-item {
        font-size: 9px;
    }
    .mobile-nav-item .nav-icon {
        font-size: 20px;
    }
    body {
        padding-bottom: 60px;
    }
}

/* پشتیبانی از safe-area در آیفون‌های ناچ‌دار */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    @media (max-width: 768px) {
        body {
            padding-bottom: calc(65px + env(safe-area-inset-bottom));
        }
        .mobile-bottom-nav {
            padding-bottom: calc(5px + env(safe-area-inset-bottom));
        }
    }
}







.day-chart-bar:before {
  content: "\e900";
}
.day-stats-bars:before {
  content: "\e901";
}
.day-stats:before {
  content: "\e901";
}
.day-statistics:before {
  content: "\e901";
}
.day-chart:before {
  content: "\e901";
}
.day-angle-double-down-solid:before {
  content: "\e000";
}
.day-angle-double-left-solid:before {
  content: "\e001";
}
.day-angle-double-right-solid:before {
  content: "\e002";
}
.day-angle-double-up-solid:before {
  content: "\e003";
}
.day-angle-down-solid:before {
  content: "\e004";
}
.day-angle-left-solid:before {
  content: "\e005";
}
.day-angle-right-solid:before {
  content: "\e006";
}
.day-angle-up-solid:before {
  content: "\e007";
}
.day-arrow-alt-circle-down:before {
  content: "\e008";
}
.day-arrow-alt-circle-left-solid:before {
  content: "\e009";
}
.day-arrow-alt-circle-up:before {
  content: "\e00a";
}
.day-arrow-alt-circle-right:before {
  content: "\e00b";
}
.day-arrow-circle-down-solid:before {
  content: "\e00c";
}
.day-arrow-circle-left-solid:before {
  content: "\e00d";
}
.day-arrow-circle-right-solid:before {
  content: "\e00e";
}
.day-arrow-circle-up-solid:before {
  content: "\e00f";
}
.day-arrow-down-solid:before {
  content: "\e010";
}
.day-arrow-left-solid:before {
  content: "\e011";
}
.day-arrow-right-solid:before {
  content: "\e012";
}
.day-arrow-up-solid:before {
  content: "\e013";
}
.day-caret-down-solid:before {
  content: "\e014";
}
.day-caret-left-solid:before {
  content: "\e015";
}
.day-caret-right-solid:before {
  content: "\e016";
}
.day-caret-up-solid:before {
  content: "\e017";
}
.day-caret-square-up-solid:before {
  content: "\e018";
}
.day-caret-square-down-solid:before {
  content: "\e019";
}
.day-caret-square-left:before {
  content: "\e01a";
}
.day-chevron-right-solid:before {
  content: "\e01b";
}
.day-chevron-left-solid:before {
  content: "\e01c";
}
.day-chevron-down-solid:before {
  content: "\e01d";
}
.day-chevron-up-solid:before {
  content: "\e01e";
}
.day-long-arrow-alt-up-solid:before {
  content: "\e01f";
}
.day-long-arrow-alt-right-solid:before {
  content: "\e020";
}
.day-long-arrow-alt-left-solid:before {
  content: "\e021";
}
.day-long-arrow-alt-down-solid:before {
  content: "\e022";
}
.day-android-arrow-dropdown-circle:before {
  content: "\e023";
}
.day-android-arrow-dropleft-circle:before {
  content: "\e024";
}
.day-android-arrow-dropright-circle:before {
  content: "\e025";
}
.day-android-arrow-dropup-circle:before {
  content: "\e026";
}
.day-calendar-line:before {
  content: "\e027";
}
.day-arrow-down-a:before {
  content: "\e028";
}
.day-arrow-right-a:before {
  content: "\e029";
}
.day-arrow-up-a:before {
  content: "\e02a";
}
.day-arrow-left-a:before {
  content: "\e02b";
}
.day-ios-redo-outline:before {
  content: "\e02c";
}
.day-ios-undo-outline:before {
  content: "\e02d";
}
.day-reply:before {
  content: "\e02e";
}
.day-android-share:before {
  content: "\e02f";
}
.day-ios-arrow-thin-up:before {
  content: "\e030";
}
.day-ios-arrow-thin-right:before {
  content: "\e031";
}
.day-ios-arrow-thin-left:before {
  content: "\e032";
}
.day-ios-arrow-thin-down:before {
  content: "\e033";
}
.day-arrow-down-b:before {
  content: "\e034";
}
.day-arrow-down-c:before {
  content: "\e035";
}
.day-arrow-right-b:before {
  content: "\e036";
}
.day-arrow-up-b:before {
  content: "\e037";
}
.day-caret-square-right:before {
  content: "\e038";
}
.day-arrow-left-b:before {
  content: "\e039";
}
.day-arrow-right-c:before {
  content: "\e03a";
}
.day-arrow-left-c:before {
  content: "\e03b";
}
.day-chevron-circle-down-solid:before {
  content: "\e03c";
}
.day-chevron-circle-left-solid:before {
  content: "\e03d";
}
.day-chevron-circle-right-solid:before {
  content: "\e03e";
}
.day-chevron-circle-up-solid:before {
  content: "\e03f";
}
.day-arrow-up-c:before {
  content: "\e040";
}
.day-chevron-up:before {
  content: "\e041";
}
.day-chevron-right:before {
  content: "\e042";
}
.day-chevron-left:before {
  content: "\e043";
}
.day-arrow-down-line:before {
  content: "\e044";
}
.day-arrow-left-line:before {
  content: "\e045";
}
.day-arrow-up-line:before {
  content: "\e046";
}
.day-arrow-right-line:before {
  content: "\e047";
}
.day-arrow-up-circle-line:before {
  content: "\e048";
}
.day-arrow-left-circle-line:before {
  content: "\e049";
}
.day-arrow-right-circle-line:before {
  content: "\e04a";
}
.day-arrow-down-circle-line:before {
  content: "\e04b";
}
.day-arrow-down-fill:before {
  content: "\e04c";
}
.day-arrow-left-fill:before {
  content: "\e04d";
}
.day-arrow-up-fill:before {
  content: "\e04e";
}
.day-arrow-right-fill:before {
  content: "\e04f";
}
.day-arrow-down-circle-fill:before {
  content: "\e050";
}
.day-arrow-left-circle-fill:before {
  content: "\e051";
}
.day-arrow-up-circle-fill:before {
  content: "\e052";
}
.day-arrow-right-circle-fill:before {
  content: "\e053";
}
.day-search-2-line:before {
  content: "\e054";
}
.day-dribbble-line:before {
  content: "\e055";
}
.day-instagram-line:before {
  content: "\e056";
}
.day-whatsapp-line:before {
  content: "\e057";
}
.day-mail-line:before {
  content: "\e058";
}
.day-earth-line:before {
  content: "\e059";
}
.day-facebook-fill:before {
  content: "\e05a";
}
.day-instagram-fill:before {
  content: "\e05b";
}
.day-linkedin-fill:before {
  content: "\e05c";
}
.day-github-fill:before {
  content: "\e05d";
}
.day-pinterest-fill:before {
  content: "\e05e";
}
.day-telegram-fill:before {
  content: "\e05f";
}
.day-twitter-x-line:before {
  content: "\e060";
}
.day-whatsapp-fill:before {
  content: "\e061";
}
.day-youtube-fill:before {
  content: "\e062";
}
.day-mail-fill:before {
  content: "\e063";
}
.day-file-copy-line:before {
  content: "\e064";
}
.day-link-solid:before {
  content: "\e065";
}
.day-fire-line:before {
  content: "\e066";
}
.day-chat-1-line:before {
  content: "\e067";
}
.day-double-quotes-l:before {
  content: "\e068";
}
.day-chevron-down:before {
  content: "\e069";
}
.day-arrow-drop-down-line:before {
  content: "\e06a";
}
.day-arrow-drop-left-line:before {
  content: "\e06b";
}
.day-arrow-drop-right-line:before {
  content: "\e06c";
}
.day-arrow-drop-up-line:before {
  content: "\e06d";
}
.day-arrow-left-s-line:before {
  content: "\e06e";
}
.day-arrow-right-s-line:before {
  content: "\e06f";
}
.day-arrow-up-s-line:before {
  content: "\e070";
}
.day-arrow-down-s-line:before {
  content: "\e071";
}
.day-time-line:before {
  content: "\e072";
}
.day-user-3-line:before {
  content: "\e073";
}
.day-youtube-line:before {
  content: "\e074";
}
.day-images:before {
  content: "\e075";
}
.day-volume-up-line:before {
  content: "\e076";
}
.day-pushpin-fill:before {
  content: "\e077";
}
.day-fire-fill:before {
  content: "\e078";
}
.day-behance-fill:before {
  content: "\e079";
}
.day-soundcloud-fill:before {
  content: "\e07a";
}
.day-tumblr-fill:before {
  content: "\e07b";
}
.day-stack-overflow-fill:before {
  content: "\e07c";
}
.day-vimeo-fill:before {
  content: "\e07d";
}
.day-moon-stars:before {
  content: "\e07e";
}
.day-sun-fill:before {
  content: "\e07f";
}
.day-twitter-fill:before {
  content: "\e080";
}
.day-logo-ps:before {
  content: "\e902";
}
.day-eye:before {
  content: "\e903";
}
.day-menu:before {
  content: "\e904";
}
.day-news_paper:before {
  content: "\e905";
}
.day-search:before {
  content: "\e906";
}
.day-search1:before {
  content: "\e907";
}
.day-arrow-up:before {
  content: "\e908";
}
.day-right-quote3:before {
  content: "\e909";
}
.day-left-quote3:before {
  content: "\e90a";
}
.day-quotes-right2:before {
  content: "\e90b";
}
.day-quotes-left2:before {
  content: "\e90c";
}
.day-soundcloud2:before {
  content: "\e90d";
}
.day-soundcloud1:before {
  content: "\e90e";
}
.day-volume-lowtw1:before {
  content: "\e90f";
}
.day-mictw:before {
  content: "\e910";
}
.day-telegramtw1:before {
  content: "\e911";
}
.day-headphonestw1:before {
  content: "\e912";
}
.day-stoptw:before {
  content: "\e913";
}
.day-playtw2:before {
  content: "\e914";
}
.day-filmtw1:before {
  content: "\e915";
}
.day-playtw21:before {
  content: "\e916";
}
.day-moon:before {
  content: "\e917";
}
.day-sun:before {
  content: "\e918";
}
.day-file-picture:before {
  content: "\e919";
}
.day-camera:before {
  content: "\e91a";
}
.day-image1:before {
  content: "\e91b";
}
.day-imagestw1:before {
  content: "\e91c";
}
.day-eye1:before {
  content: "\e91d";
}
.day-chevron-up1:before {
  content: "\e91e";
}
.day-quote-right:before {
  content: "\e91f";
}
.day-quote-left:before {
  content: "\e920";
}
.day-feed:before {
  content: "\e921";
}
.day-feed1:before {
  content: "\e922";
}
.day-link2:before {
  content: "\e923";
}
.day-locate:before {
  content: "\e924";
}
.day-point1:before {
  content: "\e925";
}
.day-printer2:before {
  content: "\e926";
}
.day-comment:before {
  content: "\e927";
}
.day-printer:before {
  content: "\e928";
}
.day-mode_comment:before {
  content: "\e929";
}
.day-printer1:before {
  content: "\e92a";
}
.day-comments2:before {
  content: "\e92b";
}
.day-content_copy:before {
  content: "\e92c";
}
.day-instagramtw2:before {
  content: "\e92d";
}
.day-time:before {
  content: "\e92e";
}
.day-time1:before {
  content: "\e92f";
}
.day-copy:before {
  content: "\e930";
}
.day-copy1:before {
  content: "\e931";
}
.day-aparat:before {
  content: "\e935";
}
.day-cloob:before {
  content: "\e936";
}
.day-fz3:before {
  content: "\e955";
}
.day-fz1:before {
  content: "\e956";
}
.day-share:before {
  content: "\e957";
}
.day-close:before {
  content: "\e95c";
}
.day-phone1:before {
  content: "\e962";
}
.day-home3:before {
  content: "\e96e";
}
.day-qrcode:before {
  content: "\e979";
}
.day-youtube:before {
  content: "\e97e";
}
.day-language:before {
  content: "\e97f";
}
.day-iran:before {
  content: "\e980";
}
.day-igap:before {
  content: "\e981";
}
.day-wispi:before {
  content: "\e982";
}
.day-soroush:before {
  content: "\e983";
}
.day-gap:before {
  content: "\e984";
}
.day-Eitaa:before {
  content: "\e985";
}
.day-bale:before {
  content: "\e986";
}
.day-rubika:before {
  content: "\e987";
}
.day-linkedin:before {
  content: "\e988";
}
.day-linkedin1:before {
  content: "\e989";
}
.day-pinterest:before {
  content: "\e98a";
}
.day-link1:before {
  content: "\e9cb";
}
.day-cancel-circle:before {
  content: "\ea0d";
}
.day-facebook:before {
  content: "\ea90";
}
.day-whatsapp:before {
  content: "\ea93";
}
.day-twitter:before {
  content: "\ea96";
}
.day-appleinc:before {
  content: "\eabe";
}
.day-android:before {
  content: "\eac0";
}
.day-square1:before {
  content: "\f0c8";
}
.day-circle:before {
  content: "\f111";
}