/*
Theme Name: cinematak
Theme URI: https://cinematak.ir
Author: Mehran Hooshangi
Author URI: https://cinematak.ir
Description: قالب مینیمال و سریع
Version: 2.4.3
Text Domain: sitem
*/


/* =========================================================
   1. Variables
   Bootstrap + Custom Variables
   ========================================================= */

:root {
    /* ============ رنگ اصلی (Primary) ============ */
    --site-primary: #bc8728;
    --site-primary-hover: #a87523;
    --site-primary-light: #f8f0e3;
    --site-primary-dark: #8d641e;
    --site-primary-rgb: 188, 135, 40;

    /* ============ رنگ‌های ثانویه ============ */
    --site-secondary: #6b7078;          /* خاکستری */
    --site-secondary-hover: #555a62;
    --site-secondary-light: #f6f7f9;

    /* ============ رنگ‌های حالت ============ */
    --site-success: #28a745;            /* سبز */
    --site-success-light: #e8f5eb;

    --site-danger: #dc3545;             /* قرمز خطر */
    --site-danger-light: #fce8e8;

    --site-warning: #ffc107;            /* زرد */
    --site-warning-light: #fff8e6;

    --site-info: #17a2b8;               /* آبی */
    --site-info-light: #e6f6f9;

    /* ============ پس‌زمینه‌ها ============ */
    --site-bg: #ffffff;                 /* پس‌زمینه اصلی */
    --site-surface: #ffffff;            /* سطح کارت‌ها */
    --site-surface-2: #f6f7f9;          /* سطح ثانویه */
    --site-surface-3: #eef0f3;          /* سطح سوم */

    /* ============ متن‌ها ============ */
    --site-text: #15171a;               /* متن اصلی */
    --site-text-secondary: #4a4f57;     /* متن ثانویه */
    --site-muted: #6b7078;              /* متن کم‌رنگ */
    --site-text-light: #a8b0bf;         /* متن خیلی کم‌رنگ */

    /* ============ حاشیه‌ها ============ */
    --site-border: #e5e7eb;             /* حاشیه اصلی */
    --site-border-light: #f0f1f3;       /* حاشیه روشن */
    --site-border-dark: #d1d5db;        /* حاشیه تیره */

    /* ============ سایه‌ها ============ */
    --site-shadow-sm: 0 2px 8px rgba(0, 0, 0, .05);
    --site-shadow: 0 4px 14px rgba(0, 0, 0, .08);
    --site-shadow-lg: 0 8px 24px rgba(0, 0, 0, .12);
    --site-shadow-xl: 0 12px 36px rgba(0, 0, 0, .15);

    /* ============ گردی گوشه‌ها ============ */
    --site-radius-xs: 4px;
    --site-radius-sm: 8px;
    --site-radius: 14px;
    --site-radius-lg: 20px;
    --site-radius-xl: 28px;
    --site-radius-full: 50%;

    /* ============ فونت ============ */
    --site-font: "Vazirmatn", "IRANYekanX", sans-serif;
    --site-font-secondary: "IRANSansWeb", sans-serif;

    --site-font-size-xs: 11px;
    --site-font-size-sm: 13px;
    --site-font-size: 15px;
    --site-font-size-lg: 17px;
    --site-font-size-xl: 20px;
    --site-font-size-2xl: 24px;
    --site-font-size-3xl: 30px;

    /* ============ فاصله‌ها ============ */
    --site-space-xs: 4px;
    --site-space-sm: 8px;
    --site-space: 16px;
    --site-space-lg: 24px;
    --site-space-xl: 32px;
    --site-space-2xl: 48px;

    /* ============ ابعاد ============ */
    --site-container: 1200px;
    --site-container-sm: 960px;
    --site-header-height: 64px;
    --site-footer-height: 60px;

    /* ============ انیمیشن ============ */
    --site-transition-fast: .15s ease;
    --site-transition: .25s ease;
    --site-transition-slow: .35s ease;

    /* ============ اتصال به Bootstrap ============ */
    --bs-primary: var(--site-primary);
    --bs-primary-rgb: var(--site-primary-rgb);

    --bs-secondary: var(--site-secondary);
    --bs-secondary-rgb: 107, 112, 120;

    --bs-success: var(--site-success);
    --bs-success-rgb: 40, 167, 69;

    --bs-danger: var(--site-danger);
    --bs-danger-rgb: 220, 53, 69;

    --bs-warning: var(--site-warning);
    --bs-warning-rgb: 255, 193, 7;

    --bs-info: var(--site-info);
    --bs-info-rgb: 23, 162, 184;

    --bs-body-bg: var(--site-bg);
    --bs-body-color: var(--site-text);

    --bs-border-color: var(--site-border);

    --bs-link-color: var(--site-primary);
    --bs-link-hover-color: var(--site-primary-hover);

    --bs-card-bg: var(--site-surface);
    --bs-card-color: var(--site-text);
    --bs-card-border-color: var(--site-border);

    --bs-modal-bg: var(--site-surface);
    --bs-modal-color: var(--site-text);
    --bs-modal-border-color: var(--site-border);

    --bs-dropdown-bg: var(--site-surface);
    --bs-dropdown-color: var(--site-text);
    --bs-dropdown-border-color: var(--site-border);

    --bs-list-group-bg: var(--site-surface);
    --bs-list-group-color: var(--site-text);
    --bs-list-group-border-color: var(--site-border);
}

/* =========================================================
   Dark Mode
   ========================================================= */

html[data-bs-theme="dark"] {
    /* ============ رنگ اصلی ============ */
    --site-primary: #d6a34a;
    --site-primary-hover: #e2b664;
    --site-primary-light: #332918;
    --site-primary-dark: #edc77f;
    --site-primary-rgb: 214, 163, 74;

    /* ============ رنگ‌های ثانویه ============ */
    --site-secondary: #a8b0bf;
    --site-secondary-hover: #c5cad4;
    --site-secondary-light: #1a1f2b;

    /* ============ پس‌زمینه‌ها ============ */
    --site-bg: #0f1115;
    --site-surface: #141821;
    --site-surface-2: #1a1f2b;
    --site-surface-3: #202633;

    /* ============ متن‌ها ============ */
    --site-text: #e8ecf3;
    --site-text-secondary: #c5cad4;
    --site-muted: #a8b0bf;
    --site-text-light: #6b7280;

    /* ============ حاشیه‌ها ============ */
    --site-border: #262c3a;
    --site-border-light: #1f2530;
    --site-border-dark: #303846;

    /* ============ سایه‌ها ============ */
    --site-shadow-sm: 0 2px 8px rgba(0, 0, 0, .2);
    --site-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    --site-shadow-lg: 0 8px 24px rgba(0, 0, 0, .3);
    --site-shadow-xl: 0 12px 36px rgba(0, 0, 0, .35);

    /* ============ اتصال به Bootstrap ============ */
    --bs-primary: var(--site-primary);
    --bs-primary-rgb: var(--site-primary-rgb);
    --bs-link-color: var(--site-primary);
    --bs-link-hover-color: var(--site-primary-hover);
    --bs-body-bg: var(--site-bg);
    --bs-body-color: var(--site-text);
    --bs-border-color: var(--site-border);
    --bs-card-bg: var(--site-surface);
    --bs-card-color: var(--site-text);
    --bs-card-border-color: var(--site-border);
    --bs-modal-bg: var(--site-surface);
    --bs-modal-color: var(--site-text);
    --bs-modal-border-color: var(--site-border);
    --bs-dropdown-bg: var(--site-surface);
    --bs-dropdown-color: var(--site-text);
    --bs-dropdown-border-color: var(--site-border);
    --bs-list-group-bg: var(--site-surface);
    --bs-list-group-color: var(--site-text);
    --bs-list-group-border-color: var(--site-border);
}


/* =========================================================
   2. Fonts
   ========================================================= */
/*@font-face {*/
/*    font-family: "IRANYekanX";*/
/*    src: url("assets/fonts/IRANYekanX-Regular.woff2") format("woff2");*/
/*    font-weight: 400;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: "IRANYekanX";*/
/*    src: url("assets/fonts/IRANYekanX-Medium.woff2") format("woff2");*/
/*    font-weight: 500;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: "IRANYekanX";*/
/*    src: url("assets/fonts/IRANYekanX-Bold.woff2") format("woff2");*/
/*    font-weight: 700;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: "IRANYekanX";*/
/*    src: url("assets/fonts/IRANYekanX-ExtraBold.woff2") format("woff2");*/
/*    font-weight: 800;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: "IRANSansWeb";*/
/*    src: url("assets/fonts/IRANSansWeb.woff2") format("woff2");*/
/*    font-weight: 400;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: "IRANSansWeb";*/
/*    src: url("assets/fonts/IRANSansWeb_Bold.woff2") format("woff2");*/
/*    font-weight: 700;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/

@font-face {
    font-family: "Vazirmatn";
    src: url("assets/fonts/Vazirmatn[wght].woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
/* =========================================================
   3. Base
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--site-bg);
    color: var(--site-text);
    font-family: var(--site-font);
    line-height: 1.8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

html,
body {
    max-width: 100%;
    overflow-x: clip;
}
a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}
.fs-7 { font-size: 0.875rem !important; }
.fs-8 { font-size: 0.75rem !important; }
.fs-9 { font-size: 0.65rem !important; }
.fs-10 { font-size: 0.55rem !important; }
/* =========================================================
   4. Layout
   ========================================================= */
/* دکمه */
.btn-primary {
    background: var(--site-primary);
    border-color: var(--site-primary);
    transition: var(--site-transition);
}

.btn-primary:hover {
    background: var(--site-primary-hover);
    border-color: var(--site-primary-hover);
}

/* بج */
.badge-primary {
    background: var(--site-primary-light);
    color: var(--site-primary);
}

/* کارت */
.site-card {
    background: var(--site-surface);
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    box-shadow: var(--site-shadow);
    transition: var(--site-transition);
}

.site-card:hover {
    box-shadow: var(--site-shadow-lg);
    transform: translateY(-2px);
}

/* تایتل */
.site-title {
    color: var(--site-text);
    font-family: var(--site-font);
    font-size: var(--site-font-size-xl);
    font-weight: 800;
}

/* لینک */
.site-link {
    color: var(--site-primary);
    text-decoration: none;
    transition: var(--site-transition-fast);
}

.site-link:hover {
    color: var(--site-primary-hover);
    text-decoration: underline;
}
.person-card {
    /*aspect-ratio: 3 / 4;*/
    border-radius: 12px;
}

.person-card img {
    transition: transform .3s ease;
}

.person-card:hover img {
    transform: scale(1.05);
}

.person-card__overlay {
    background: linear-gradient(
            to top,
            rgba(0, 0, 0, .85),
            rgba(0, 0, 0, 0)
    );
    padding-top: 50px !important;
}
.ltr{
    direction: ltr;
}
/* =========================================================
   5. Header
   ========================================================= */
[data-bs-theme="dark"] .custom-logo {
    filter: invert(1);
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;

    background: var(--site-surface);
    border-bottom: 1px solid var(--site-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.site-header__inner {
    min-height: var(--site-header-height);
}

.site-header__brand img {
    max-height: 38px;
    width: auto;
}

/* آیکون‌های تم */
.theme-icon-light {
    display: none;
}

html[data-theme="dark"] .theme-icon-dark {
    display: none;
}

html[data-theme="dark"] .theme-icon-light {
    display: inline;
}

/* دکمه‌ها */
.site-header__actions .btn {
    transition: all .2s ease;
}

.site-header__actions .btn:hover {
    transform: translateY(-1px);
}

/* موبایل */
@media (max-width: 991.98px) {
    .site-header__inner {
        min-height: 56px;
    }

    .site-header__brand img {
        max-height: 32px;
    }
}
/* =========================================================
   6. Navigation
   ========================================================= */
.site-nav__list a {
    display: block;
    padding: 0 12px;

    font-size: 14px;
    font-weight: 700;

    transition: color .2s ease;
}

.site-nav__list a:hover {
    color: var(--site-primary);
}

/* منوی موبایل */
.site-nav-mobile {
    max-height: calc(100vh - var(--site-header-height));
    overflow-y: auto;
}

.site-nav-mobile a {
    display: block;
    padding: 10px 12px;

    font-size: 14px;
    font-weight: 500;

    border-radius: var(--site-radius-sm);
    transition: all .2s ease;
}

.site-nav-mobile a:hover {
    background: var(--site-surface-2);
    color: var(--site-primary);
}

/* Submenu */
.site-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;

    background: var(--site-surface);
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius-sm);
    box-shadow: var(--site-shadow-sm);

    list-style: none;
    padding: 8px;
    margin: 0;
    z-index: 1000;
}

.site-nav li:hover > .sub-menu {
    display: block;
}

.site-nav .sub-menu a {
    padding: 8px 12px;
    border-radius: var(--site-radius-sm);
}

.site-nav .sub-menu a:hover {
    background: var(--site-surface-2);
}
/* =========================================================
   Desktop Navigation
   ========================================================= */

@media (min-width: 992px) {

    .site-nav__list > li {
        position: relative;
    }

    .site-nav__list > li > a {
        display: block;
        padding: 12px 0;
        font-size: 14px;
        font-weight: 700;
        transition: color .2s ease;
        white-space: nowrap;
    }

    .site-nav__list > li:hover > a {
        color: var(--site-primary);
    }

    /* Submenu */
    .site-nav__list .sub-menu {
        display: none;

        position: absolute;
        top: 100%;
        right: 0;

        min-width: 210px;
        max-width: 280px;

        margin: 0;
        padding: 8px;

        list-style: none;

        background: var(--site-surface);
        border: 1px solid var(--site-border);
        border-radius: var(--site-radius-sm);
        box-shadow: var(--site-shadow);

        z-index: 1050;
    }

    /* نمایش Submenu */
    .site-nav__list > li:hover > .sub-menu {
        display: block;
    }

    /* آیتم‌های Submenu */
    .site-nav__list .sub-menu li {
        position: relative;
    }

    .site-nav__list .sub-menu a {
        display: block;

        padding: 9px 12px;

        border-radius: var(--site-radius-sm);

        font-size: 13px;
        font-weight: 500;

        white-space: nowrap;

        transition:
                background-color .2s ease,
                color .2s ease;
    }

    .site-nav__list .sub-menu a:hover {
        background: var(--site-surface-2);
        color: var(--site-primary);
    }

}
/* =========================================================
   7. Components
   ========================================================= */
/* ======================================================
   MENU ICONS
====================================================== */

[class*="sp-ic-"] {
    --sp-ic-size: 20px;
}

[class*="sp-ic-"] > a::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: currentColor;
    -webkit-mask-image: var(--sp-ic);
    mask-image: var(--sp-ic);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    vertical-align: middle;
    margin-left: 6px;
}
.sp-social-icon::before {
    content: "";
    display: block;
    width: 28px;
    height: 28px;
    background: var(--sp-ic) center / contain no-repeat;
}
[class*="sp-ic-"].sp-ic-icon-after > a::before {
    display: none;
}

[class*="sp-ic-"].sp-ic-icon-after > a::after {
    content: "";
    display: inline-block;
    width: var(--sp-ic-size);
    height: var(--sp-ic-size);

    background-color: currentColor;

    -webkit-mask: var(--sp-ic) center / contain no-repeat;
    mask: var(--sp-ic) center / contain no-repeat;

    vertical-align: middle;
    margin-right: 1px;
}
/* Icons */
.sp-ic-about   { --sp-ic: url("assets/icons/about.svg"); }
.sp-ic-ads     { --sp-ic: url("assets/icons/ads.svg"); }
.sp-ic-backToTop     { --sp-ic: url("assets/icons/backToTop.svg"); }
.sp-ic-brand-bale     { --sp-ic: url("assets/icons/brand-bale.svg"); }
.sp-ic-brand-instagram     { --sp-ic: url("assets/icons/brand-instagram.svg"); }
.sp-ic-brand-telegram     { --sp-ic: url("assets/icons/brand-telegram.svg"); }
.sp-ic-brand-whatsapp     { --sp-ic: url("assets/icons/brand-whatsapp.svg"); }
.sp-ic-brand-x     { --sp-ic: url("assets/icons/brand-x.svg"); }
.sp-ic-brand-youtube     { --sp-ic: url("assets/icons/brand-youtube.svg"); }
.sp-ic-burger     { --sp-ic: url("assets/icons/burger.svg"); }
.sp-ic-celebs  { --sp-ic: url("assets/icons/celebs.svg"); }
.sp-ic-chevron-left  { --sp-ic: url("assets/icons/chevron-left.svg"); }
.sp-ic-contact { --sp-ic: url("assets/icons/contact.svg"); }
.sp-ic-culture { --sp-ic: url("assets/icons/culture.svg"); }
.sp-ic-fun     { --sp-ic: url("assets/icons/fun.svg"); }
.sp-ic-gallery { --sp-ic: url("assets/icons/gallery.svg"); }
.sp-ic-gamepad { --sp-ic: url("assets/icons/gamepad.svg"); }
.sp-ic-health  { --sp-ic: url("assets/icons/health.svg"); }
.sp-ic-home    { --sp-ic: url("assets/icons/home.svg"); }
.sp-ic-latest  { --sp-ic: url("assets/icons/latest.svg"); }
.sp-ic-live    { --sp-ic: url("assets/icons/live.svg"); }
.sp-ic-masks   { --sp-ic: url("assets/icons/masks.svg"); }
.sp-ic-message   { --sp-ic: url("assets/icons/message.svg"); }
.sp-ic-moon   { --sp-ic: url("assets/icons/moon.svg"); }
.sp-ic-music   { --sp-ic: url("assets/icons/music.svg"); }
.sp-ic-news    { --sp-ic: url("assets/icons/news.svg"); }
.sp-ic-podcast { --sp-ic: url("assets/icons/podcast.svg"); }
.sp-ic-policy  { --sp-ic: url("assets/icons/policy.svg"); }
.sp-ic-search  { --sp-ic: url("assets/icons/search.svg"); }
.sp-ic-social  { --sp-ic: url("assets/icons/social.svg"); }
.sp-ic-special { --sp-ic: url("assets/icons/special.svg"); }
.sp-ic-story   { --sp-ic: url("assets/icons/story.svg"); }
.sp-ic-suggest   { --sp-ic: url("assets/icons/suggest.svg"); }
.sp-ic-sun   { --sp-ic: url("assets/icons/sun.svg"); }
.sp-ic-trophy  { --sp-ic: url("assets/icons/trophy.svg"); }
.sp-ic-user-circle   { --sp-ic: url("assets/icons/user-circle.svg"); }
.sp-ic-video   { --sp-ic: url("assets/icons/video.svg"); }

[data-bs-theme="dark"] [class*="sp-ic-"] > a::before,
[data-bs-theme="dark"] .sp-social-icon::before {
    filter: invert(1);
}

/* =========================================================
   8. Cards
   ========================================================= */
.news-card {
    height: 100%;

    overflow: hidden;

    background: var(--site-surface);
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);

    box-shadow: var(--site-shadow-sm);
}

.news-card__media {
    position: relative;
    overflow: hidden;
}

.news-card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;

    transition: transform .25s ease;
}

.news-card:hover .news-card__image {
    transform: scale(1.025);
}

.news-card__body {
    padding: 14px;
}

.news-card__title {
    margin: 0;

    font-size: 17px;
    line-height: 1.55;
    font-weight: 900;
}

.news-card__excerpt {
    margin-top: 8px;

    color: var(--site-muted);
    font-size: 14px;
}
.post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;

    margin-top: 8px;

    color: var(--site-muted);
    font-size: 12px;
}

.post-meta__separator {
    opacity: .5;
}
/*.card {*/
/*    transition: transform .25s ease, box-shadow .25s ease;*/
/*}*/

/*.card:hover {*/
/*    transform: translateY(-3px);*/
/*    box-shadow: 0 8px 24px rgba(0, 0, 0, .08) !important;*/
/*}*/

.card-img-top {
    transition: transform .3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.03);
}

/* برای badge ها */
.badge {
    font-weight: 500;
    letter-spacing: .3px;
}
/* برای card-featured */
.card-title {
    transition: color .2s ease;
}

.card:hover .card-title {
    color: var(--site-primary);
}
/* بهبود placeholder های Bootstrap */
.placeholder {
    border-radius: 4px;
    opacity: .7;
}

.card .placeholder-glow .placeholder {
    animation: placeholder-glow 2s ease-in-out infinite;
}

.spm-poster-card {
    height: 100%;
}

.spm-poster-card__image {
    display: block;
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 0.75rem;
}

.spm-poster-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.spm-poster-card__title {
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0.75rem 0 0;
    font-weight: 700;
}

.spm-poster-card__title a {
    color: inherit;
    text-decoration: none;
}

.card-vertical-title {
    font-size: 13px;
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
}

@media (max-width: 767.98px) {
    .card-vertical-title {
        font-size: 18px;
        line-height: 1.45;
    }
}
/* =========================================================
   Skeleton Loading - انیمیشن سفارشی
   ========================================================= */
@keyframes skeleton-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.skeleton-shimmer {
    background: linear-gradient(
            90deg,
            var(--site-surface-2) 25%,
            var(--site-border) 50%,
            var(--site-surface-2) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

/* حالت دارک */
html[data-theme="dark"] .skeleton-shimmer {
    background: linear-gradient(
            90deg,
            #1a1f2b 25%,
            #262c3a 50%,
            #1a1f2b 75%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

/* =========================================================
   Web Story Card - استایل خاص
   ========================================================= */
.card-story {
    transition: transform .25s ease, box-shadow .25s ease;
}

.card-story:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08) !important;
}

.card-story .card-img-top {
    transition: transform .3s ease;
}

.card-story:hover .card-img-top {
    transform: scale(1.03);
}

/* بج مخصوص Web Story */
.badge-story {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-weight: 700;
    letter-spacing: .5px;
}
.cards-feature-grid {
    row-gap: 1rem;
}

@media (min-width: 992px) {
    .cards-feature-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, minmax(0, 1fr));
        gap: 1rem;
        height: 100%;
    }

    .cards-feature-grid > .col-md-6 {
        width: auto;
    }
}
.card-responsive-h__link {
    overflow: hidden;
}

.card-responsive-h__media {
    position: relative;
    width: 38%;
    flex-shrink: 0;
    overflow: hidden;
    min-height: 96px;      /* حداقل ارتفاع وقتی متن کوتاه است */
    align-self: stretch;
}

.card-responsive-h__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;  /* برای عکس عمودی، سر و صورت بهتر دیده شود */
}

.card-responsive-h__content {
    width: 62%;
    min-width: 0;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.card-responsive-h__badge {
    align-self: flex-start;
    font-size: 10px;
}

.card-responsive-h__title {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 800;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}


/* موبایل */
@media (max-width: 575.98px) {

    .card-responsive-h__media {
        width: 34%;
        min-height: 80px;
    }

    .card-responsive-h__content {
        width: 66%;
        padding: 8px 10px;
        gap: 4px;
    }

    .card-responsive-h__title {
        font-size: 13px;
        line-height: 1.5;
        -webkit-line-clamp: 3;
    }

    .card-responsive-h__badge {
        font-size: 9px;
    }
}
/* =========================================================
   Post Meta - استایل
   ========================================================= */
.post-meta {
    font-size: 13px;
    line-height: 1.5;
}

.post-meta a {
    transition: color .2s ease;
}

.post-meta a:hover {
    color: var(--site-primary) !important;
    text-decoration: underline;
}

.post-meta svg {
    opacity: .7;
}


/* =========================================================
   404 Page
   ========================================================= */
.page-404 {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.page-404 .display-1 {
    background: linear-gradient(135deg, var(--site-primary) 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.page-404 .btn {
    min-width: 180px;
}

@media (max-width: 768px) {
    .page-404 .display-1 {
        font-size: 100px !important;
    }

    .page-404 .btn {
        min-width: 100%;
    }
}

/* =========================================================
   Pagination - سفارشی‌سازی
   ========================================================= */
.pagination {
    gap: 4px;
}

.pagination .page-link {
    border-radius: var(--site-radius-sm) !important;
    border: 1px solid var(--site-border);
    color: var(--site-text);
    padding: 8px 16px;
    transition: all .2s ease;
}

.pagination .page-link:hover {
    background: var(--site-surface-2);
    border-color: var(--site-primary);
    color: var(--site-primary);
}

.pagination .page-item.active .page-link {
    background: var(--site-primary);
    border-color: var(--site-primary);
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    opacity: .5;
    pointer-events: none;
}
/* =========================================================
   Empty State
   ========================================================= */
.empty-state {
    padding: 60px 20px;
    text-align: center;
}

.empty-state__icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.empty-state__title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
}

.empty-state__text {
    color: var(--site-muted);
    margin-bottom: 24px;
}
/* =========================================================
   Category Carousel
   ========================================================= */
.carousel-item img {
    aspect-ratio: 16/9;
    object-fit: cover;
}

.carousel-caption {
    background: linear-gradient(to top, rgba(0,0,0,.8), transparent) !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 30px 20px 20px !important;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.5);
    border-radius: 50%;
    margin: 0 10px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0,0,0,.7);
}

/* =========================================================
   Comments - سفارشی‌سازی
   ========================================================= */
.comments-list .comment {
    transition: transform .2s ease;
}

.comments-list .comment:hover {
    transform: translateX(-4px);
}

.comment-content a {
    color: var(--site-primary);
    text-decoration: underline;
}

.form-submit {
    text-align: left;
}

@media (max-width: 768px) {
    .form-submit {
        text-align: center;
    }

    .form-submit .btn {
        width: 100%;
    }
}

/* =========================================================
   Live Page - استایل
   ========================================================= */
.live-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    animation: live-pulse 1.5s infinite;
}

@keyframes live-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, .7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* پخش‌کننده */
.video-container {
    position: relative;
    background: #000;
}

.video-container video {
    display: block;
}

/* حالت تمام‌صفحه */
.video-container video:fullscreen {
    object-fit: contain;
}

/* =========================================================
   Single Post - استایل
   ========================================================= */
.entry-content {
    font-size: 17px;
    line-height: 2;
    color: var(--site-text);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    /*margin-top: 2em;*/
    margin-bottom: .75em;
    line-height: 1.4;
    font-weight: 800;
}

.entry-content h2 {
    font-size: 26px;
}

.entry-content h3 {
    font-size: 22px;
}

.entry-content p {
    margin-bottom: 1.5em;
}

.entry-content img {
    border-radius: var(--site-radius);
    /*margin: 1.5em auto;*/
}

.entry-content blockquote, .schema-faq.wp-block-yoast-faq-block {
    margin: 1.5em 0;
    padding: 16px 20px;
    background: var(--site-surface-2);
    border-inline-start: 4px solid var(--site-primary);
    border-radius: var(--site-radius-sm);
}

.entry-content a {
    color: var(--site-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* =========================================================
   6. Navigation - یک خطی
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
}

/* منوی موبایل شناور */
#mobileNav {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1029 !important;
}

#mobileNav .site-nav-mobile {
    max-height: calc(100vh - var(--site-header-height));
    overflow-y: auto;
}

/* Submenu در موبایل */
#mobileNav .sub-menu {
    list-style: none;
    padding-left: 16px;
    margin: 4px 0;
}
/* =========================================================
   Breaking News Popup
   ========================================================= */
#breakingNewsModal .modal-content {
    border: none;
    overflow: hidden;
}

#breakingNewsModal .live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: live-pulse 1.5s infinite;
}

@keyframes live-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, .7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(220, 53, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

/* انیمیشن ظاهر شدن */
#breakingNewsModal.fade .modal-dialog {
    transform: scale(.8);
    transition: transform .3s ease;
}

#breakingNewsModal.show .modal-dialog {
    transform: scale(1);
}

/* موبایل */
@media (max-width: 576px) {
    #breakingNewsModal .modal-dialog {
        margin: 16px;
    }
}

/* =========================================================
   Horizontal Scroll
   ========================================================= */
[data-hscroll-track] {
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

[data-hscroll-track]::-webkit-scrollbar {
    display: none;
}

[data-hscroll-track]:active {
    cursor: grabbing;
}

/* دکمه‌های اسکرول */
[data-hscroll-prev],
[data-hscroll-next] {
    opacity: .8;
    transition: all .2s ease;
}

[data-hscroll-prev]:hover,
[data-hscroll-next]:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

[data-hscroll-prev]:disabled,
[data-hscroll-next]:disabled {
    opacity: .3;
    pointer-events: none;
}

/* Scroll Snap */
[data-hscroll-track] {
    scroll-snap-type: x mandatory;
}

[data-hscroll-track] > * {
    scroll-snap-align: start;
}

/* موبایل */
@media (max-width: 768px) {
    [data-hscroll-track] {
        padding-inline: 0;
    }
}

/* =========================================================
   Sticky Notify
   ========================================================= */
.sticky-notify {
    position: fixed;
    display: none;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    width: 280px;
    max-width: calc(100vw - 24px);
    overflow: hidden;
    border: 1px solid var(--site-border);
    border-radius: 8px;
    background: var(--site-surface);
    transition: transform .3s ease, opacity .3s ease;
}

.sticky-notify:hover {
    transform: translateY(-4px);
}

.sticky-notify-link {
    display: block;
    min-width: 0;
}

.sticky-notify-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.sticky-notify-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sticky-notify-content {
    min-width: 0;
    padding: 8px 10px;
}

.sticky-notify-title {
    display: -webkit-box;
    margin: 0 0 5px;
    overflow: hidden;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sticky-notify-more {
    font-size: 12px;
}

.sticky-notify-close {
    position: absolute;
    top: 7px;
    right: 7px;
    z-index: 2;
    padding: 5px;
    border-radius: 50%;
    background-color: #fff;
    opacity: .9;
}

/* Mobile */
@media (max-width: 576px) {
    .sticky-notify {
        bottom: calc(70px + 65px) !important;
        right: 12px !important;
        left: 12px !important;
        width: auto;
        max-width: none !important;
    }

    .sticky-notify-link {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .sticky-notify-image {
        flex: 0 0 130px;
        width: 130px;
        height: 77px;
    }

    .sticky-notify-content {
        flex: 1;
        padding: 4px 0;
    }

    .sticky-notify-title {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .sticky-notify-more {
        font-size: 11px;
    }
}


/* =========================================================
   Top News
   ========================================================= */
.list-group-item {
    transition: all .2s ease;
}

.list-group-item:hover {
    background: var(--site-surface-2);
    padding-right: 16px !important;
}

/* آیکون جهت */
.list-group-item svg {
    transition: transform .2s ease;
}

.list-group-item:hover svg {
    transform: translateX(-4px);
    color: var(--site-primary) !important;
}

/* شماره‌ها */
.top-news-number {
    transition: all .2s ease;
}

.list-group-item:hover .top-news-number {
    background: var(--site-primary) !important;
    color: #fff !important;
}

/* =========================================================
   Archive Sidebar
   ========================================================= */
.sidebar .card {
    transition: transform .2s ease, box-shadow .2s ease;
}

.sidebar .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08) !important;
}

.sidebar .list-group-item {
    transition: all .2s ease;
}

.sidebar .list-group-item:hover {
    background: var(--site-surface-2);
    padding-right: 16px !important;
}

.sidebar .list-group-item img {
    transition: transform .2s ease;
}

.sidebar .list-group-item:hover img {
    transform: scale(1.05);
}

/* استیکی بودن سایدبار */
@media (min-width: 992px) {
    .sidebar-sticky {
        position: sticky;
        top: calc(var(--site-header-height) + 20px);
    }
}

/* =========================================================
   Breadcrumb
   ========================================================= */
.breadcrumb {
    font-size: 13px;
}

.breadcrumb-item a {
    color: var(--site-muted);
    transition: color .2s ease;
}

.breadcrumb-item a:hover {
    color: var(--site-primary);
}

.breadcrumb-item.active {
    color: var(--site-text);
    font-weight: 500;
}

/* جداکننده سفارشی */
.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--site-muted);
    opacity: 0.5;
}

/* حالت دارک */
html[data-theme="dark"] .breadcrumb {
    --bs-breadcrumb-divider-color: #a8b0bf;
}

/* موبایل */
@media (max-width: 576px) {
    .breadcrumb {
        font-size: 12px;
    }

    .breadcrumb-item.active {
        max-width: 120px !important;
    }
}

/* =========================================================
   JavaScript Components
   ========================================================= */

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 80px;
    left: 20px;
    z-index: 1020;

    width: 40px;
    height: 40px;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    border: none;

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .3s ease;

    background: var(--site-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--site-primary-hover);
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide In Up */
@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Slide Out Down */
@keyframes slideOutDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* Live Dot */
.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: live-pulse 1.5s infinite;
}

@keyframes live-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, .7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(220, 53, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}
/* =========================================================
   9. Hero
   ========================================================= */
.hero-card {
    position: relative;
    border-radius: var(--site-radius-lg);
}

.hero-card .card-img {
    aspect-ratio: 16/9;
    object-fit: cover;
}

.hero-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,.8), transparent);
}

.hero-card .title {
    font-size: clamp(18px, 2vw, 28px);
    line-height: 1.4;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,.3);
}

/* Carousel */
#heroCarousel .carousel-item img {
    aspect-ratio: 16/9;
    object-fit: cover;
}

#heroCarousel .carousel-indicators {
    bottom: 10px;
}

#heroCarousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 4px;
}

/* موبایل */
@media (max-width: 768px) {
    #heroCarousel .carousel-item img {
        aspect-ratio: 16/9;
    }
}

/* Hero Slide (نسخه جدید) - موبایل */
.hero-slide {
    position: relative;
}

.hero-slide__link {
    text-decoration: none;
}

.hero-slide__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,.8), transparent);
}

@media (max-width: 767.98px) {
    .hero-slide__overlay {
        padding: 14px 12px 12px;
    }

    .hero-slide__overlay h2 {
        font-size: 14px !important;
        line-height: 1.5;
        margin-bottom: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* حذف بج دسته‌بندی و ردیف زمان/ویدیو در موبایل */
    .hero-slide__overlay .badge,
    .hero-slide__overlay .text-white-50 {
        display: none !important;
    }
    #heroCarousel .carousel-indicators {
        bottom: -16px;
    }
}
/* =========================================================
   10. Article
   ========================================================= */

/* =========================================================
   11. Sidebar
   ========================================================= */

/* =========================================================
   12. Footer
   ========================================================= */

.site-footer {
    margin-top: 48px;
    background: var(--site-surface-2);
    border-top: 1px solid var(--site-border);
}

.site-footer__inner {
    padding: 40px 0;
}

.sp-footerPartners {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sp-footerPartners__item {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.sp-footerPartners__img {
    max-height: 40px;
    width: auto;
    opacity: .7;
    transition: opacity .2s;
}

.sp-footerPartners__item:hover .sp-footerPartners__img {
    opacity: 1;
}

.sp-footerPartners__fallback {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    background: var(--site-surface);
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius-sm);
    font-weight: 700;
}

.sp-footerLinks {
    display: block;
    flex-wrap: wrap;
    gap: 16px;
}

.sp-footerLinks a {
    color: var(--site-muted);
    font-size: 14px;
    transition: color .2s;
}

.sp-footerLinks a:hover {
    color: var(--site-primary);
}

/* منوی پایین موبایل */
.sp-bottomNav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1030;

    background: var(--site-surface);
    border-top: 1px solid var(--site-border);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, .05);
}

.sp-bottomNav__list {
    display: flex;
    align-items: center;
    justify-content: space-around;

    list-style: none;
    padding: 0;
    margin: 0;
}

.sp-bottomNav__list a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;

    padding: 10px 12px;

    font-size: 12px;
    color: var(--site-muted);
    transition: color .2s;
}

.sp-bottomNav__list a:hover,
.sp-bottomNav__list a.active {
    color: var(--site-primary);
}

/* مخفی کردن در دسکتاپ */
@media (min-width: 992px) {
    .sp-only-mobile {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    body {
        padding-bottom: 60px; /* ارتفاع منوی موبایل */
    }
}
.sp-footerPartners {
    justify-content: center;
}

.sp-footerLinks {
    text-align: center;
}

.sp-footerLinks .row {
    justify-content: center;
}

.sp-footerLinks__menu {
    align-items: center;
}

.site-footer .col-lg-4 {
    text-align: center;
}

.site-footer .col-lg-4 .d-flex {
    justify-content: center;
}
/* دکمه بازگشت به بالا */
.back-to-top {
    position: fixed;
    bottom: 80px;
    left: 20px;
    z-index: 1020;

    width: 40px;
    height: 40px;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    opacity: .8;
    transition: opacity .2s;
}

.back-to-top:hover {
    opacity: 1;
}

/* =========================================================
   13. Dark Mode
   ========================================================= */

/* نمایش آیکون مناسب بر اساس تم */
.theme-icon-light {
    display: none;
}

html[data-theme="dark"] .theme-icon-dark {
    display: none;
}

html[data-theme="dark"] .theme-icon-light {
    display: inline;
}
/* بهبود placeholder های Bootstrap برای دارک مود */
html[data-theme="dark"] .placeholder {
    background-color: #262c3a !important;
    opacity: .8;
}

html[data-theme="dark"] .placeholder.bg-secondary {
    background-color: #262c3a !important;
}

/* =========================================================
   14. Responsive
   ========================================================= */


/* در style.css - غیرفعال کردن انیمیشن برای موبایل */
@media (max-width: 768px) {
    * {
        animation-duration: 0.1s !important;
        transition-duration: 0.1s !important;
    }

    .card:hover {
        transform: none !important;
    }

    .card:hover .card-img-top {
        transform: none !important;
    }
}
.h_iframe-aparat_embed_frame {
    position: absolute !important;
}

/* =========================================================
   Intertextual / پیشنهاد مطالعه
   ========================================================= */

.intertextual-card {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.intertextual-card .card-body {
    min-width: 0;
    max-width: 100%;
}

.intertextual-card__thumb {
    width: 80px;
    flex: 0 0 80px;
}

.intertextual-card__thumb img {
    display: block;
    width: 80px;
    height: 80px;
    max-width: 80px;
    object-fit: cover;
    border-radius: var(--site-radius-sm);
}

.intertextual-card__body {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.intertextual-card__title {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.intertextual-card__title a {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 576px) {
    .intertextual-card .card-body {
        gap: 12px !important;
        padding: 12px;
    }

    .intertextual-card__thumb {
        width: 72px;
        flex-basis: 72px;
    }

    .intertextual-card__thumb img {
        width: 72px;
        height: 72px;
        max-width: 72px;
    }
    .intertextual-card__title a {
        font-size: 16px;
    }
}

/* =========================================================
   Downloads
   ========================================================= */

.sp-downloads {
    width: 100%;
    margin: 32px 0;
    direction: rtl;
}


/* فصل */

.sp-downloads__season {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 88px;
    height: 44px;

    padding: 0 18px;
    margin: 0 8px 26px 0;

    border: 1px solid #e0b400;
    border-radius: 12px;

    color: #e0b400;
    background: rgba(0, 0, 0, 0.15);

    font-size: 14px;
    font-weight: 700;
}


/* لیست قسمت‌ها */

.sp-downloads__episodes {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* کارت قسمت */

.sp-download-card {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 115px;

    padding: 24px 20px;

    background: #202125;
    border: 1px solid #45464b;
    border-radius: 17px;
}


/* اطلاعات قسمت */

.sp-download-card__info {
    min-width: 190px;
    padding-right: 10px;
}


.sp-download-card__episode {
    display: flex;
    align-items: center;
    gap: 5px;

    color: #eeeeee;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;

    white-space: nowrap;
}


.sp-download-card__episode-title {
    color: #d9d9d9;
}


/* لینک‌های دانلود */

.sp-download-card__links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 550px;
    gap: 5px;
}


/* دکمه دانلود */

.sp-download-button {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 63px;

    padding: 12px 45px;

    border-radius: 5px;

    background: #0caf40;
    color: #fff;

    text-decoration: none;

    transition:
            background-color 0.2s ease,
            transform 0.2s ease;
}


.sp-download-button:hover {
    background: #09a83b;
    color: #fff;

    transform: translateY(-1px);
}


/* متن لینک */

.sp-download-button__quality {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;

    text-align: center;
}


/* آیکون دانلود */

.sp-download-button__icon {
    position: absolute;

    top: 50%;
    right: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);
}


.sp-download-button__icon svg {
    display: block;
}


/* موبایل */

@media (max-width: 768px) {

    .sp-download-card {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;

        min-height: auto;
    }


    .sp-download-card__info {
        min-width: 0;
        padding-right: 0;
    }


    .sp-download-card__links {
        width: 100%;
    }


    .sp-download-button {
        min-height: 55px;
    }

}

/* =========================================================
   Multiple Servers
   ========================================================= */

.sp-download-dropdown {
    position: relative;
}


.sp-download-button--dropdown {
    font-family: inherit;
}


.sp-download-button--dropdown[aria-expanded="true"] {
    background: #098f36;
}


/* لیست سرورها */

.sp-download-servers {
    position: absolute;

    z-index: 20;

    top: calc(100% + 7px);
    left: 0;

    min-width: 143px;

    padding: 5px;

    background: #18191c;
    border: 1px solid #44464b;
    border-radius: 7px;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);

    direction: rtl;
}


.sp-download-server {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    width: 100%;

    padding: 9px 10px;

    border-radius: 5px;

    color: #eeeeee;

    font-size: 11px;
    font-weight: 600;

    text-decoration: none;

    transition: background-color 0.2s ease;
}


.sp-download-server:hover {
    background: #292b2f;
    color: #fff;
}


.sp-download-server__name {
    white-space: nowrap;
}


.sp-download-server__icon {
    display: flex;
    flex-shrink: 0;
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 768px) {

    .sp-downloads {
        margin: 24px 0;
    }

    .sp-downloads__season {
        margin-bottom: 18px;
    }

    .sp-download-card {
        flex-direction: column;

        align-items: stretch;

        gap: 18px;

        padding: 18px 14px;
    }

    .sp-download-card__info {
        min-width: 0;

        width: 100%;

        padding-right: 0;

        align-items: flex-start;
    }

    .sp-download-card__episode {
        justify-content: flex-start;

        width: 100%;

        white-space: normal;
    }

    .sp-download-card__badges {
        justify-content: flex-start;
    }

    .sp-download-card__links {
        width: 100%;
        display: grid;
        gap: 5px;
    }

    .sp-download-button {
        width: 100%;
    }

    .sp-download-dropdown {
        width: 100%;
    }

    .sp-download-servers {
        left: 0;
        right: 0;

        width: 100%;
    }
}


@media (max-width: 420px) {

    .sp-download-card__links {
        grid-template-columns: 1fr 1fr;
    }

    .sp-download-button {
        min-height: 60px;
    }

    .sp-download-button__quality {
        font-size: 13px;
    }

    .sp-download-button__size {
        font-size: 11px;
    }
}

/* =========================================================
   15. Fonts
   ========================================================= */

.site-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.site-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-pagination .page-numbers li {
    margin: 0;
}

.site-pagination .page-numbers a,
.site-pagination .page-numbers .current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius-sm);
    background: var(--site-surface);
    color: var(--site-muted);
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: var(--site-transition-fast);
}

.site-pagination .page-numbers a:hover {
    border-color: var(--site-primary);
    color: var(--site-primary);
}

.site-pagination .page-numbers .current {
    background: var(--site-primary);
    border-color: var(--site-primary);
    color: #fff;
}

.site-pagination .page-numbers .next,
.site-pagination .page-numbers .prev {
    padding: 0 14px;
}


/* =========================================================
   16. adexo
   ========================================================= */
@media (max-width: 767.98px) {
    .sticky-ad {
        position: sticky;
        top: 0;
        z-index: 1031;
        display: flex;
        justify-content: center;
        width: 100%;
        min-height: 60px;
        background: var(--bs-body-bg);
    }

    .sticky-ad #adx-3805 {
        /*width: 468px;*/
        max-width: 100%;
        min-height: 60px;
        flex: 0 1 468px;
    }
}