


/* =====================================================
   ATLAS DETECTORS — GLOBAL
===================================================== */

:root{
    --atlas-black:#080808;
    --atlas-dark:#0e0e0e;
    --atlas-card:#171717;
    --atlas-gold:#c9a227;
    --atlas-gold-light:#e6c75a;
    --atlas-gold-dark:#8d7016;
    --atlas-white:#f5f3ed;
    --atlas-text:#ddddda;
    --atlas-muted:#999999;
    --atlas-border:rgba(201,162,39,.20);
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;

    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(201,162,39,.07),
            transparent 38%
        ),
        var(--atlas-black);

    color:var(--atlas-text);

    font-family:"Vazirmatn",sans-serif !important;

    overflow-x:hidden;
}

body 
{
    font-family:"Vazirmatn",sans-serif !important;
}

button,
input,
textarea,
select,
h1,
h2,
h3,
h4,
h5,
h6{
    font-family:"Vazirmatn",sans-serif !important;
}


/* =====================================================
   HEADER
===================================================== */

.site-header{

    position:sticky !important;

    top:0 !important;

    z-index:99999 !important;

    width:100%;

    background:
        linear-gradient(
            180deg,
            #090909 0%,
            #0c0c0c 100%
        );

    border-bottom:
        1px solid
        var(--atlas-border);

    box-shadow:
        0 8px 25px
        rgba(0,0,0,.30);
}

.site-header::before{

    content:"";

    position:absolute;

    top:0;

    right:0;

    left:0;

    height:2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--atlas-gold-dark),
            var(--atlas-gold-light),
            var(--atlas-gold-dark),
            transparent
        );
}


/* =====================================================
   HEADER ROW
   اصلاح اصلی:
   ستون‌های کناری فضای ثابت خودشان را حفظ می‌کنند
   و منو فقط فضای باقی‌مانده را مصرف می‌کند.
===================================================== */

.header-row{

    width:min(1280px,96%);

    min-height:78px;

    margin:auto;

    display:grid;

    /*
       راست = لوگو
       وسط = منو
       چپ = توضیحات
    */

    grid-template-columns:
        90px
        minmax(0,1fr)
        minmax(180px,250px);

    align-items:center;

    gap:14px;

    padding:7px 0;

    box-sizing:border-box;
}


/* =====================================================
   LOGO
===================================================== */

.header-brand{

    justify-self:start;

    width:70px;

    min-width:70px;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    gap:3px;

    text-align:center;

    overflow:visible;
}

.logo-link{

    width:55px;

    height:55px;

    flex-shrink:0;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:2px;

    text-decoration:none;

    background:transparent;

    border:0;

    box-shadow:none;

    transition:.25s ease;
}

.logo-link:hover{
    transform:translateY(-2px);
}

.logo-link img{

    display:block;

    width:100%;

    height:100%;

    object-fit:contain;

    border-radius:50%;
}

.header-title{

    display:block;

    width:max-content;

    max-width:90px;

    color:var(--atlas-white);

    font-size:12px;

    line-height:1.4;

    font-weight:900;

    white-space:nowrap;
}


/* =====================================================
   DESKTOP NAV
===================================================== */

.main-nav{

    position:static !important;

    z-index:1000;

    width:100%;

    min-width:0;

    overflow:visible;

    background:transparent !important;

    border:0 !important;

    box-shadow:none !important;
}

.main-nav-row{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:1px;

    flex-wrap:nowrap;

    white-space:nowrap;

    width:100%;

    min-width:0;

    background:transparent !important;
}

.main-nav-row .nav-link{

    position:relative;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:4px;

    min-height:38px;

    padding:7px 7px;

    color:#d8d6cf;

    text-decoration:none;

    font-size:14px;

    font-weight:600;

    border-radius:7px;

    background:transparent !important;

    transition:
        color .25s ease,
        background .25s ease,
        transform .25s ease;

    flex:0 1 auto;

    min-width:0;
}

.main-nav-row .nav-link:hover{

    color:#f1d86b;

    background:
        rgba(201,162,39,.06) !important;
}

.main-nav-row .nav-link::after{

    content:"";

    position:absolute;

    right:8px;

    left:8px;

    bottom:2px;

    height:2px;

    border-radius:2px;

    background:var(--atlas-gold);

    transform:scaleX(0);

    transition:.25s ease;
}

.main-nav-row .nav-link:hover::after{
    transform:scaleX(1);
}


/* =====================================================
   ICONS
===================================================== */

.nav-icon{



    color:var(--atlas-gold);

    font-weight:700;

    font-style:normal;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    line-height:1;

    width:18px;

    flex-shrink:0;

    font-size:17px;
}


/* =====================================================
   DESCRIPTION
===================================================== */

.header-tagline{

    width:100%;

    max-width:250px;

    min-width:0;

    justify-self:end;

    color:var(--atlas-muted);

    font-size:10px;

    line-height:1.9;

    text-align:left;

    overflow:visible;

    white-space:normal;

    word-break:normal;

    overflow-wrap:normal;
}


/* =====================================================
   RESPONSIVE DESKTOP
   وقتی عرض کم می‌شود، اول منو جمع‌وجور می‌شود.
===================================================== */

@media(max-width:1200px) and (min-width:851px){

    .header-row{

        width:97%;

        grid-template-columns:
            82px
            minmax(0,1fr)
            minmax(150px,210px);

        gap:8px;
    }

    .main-nav-row .nav-link{

        padding-left:5px;

        padding-right:5px;

        font-size:13px;

        gap:3px;
    }

    .nav-icon{

        width:16px;

        font-size:16px;
    }

    .header-tagline{

        font-size:9px;
    }
}


/* =====================================================
   DESKTOP TIGHT
===================================================== */

@media(max-width:1050px) and (min-width:851px){

    .header-row{

        width:98%;

        grid-template-columns:
            75px
            minmax(0,1fr)
            minmax(125px,175px);

        gap:5px;
    }

    .main-nav-row{

        gap:0;
    }

    .main-nav-row .nav-link{

        padding-left:3px;

        padding-right:3px;

        font-size:12px;
    }

    .nav-icon{

        width:14px;

        font-size:15px;
    }

    .header-tagline{

        font-size:8px;

        line-height:1.7;
    }
}


/* =====================================================
   HAMBURGER
===================================================== */

.nav-toggle{

    display:none;

    width:42px;

    height:40px;

    padding:0;

    margin:0;

    border:
        1px solid
        rgba(201,162,39,.30);

    border-radius:7px;

    background:#151515;

    cursor:pointer;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    gap:5px;

    position:relative;

    z-index:1000001;

    -webkit-tap-highlight-color:transparent;
}

.nav-toggle .bar{

    display:block;

    width:23px;

    height:2px;

    margin:0;

    background:var(--atlas-gold);

    border-radius:3px;

    transition:
        transform .25s ease,
        opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(1){

    transform:
        translateY(7px)
        rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(2){
    opacity:0;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(3){

    transform:
        translateY(-7px)
        rotate(-45deg);
}


/* =====================================================
   MOBILE MENU
===================================================== */

.atlas-mobile-menu{

    display:none;
}


/* =====================================================
   MOBILE
===================================================== */

@media(max-width:850px){

    .header-row{

        width:92%;

        min-height:70px;

        grid-template-columns:
            auto
            1fr
            auto;

        gap:10px;

        padding:6px 0;
    }

    .header-brand{

        justify-self:start;

        width:60px;

        min-width:60px;
    }

    .logo-link{

        width:48px;

        height:48px;
    }

    .header-title{
        font-size:10px;
    }

    .header-tagline{
        display:none;
    }


    /* -----------------------------
       HAMBURGER
    ----------------------------- */

    .nav-toggle{

        display:flex !important;

        grid-column:3;

        grid-row:1;

        justify-self:end;

        align-self:center;
    }


    /* -----------------------------
       DESKTOP NAV HIDDEN
    ----------------------------- */

    .main-nav{
        display:none !important;
    }


    /* -----------------------------
       MOBILE MENU
    ----------------------------- */

    .atlas-mobile-menu{

        display:block;

        position:fixed;

        top:71px;

        right:0;

        left:0;

        width:100%;

        max-height:
            calc(100vh - 71px);

        overflow-y:auto;

        overflow-x:hidden;

        background:
            linear-gradient(
                180deg,
                #0b0b0b 0%,
                #101010 100%
            );

        border-top:
            1px solid
            rgba(201,162,39,.18);

        border-bottom:
            1px solid
            rgba(201,162,39,.25);

        box-shadow:
            0 18px 40px
            rgba(0,0,0,.65);

        z-index:99998;

        opacity:0;

        visibility:hidden;

        pointer-events:none;

        transform:translateY(-12px);

        transition:
            opacity .22s ease,
            transform .22s ease,
            visibility .22s ease;
    }

    .atlas-mobile-menu.open{

        opacity:1;

        visibility:visible;

        pointer-events:auto;

        transform:translateY(0);
    }

    .atlas-mobile-menu-inner{

        width:92%;

        margin:0 auto;

        padding:9px 0 14px;
    }


    /* -----------------------------
       MOBILE LINKS
    ----------------------------- */

    .atlas-mobile-link{

        display:flex;

        align-items:center;

        justify-content:flex-start;

        gap:9px;

        width:100%;

        min-height:44px;

        box-sizing:border-box;

        padding:10px 13px;

        margin-bottom:3px;

        color:#d8d6cf;

        text-decoration:none;

        font-size:14px;

        font-weight:600;

        border-radius:7px;

        background:transparent;

        transition:
            color .2s ease,
            background .2s ease;
    }

    .atlas-mobile-link:hover,
    .atlas-mobile-link:active{

        color:#f1d86b;

        background:
            rgba(201,162,39,.08);
    }

    .atlas-mobile-icon{

        width:22px;

        color:var(--atlas-gold);

        font-size:17px;

        text-align:center;
    }
}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media(max-width:480px){

    .header-row{

        width:92%;

        min-height:66px;
    }

    .header-brand{
        width:55px;

        min-width:55px;
    }

    .logo-link{

        width:44px;

        height:44px;
    }

    .header-title{
        font-size:9px;
    }

    .nav-toggle{

        width:40px;

        height:36px;
    }

    .nav-toggle .bar{
        width:23px;
    }

    .atlas-mobile-menu{

        top:67px;

        max-height:
            calc(100vh - 67px);
    }
}


/* =====================================================
   SCROLLBAR
===================================================== */

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-track{
    background:#090909;
}

::-webkit-scrollbar-thumb{

    background:
        var(--atlas-gold-dark);

    border-radius:10px;
}

::-webkit-scrollbar-thumb:hover{

    background:
        var(--atlas-gold);
}


/* =====================================================
   SELECTION
===================================================== */

::selection{

    background:
        var(--atlas-gold);

    color:#111;
}


/* =====================================================
   NAV LINK OVERRIDE
===================================================== */

.main-nav-row .nav-link,
.main-nav-row .nav-link:visited{

    text-decoration:none !important;
}

.main-nav-row .nav-link:visited{

    color:#d8d6cf;
}

.main-nav-row .nav-link:hover{

    color:#f1d86b !important;
}


/* =====================================================
   ATLAS PREMIUM LOADER
===================================================== */

#pageLoader.atlas-premium-loader{

    position:fixed;

    inset:0;

    z-index:999999;

    display:flex;

    align-items:center;

    justify-content:center;

    background:
        radial-gradient(
            circle at center,
            #171717 0%,
            #0b0b0b 45%,
            #050505 100%
        );

    opacity:1;

    visibility:visible;

    transition:
        opacity .7s ease,
        visibility .7s ease;
}

#pageLoader.atlas-premium-loader.loaded{

    opacity:0;

    visibility:hidden;

    pointer-events:none;
}

.atlas-loader-content{

    position:relative;

    width:190px;

    height:190px;

    display:flex;

    align-items:center;

    justify-content:center;
}

.atlas-loader-logo{

    position:absolute;

    width:82px;

    height:82px;

    display:flex;

    align-items:center;

    justify-content:center;

    border:
        1px solid
        rgba(201,162,39,.55);

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(201,162,39,.13),
            rgba(201,162,39,.02) 65%,
            transparent 70%
        );

    box-shadow:
        0 0 25px rgba(201,162,39,.10),
        inset 0 0 20px rgba(201,162,39,.05);

    animation:
        atlasLogoPulse 2s ease-in-out infinite;
}

.atlas-loader-logo::before{

    content:"";

    position:absolute;

    inset:7px;

    border:
        1px solid
        rgba(230,199,90,.18);

    border-radius:50%;
}

.atlas-loader-logo span{

    position:relative;

    z-index:2;

    color:#e6c75a;

    font-family:Arial,sans-serif !important;

    font-size:17px;

    font-weight:800;

    letter-spacing:3px;

    text-shadow:
        0 0 12px
        rgba(201,162,39,.4);
}

.atlas-loader-ring{

    position:absolute;

    width:125px;

    height:125px;

    border-radius:50%;

    border:1px solid transparent;

    border-top-color:#e6c75a;

    border-right-color:
        rgba(201,162,39,.35);

    animation:
        atlasLoaderSpin 1.5s linear infinite;

    filter:
        drop-shadow(
            0 0 5px
            rgba(201,162,39,.3)
        );
}

.atlas-loader-ring::before{

    content:"";

    position:absolute;

    width:5px;

    height:5px;

    top:8px;

    right:18px;

    border-radius:50%;

    background:#f0d76b;

    box-shadow:
        0 0 8px
        rgba(230,199,90,.8),

        0 0 15px
        rgba(201,162,39,.45);
}

.atlas-loader-ring::after{

    content:"";

    position:absolute;

    inset:10px;

    border-radius:50%;

    border:
        1px dashed
        rgba(201,162,39,.13);

    animation:
        atlasLoaderSpinReverse
        4s linear infinite;
}

.atlas-loader-line{

    position:absolute;

    width:130px;

    height:2px;

    left:50%;

    bottom:12px;

    transform:translateX(-50%);

    overflow:hidden;

    background:
        rgba(255,255,255,.07);

    border-radius:10px;
}

.atlas-loader-line span{

    position:absolute;

    top:0;

    left:-40%;

    width:40%;

    height:100%;

    border-radius:10px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #e6c75a,
            #c9a227,
            transparent
        );

    box-shadow:
        0 0 8px
        rgba(201,162,39,.45);

    animation:
        atlasLoaderLine
        1.4s ease-in-out infinite;
}

.atlas-loader-text{

    position:absolute;

    bottom:-27px;

    display:flex;

    align-items:center;

    gap:7px;

    direction:ltr;

    font-family:Arial,sans-serif !important;
}

.atlas-loader-text span{

    color:#e6c75a;

    font-size:11px;

    font-weight:800;

    letter-spacing:3px;
}

.atlas-loader-text small{

    color:#777;

    font-size:8px;

    letter-spacing:2px;
}


/* =====================================================
   ANIMATIONS
===================================================== */

@keyframes atlasLoaderSpin{

    from{
        transform:rotate(0deg);
    }

    to{
        transform:rotate(360deg);
    }
}

@keyframes atlasLoaderSpinReverse{

    from{
        transform:rotate(360deg);
    }

    to{
        transform:rotate(0deg);
    }
}

@keyframes atlasLogoPulse{

    0%,
    100%{

        transform:scale(1);

        box-shadow:
            0 0 25px
            rgba(201,162,39,.10),

            inset 0 0 20px
            rgba(201,162,39,.05);
    }

    50%{

        transform:scale(1.04);

        box-shadow:
            0 0 35px
            rgba(201,162,39,.20),

            inset 0 0 25px
            rgba(201,162,39,.08);
    }
}

@keyframes atlasLoaderLine{

    0%{
        left:-40%;
    }

    100%{
        left:110%;
    }
}


/* =====================================================
   MOBILE LOADER
===================================================== */

@media(max-width:600px){

    .atlas-loader-content{

        transform:scale(.88);
    }
}



/* ===== FIXED HEADER - ALL PAGES ===== */
.site-header{
    position:fixed !important;
    top:0 !important;
    right:0 !important;
    left:0 !important;
    width:100% !important;
    z-index:999999 !important;
}

/* جلوگیری از رفتن محتوای صفحه زیر هدر */
body{
    padding-top:92px !important;
}

@media(max-width:850px){
    body{
        padding-top:82px !important;
    }
}

@media(max-width:480px){
    body{
        padding-top:76px !important;
    }
}


/* ===== MOBILE MENU POSITION FIX ===== */

@media (max-width:850px){
    .atlas-mobile-menu{
        top:100px !important;
    }
}








.site-footer{
    position:relative;
    width:100%;
    margin-top:35px;
    padding:28px 0 0;

    background:
        linear-gradient(
            180deg,
            #101010 0%,
            #080808 100%
        );

    border-top:1px solid rgba(201,162,39,.18);

    color:#aaa;

    overflow:hidden;
}


/* خط طلایی بالای فوتر */

.site-footer::before{
    content:"";

    position:absolute;

    top:0;
    left:50%;

    width:90px;
    height:2px;

    transform:translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            #c9a227,
            #e6c75a,
            #c9a227,
            transparent
        );

    box-shadow:
        0 0 12px
        rgba(201,162,39,.18);
}


/* =====================================================
   MAIN FOOTER
===================================================== */

.footer-main{

    width:min(1180px,94%);

    margin:auto;

    display:grid;

    grid-template-columns:
        1.35fr
        1fr
        1fr;

    gap:50px;

    padding:0 0 25px;
}


/* =====================================================
   COMMON
===================================================== */

.footer-section{
    min-width:0;
}


/* =====================================================
   BRAND
===================================================== */

.footer-brand{

    display:flex;

    align-items:center;

    gap:12px;

    margin-bottom:10px;
}


.footer-logo{

    width:42px !important;
    height:42px !important;

    min-width:42px !important;
    max-width:42px !important;

    min-height:42px !important;
    max-height:42px !important;

    object-fit:contain !important;

    display:block !important;

    padding:0 !important;
    margin:0 !important;

    border:0 !important;
    border-radius:0 !important;

    background:transparent !important;

    box-shadow:none !important;
}


.footer-brand-divider{

    width:1px;
    height:27px;

    background:
        rgba(201,162,39,.30);
}


.footer-brand-name{

    color:#f3f1e9;

    font-size:16px;

    font-weight:900;

    line-height:1.4;
}


.footer-brand-sub{

    display:block;

    margin-top:2px;

    color:#777;

    font-family:Arial,sans-serif !important;

    font-size:7px;

    letter-spacing:2px;

    direction:ltr;
}


.footer-description{

    max-width:400px;

    margin:0;

    color:#999;

    font-size:9px;

    line-height:1.9;
}


/* =====================================================
   SECTION TITLE
===================================================== */

.footer-title{

    position:relative;

    margin:0 0 13px;

    padding-right:10px;

    color:#eee;

    font-size:12px;

    font-weight:800;

    line-height:1.5;
}


.footer-title::before{

    content:"";

    position:absolute;

    right:0;

    top:2px;

    width:2px;

    height:16px;

    border-radius:4px;

    background:
        linear-gradient(
            180deg,
            #e6c75a,
            #8d7016
        );
}


/* =====================================================
   NAVIGATION
===================================================== */

.footer-nav{

    display:grid;

    grid-template-columns:1fr 1fr;

    column-gap:20px;

    row-gap:7px;
}


.footer-nav a{

    display:flex;

    align-items:center;

    gap:6px;

    color:#969696;

    font-size:9px;

    line-height:1.7;

    text-decoration:none;

    transition:
        color .2s ease,
        transform .2s ease;
}


.footer-nav a::before{

    content:"";

    width:3px;
    height:3px;

    flex-shrink:0;

    border-radius:50%;

    background:#8d7016;

    transition:.2s ease;
}


.footer-nav a:hover{

    color:#e6c75a;

    transform:translateX(-2px);
}


.footer-nav a:hover::before{

    background:#e6c75a;

    box-shadow:
        0 0 5px
        rgba(230,199,90,.5);
}


/* =====================================================
   CONTACT
===================================================== */

.footer-contact{

    display:flex;

    flex-direction:column;

    gap:7px;
}


.footer-contact-item{

    display:flex;

    align-items:center;

    gap:8px;

    color:#969696;

    font-size:9px;

    line-height:1.6;

    text-decoration:none;

    transition:
        color .2s ease;
}


.footer-contact-icon{

    width:25px;
    height:25px;

    flex-shrink:0;

    display:flex;

    align-items:center;
    justify-content:center;

    border-radius:6px;

    color:#c9a227;

    background:#151515;

    border:
        1px solid
        rgba(201,162,39,.13);

    font-size:12px;

    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease;
}


.footer-contact-item:hover{

    color:#e6c75a;
}


.footer-contact-item:hover
.footer-contact-icon{

    color:#111;

    background:#c9a227;

    border-color:#c9a227;
}


/* =====================================================
   BOTTOM BAR
===================================================== */

.footer-bottom{

    width:min(1180px,94%);

    margin:auto;

    min-height:42px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:20px;

    border-top:
        1px solid
        rgba(255,255,255,.055);

    color:#606060;

    font-size:8px;

    line-height:1.8;
}


.footer-copy{

    margin:0;

    text-align:right;
}


.footer-credit{

    margin:0;

    text-align:left;
}


.footer-credit a{

    color:#c9a227 !important;

    text-decoration:none;

    transition:.2s ease;
}


.footer-credit a:hover{

    color:#e6c75a !important;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media(max-width:850px){

    .footer-main{

        grid-template-columns:
            1.2fr
            1fr;

        gap:28px;

        padding-bottom:22px;
    }

    .footer-brand-section{

        grid-column:1 / -1;
    }

    .footer-description{

        max-width:600px;
    }

}


@media(max-width:550px){

    .site-footer{

        margin-top:28px;

        padding-top:24px;
    }


    .footer-main{

        width:92%;

        display:grid;

        grid-template-columns:
            1fr 1fr;

        gap:24px 18px;

        padding-bottom:20px;
    }


    .footer-brand-section{

        grid-column:1 / -1;
    }


    .footer-brand{

        margin-bottom:8px;
    }


    .footer-logo{

        width:40px !important;
        height:40px !important;

        min-width:40px !important;
        max-width:40px !important;

        min-height:40px !important;
        max-height:40px !important;
    }


    .footer-brand-name{

        font-size:14px;
    }


    .footer-brand-sub{

        font-size:6px;

        letter-spacing:1.5px;
    }


    .footer-description{

        font-size:8.5px;

        line-height:1.85;
    }


    .footer-title{

        margin-bottom:10px;

        font-size:11px;
    }


    .footer-nav{

        grid-template-columns:1fr;

        gap:6px;
    }


    .footer-nav a,
    .footer-contact-item{

        font-size:8.5px;
    }


    .footer-contact-icon{

        width:24px;
        height:24px;

        font-size:11px;
    }


    .footer-bottom{

        width:92%;

        min-height:auto;

        padding:10px 0 12px;

        display:flex;

        flex-direction:column;

        align-items:center;

        justify-content:center;

        gap:3px;

        font-size:7.5px;
    }


    .footer-copy,
    .footer-credit{

        text-align:center;
    }

}


/* =====================================================
   VERY SMALL MOBILE
===================================================== */

@media(max-width:370px){

    .footer-main{

        grid-template-columns:1fr;

        gap:20px;
    }

    .footer-brand-section{

        grid-column:auto;
    }

    .footer-nav{

        grid-template-columns:1fr 1fr;
    }

}













:root{
    --atlas-bg:#080808;
    --atlas-bg-2:#0d0d0d;
    --atlas-card:#141414;
    --atlas-card-2:#191919;
    --atlas-gold:#c9a227;
    --atlas-gold-light:#e5c65a;
    --atlas-gold-dark:#8e7018;
    --atlas-text:#f1efe8;
    --atlas-muted:#999;
    --atlas-border:rgba(201,162,39,.18);
    --atlas-radius:12px;
}
body{
    background:radial-gradient(circle at 50% 0%,rgba(201,162,39,.055),transparent 35%),var(--atlas-bg);
}
a{text-decoration:none;}
.section-title{
    position:relative;
    width:min(1180px,94%);
    margin:55px auto 28px;
    padding-right:18px;
    color:var(--atlas-text);
    font-size:23px;
    font-weight:900;
    display:flex;
    align-items:center;
    gap:8px;
}
.section-title::before{
    content:"";
    position:absolute;
    right:0;
    width:4px;
    height:30px;
    border-radius:5px;
    background:linear-gradient(180deg,var(--atlas-gold-light),var(--atlas-gold-dark));
}

/* HERO SLIDER */
.hero-slider{
    position:relative;
    width:92%;
    max-width:1100px;
    height:360px;
    min-height:360px;
    margin:25px auto 0;
    border-radius:16px;
    overflow:hidden;
    background:#000;
    border:1px solid rgba(201,162,39,.12);
    box-shadow:0 20px 50px rgba(0,0,0,.4);
    isolation:isolate;
    visibility:hidden;
    opacity:0;
    transition:opacity .45s ease,visibility .45s ease;
}
.hero-slider.hero-ready{
    visibility:visible;
    opacity:1;
}
.hero-slides{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    overflow:hidden;
}
.hero-slide{
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    width:100%;
    height:100%;
    margin:0;
    padding:0;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    overflow:hidden;
    background:#000;
    transform:none!important;
    transition:opacity .8s ease,visibility .8s ease;
    z-index:0;
}
.hero-slide.active{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    z-index:5;
}

/* HERO IMAGE */
.hero-slide>a{
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    width:100%;
    height:100%;
    margin:0;
    padding:0;
    display:block!important;
    overflow:hidden;
    z-index:1;
}
.hero-slide-image{
    position:absolute!important;
    top:0!important;
    right:0!important;
    bottom:0!important;
    left:0!important;
    width:100%!important;
    height:100%!important;
    min-width:100%!important;
    min-height:100%!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    display:block!important;
    border:0!important;
    outline:0!important;
    object-fit:cover!important;
    object-position:center center!important;
    background:#000!important;
    transform:scale(1.18);
    transform-origin:center center;
    will-change:transform;
    animation:none;
}
@keyframes heroZoomOut{
    0%{transform:scale(1.18);}
    100%{transform:scale(1);}
}

/* HERO OVERLAY */
.hero-slide::before{
    content:"";
    position:absolute;
    right:0;
    left:0;
    bottom:0;
    height:38%;
    z-index:3;
    background:linear-gradient(
        0deg,
        rgba(0,0,0,.88) 0%,
        rgba(0,0,0,.48) 42%,
        rgba(0,0,0,.08) 78%,
        transparent 100%
    );
    pointer-events:none;
}
.hero-slide::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:4;
    pointer-events:none;
    background:linear-gradient(
        90deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,.02) 55%,
        rgba(0,0,0,.12) 100%
    );
}

/* HERO CONTENT - FIX */
.hero-slide-content{
    position:absolute!important;
    z-index:50!important;
    right:7%!important;
    left:7%!important;
    bottom:28px!important;
    width:auto!important;
    max-width:86%!important;
    text-align:right!important;
    direction:rtl!important;
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    color:#fff!important;
    pointer-events:auto!important;
}

/* همه عناصر متن اسلایدر */
.hero-slide-content .hero-slide-badge,
.hero-slide-content .hero-slide-title,
.hero-slide-content .hero-slide-description,
.hero-slide-content .hero-slide-more{
    position:relative!important;
    z-index:51!important;
    visibility:visible!important;
    opacity:1!important;
}

/* BADGE */
.hero-slide-badge{
    display:inline-flex!important;
    align-items:center;
    gap:6px;
    margin-bottom:8px;
    padding:5px 10px;
    border-radius:6px;
    background:rgba(201,162,39,.94)!important;
    color:#111!important;
    font-size:10px;
    font-weight:900;
    box-shadow:0 5px 18px rgba(0,0,0,.25);
}

/* PRODUCT TITLE */
.hero-slide-title{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    position:relative!important;
    z-index:51!important;
    margin:0!important;
    padding:0!important;
    color:#fff!important;
    font-size:27px!important;
    line-height:1.5!important;
    font-weight:900!important;
    text-shadow:0 3px 15px rgba(0,0,0,.95)!important;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    width:100%!important;
}

/* DESCRIPTION */
.hero-slide-description{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    position:relative!important;
    z-index:51!important;
    margin:5px 0 0!important;
    max-width:700px;
    color:rgba(245,243,237,.88)!important;
    font-size:11px;
    line-height:1.8;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

/* MORE BUTTON */
.hero-slide-more{
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    position:relative!important;
    z-index:52!important;
    visibility:visible!important;
    opacity:1!important;
    gap:8px;
    margin-top:9px;
    padding:8px 14px;
    border-radius:7px;
    background:linear-gradient(
        135deg,
        var(--atlas-gold-light),
        var(--atlas-gold),
        var(--atlas-gold-dark)
    )!important;
    color:#111!important;
    font-size:10px;
    font-weight:900;
    border:1px solid rgba(229,198,90,.55);
    box-shadow:0 7px 20px rgba(0,0,0,.25);
    transition:transform .25s ease,box-shadow .25s ease;
}
.hero-slide-more:hover{
    transform:translateY(-2px);
    color:#080808!important;
    box-shadow:0 10px 25px rgba(201,162,39,.20);
}

/* HERO NAVIGATION */
.hero-nav-arrow{
    position:absolute;
    top:50%;
    z-index:20;
    width:40px;
    height:40px;
    margin:0;
    padding:0;
    display:flex;
    align-items:center;
    justify-content:center;
    transform:translateY(-50%);
    border:1px solid rgba(229,198,90,.30);
    border-radius:50%;
    background:rgba(8,8,8,.52);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    color:rgba(229,198,90,.95);
    cursor:pointer;
    box-shadow:0 7px 22px rgba(0,0,0,.28);
    transition:background .25s ease,border-color .25s ease,color .25s ease,transform .25s ease,box-shadow .25s ease;
    -webkit-tap-highlight-color:transparent;
    font-family:Arial,sans-serif!important;
    font-size:22px;
    font-weight:400;
    line-height:1;
}
.hero-nav-prev{right:18px;}
.hero-nav-next{left:18px;}
.hero-nav-arrow i{display:none!important;}
.hero-nav-prev::before{content:"<";}
.hero-nav-next::before{content:">";}
.hero-nav-arrow:hover{
    background:rgba(201,162,39,.92);
    border-color:var(--atlas-gold-light);
    color:#111;
    transform:translateY(-50%) scale(1.08);
    box-shadow:0 9px 28px rgba(201,162,39,.20);
}
.hero-nav-arrow:active{transform:translateY(-50%) scale(.94);}
.hero-nav-arrow:focus-visible{
    outline:2px solid var(--atlas-gold-light);
    outline-offset:3px;
}

/* HERO DOTS */
.hero-dots{
    position:absolute;
    right:50%;
    bottom:17px;
    z-index:25;
    transform:translateX(50%);
    display:flex;
    align-items:center;
    justify-content:center;
    direction:ltr;
    gap:7px;
    padding:6px 9px;
    border-radius:20px;
    background:rgba(5,5,5,.38);
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(7px);
    -webkit-backdrop-filter:blur(7px);
}
.hero-dot{
    width:6px;
    height:6px;
    padding:0;
    margin:0;
    border:0;
    border-radius:50%;
    background:rgba(255,255,255,.38);
    cursor:pointer;
    transition:width .3s ease,background .3s ease,transform .3s ease;
    -webkit-tap-highlight-color:transparent;
}
.hero-dot.active{
    width:21px;
    border-radius:10px;
    background:linear-gradient(90deg,var(--atlas-gold-dark),var(--atlas-gold-light));
    box-shadow:0 0 9px rgba(201,162,39,.25);
}
.hero-dot:hover{
    background:var(--atlas-gold-light);
    transform:scale(1.15);
}

/* HERO COUNTER */
.hero-counter{
    position:absolute;
    left:18px;
    bottom:17px;
    z-index:25;
    direction:ltr;
    color:rgba(255,255,255,.60);
    font-family:Arial,sans-serif!important;
    font-size:10px;
    font-weight:700;
    letter-spacing:2px;
    padding:6px 9px;
    border-radius:6px;
    background:rgba(5,5,5,.34);
    border:1px solid rgba(255,255,255,.07);
    backdrop-filter:blur(7px);
    -webkit-backdrop-filter:blur(7px);
}

/* HERO RESPONSIVE */
@media(max-width:900px){
    .hero-slider{
        width:94%;
        height:300px;
        min-height:300px;
    }
    .hero-slide-content{
        right:7%!important;
        left:7%!important;
        bottom:25px!important;
        max-width:86%!important;
    }
    .hero-slide-title{font-size:22px!important;}
    .hero-slide-description{font-size:10px;}
    .hero-nav-prev{right:13px;}
    .hero-nav-next{left:13px;}
    .hero-nav-arrow{
        width:37px;
        height:37px;
        font-size:20px;
    }
}

@media(max-width:650px){
    .hero-slider{
        width:94%;
        height:220px;
        min-height:220px;
        margin:15px auto 0;
        border-radius:10px;
    }

    .hero-slide-image{
        width:100%!important;
        height:100%!important;
        min-width:100%!important;
        min-height:100%!important;
        object-fit:cover!important;
        object-position:center center!important;
    }

    .hero-slide::before{
        height:48%;
        background:linear-gradient(
            0deg,
            rgba(0,0,0,.90),
            rgba(0,0,0,.48) 48%,
            transparent 100%
        );
    }

    .hero-slide-content{
        right:9%!important;
        left:9%!important;
        bottom:17px!important;
        max-width:82%!important;
    }

    .hero-slide-badge{
        margin-bottom:4px;
        padding:4px 7px;
        font-size:8px;
    }

    .hero-slide-title{
        font-size:15px!important;
        line-height:1.5!important;
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
    }

    .hero-slide-description{
        margin-top:2px!important;
        font-size:8px;
        line-height:1.6;
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
    }

    .hero-slide-more{
        margin-top:6px;
        padding:5px 8px;
        font-size:8px;
        gap:5px;
    }

    .hero-nav-arrow{
        width:31px;
        height:31px;
        font-size:17px;
    }

    .hero-nav-prev{right:7px;}
    .hero-nav-next{left:7px;}

    .hero-dots{
        bottom:8px;
        gap:5px;
        padding:5px 7px;
    }

    .hero-dot{
        width:5px;
        height:5px;
    }

    .hero-dot.active{width:16px;}

    .hero-counter{
        left:8px;
        bottom:8px;
        font-size:8px;
        padding:4px 6px;
        letter-spacing:1px;
    }
}

@media(max-width:450px){
    .hero-slider{
        height:190px;
        min-height:190px;
    }

    .hero-slide-content{
        right:10%!important;
        left:10%!important;
        bottom:14px!important;
        max-width:80%!important;
    }

    .hero-slide-title{font-size:13px!important;}
    .hero-slide-description{font-size:7px;}

    .hero-slide-more{
        padding:4px 7px;
        font-size:7px;
    }

    .hero-nav-arrow{
        width:28px;
        height:28px;
        font-size:15px;
    }

    .hero-nav-prev{right:5px;}
    .hero-nav-next{left:5px;}
}

/* مطالب منتخب */
.selected-posts-section{
    width:100%;
    padding-bottom:10px;
}
.selected-posts-grid{
    width:min(1180px,94%);
    margin:auto;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
}
.selected-post-card{
    position:relative;
    overflow:hidden;
    background:linear-gradient(145deg,#181818,#101010);
    border:1px solid var(--atlas-border);
    border-radius:var(--atlas-radius);
    box-shadow:0 12px 30px rgba(0,0,0,.28);
    transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease;
}
.selected-post-card:hover{
    transform:translateY(-7px);
    border-color:rgba(201,162,39,.55);
    box-shadow:0 18px 45px rgba(0,0,0,.45),0 0 25px rgba(201,162,39,.05);
}
.selected-post-thumb{
    position:relative;
    height:220px;
    overflow:hidden;
    background:#0b0b0b;
}
.selected-post-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .5s ease;
}
.selected-post-card:hover .selected-post-thumb img{transform:scale(1.06);}
.selected-post-thumb::after{
    content:"";
    position:absolute;
    right:0;
    left:0;
    bottom:0;
    height:45%;
    background:linear-gradient(transparent,rgba(0,0,0,.85));
}
.selected-post-badge{
    position:absolute;
    top:14px;
    right:14px;
    z-index:2;
    padding:6px 10px;
    border-radius:6px;
    background:var(--atlas-gold);
    color:#111;
    font-size:11px;
    font-weight:900;
}
.selected-post-body{padding:18px;}
.selected-post-title{
    margin:0 0 10px;
    font-size:17px;
    line-height:1.8;
}
.selected-post-title a{color:var(--atlas-text);}
.selected-post-title a:hover{color:var(--atlas-gold-light);}
.selected-post-desc{
    color:var(--atlas-muted);
    font-size:12px;
    line-height:2;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
    min-height:72px;
}
.selected-post-more{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-top:15px;
    color:var(--atlas-gold-light);
    font-size:12px;
    font-weight:bold;
}

/* دسته‌بندی‌ها */
.category-selected-section{
    width:min(1180px,94%);
    margin:auto;
}
.category-selected-section .section-title{width:100%;}
.category-selected-block{
    margin-bottom:25px;
    padding:20px;
    background:linear-gradient(145deg,#151515,#0f0f0f);
    border:1px solid var(--atlas-border);
    border-radius:var(--atlas-radius);
}
.category-selected-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    margin-bottom:18px;
    padding-bottom:15px;
    border-bottom:1px solid rgba(255,255,255,.06);
}
.category-selected-header h3{
    margin:0;
    color:var(--atlas-text);
    font-size:17px;
}
.category-selected-header h3 i{
    color:var(--atlas-gold);
    margin-left:7px;
}
.category-selected-header>a{
    color:var(--atlas-gold-light);
    font-size:12px;
    white-space:nowrap;
}
.category-selected-header>a:hover{color:#fff;}
.category-posts-mini-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
}
.category-mini-card{
    display:flex;
    align-items:center;
    gap:12px;
    padding:10px;
    background:rgba(255,255,255,.025);
    border:1px solid rgba(255,255,255,.05);
    border-radius:9px;
    transition:.25s ease;
}
.category-mini-card:hover{
    border-color:rgba(201,162,39,.3);
    background:rgba(201,162,39,.04);
    transform:translateY(-2px);
}
.category-mini-thumb{
    width:75px;
    height:65px;
    flex-shrink:0;
    object-fit:cover;
    border-radius:7px;
    background:#090909;
}
.category-mini-info{min-width:0;}
.category-mini-title{
    margin:0;
    font-size:12px;
    line-height:1.8;
}
.category-mini-title a{color:#ddd;}
.category-mini-title a:hover{color:var(--atlas-gold-light);}
.category-mini-date{
    display:block;
    margin-top:4px;
    color:#777;
    font-size:10px;
}

/* آخرین مطالب */
.posts-section{
    width:100%;
    padding-bottom:40px;
}
.posts-section>.section-title{width:min(1180px,94%);}

.post-card{
    position:relative;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    background:linear-gradient(145deg,#171717,#101010);
    border:1px solid rgba(255,255,255,.07);
    border-radius:var(--atlas-radius);
    box-shadow:0 12px 30px rgba(0,0,0,.3);
    transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease;
}
.post-card:hover{
    transform:translateY(-6px);
    border-color:rgba(201,162,39,.4);
    box-shadow:0 18px 45px rgba(0,0,0,.45);
}
.post-thumb-wrap{
    position:relative;
    height:220px;
    overflow:hidden;
    background:#090909;
}
.post-thumb-wrap img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .5s ease;
}
.post-card:hover .post-thumb-wrap img{transform:scale(1.05);}
.post-color-line{
    position:absolute;
    right:0;
    left:0;
    bottom:0;
    height:3px;
    background:linear-gradient(90deg,transparent,var(--atlas-gold),var(--atlas-gold-light),var(--atlas-gold),transparent);
}
.post-body{
    padding:18px;
    display:flex;
    flex-direction:column;
    flex:1;
}
.post-cats{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-bottom:9px;
}
.post-cats a{
    padding:4px 8px;
    border-radius:5px;
    background:rgba(201,162,39,.08);
    color:var(--atlas-gold-light);
    font-size:10px;
    border:1px solid rgba(201,162,39,.14);
}
.post-title{
    margin:0 0 9px;
    font-size:17px;
    line-height:1.8;
}
.post-title a{color:var(--atlas-text);}
.post-title a:hover{color:var(--atlas-gold-light);}
.post-excerpt{
    color:var(--atlas-muted);
    font-size:12px;
    line-height:2;
    display:-webkit-box;
    -webkit-line-clamp:4;
    -webkit-box-orient:vertical;
    overflow:hidden;
    max-height:96px;
}
.post-meta{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:12px;
    margin-top:16px;
    padding-top:12px;
    border-top:1px solid rgba(255,255,255,.06);
    color:#777;
    font-size:10px;
}
.post-meta span{
    display:flex;
    align-items:center;
    gap:5px;
}
.post-meta i{color:var(--atlas-gold-dark);}
.post-meta a{color:#888;}
.post-meta a:hover{color:var(--atlas-gold-light);}
.post-tags{
    display:flex;
    flex-wrap:wrap;
    gap:5px;
    margin-top:13px;
}
.post-tags a{
    color:#777;
    font-size:9px;
    padding:3px 7px;
    background:#0d0d0d;
    border-radius:4px;
}
.post-tags a:hover{color:var(--atlas-gold-light);}
.post-footer-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-top:auto;
    padding-top:17px;
}
.more-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 14px;
    border-radius:6px;
    background:linear-gradient(135deg,var(--atlas-gold),var(--atlas-gold-dark));
    color:#111;
    font-size:11px;
    font-weight:900;
    transition:.25s ease;
}
.more-link:hover{
    transform:translateY(-2px);
    box-shadow:0 7px 20px rgba(201,162,39,.18);
}

/* صفحه‌بندی */
.pagination{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    direction:rtl;
    gap:8px;
    width:100%;
    margin:48px auto 0;
    padding-top:28px;
    border-top:1px solid rgba(201,162,39,.12);
}
.pagination a,
.pagination span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:40px;
    height:40px;
    padding:0 12px;
    border-radius:9px;
    background:linear-gradient(145deg,#171717,#101010);
    border:1px solid rgba(201,162,39,.16);
    color:#858585;
    font-size:11px;
    font-weight:700;
    box-shadow:0 5px 18px rgba(0,0,0,.18);
    transition:all .25s ease;
}
.pagination a:hover{
    color:#111!important;
    background:linear-gradient(135deg,var(--atlas-gold-light),var(--atlas-gold));
    border-color:var(--atlas-gold);
    box-shadow:0 8px 22px rgba(201,162,39,.18);
    transform:translateY(-3px);
}
.pagination .active,
.pagination span.active,
.pagination a.active{
    color:#111!important;
    background:linear-gradient(135deg,var(--atlas-gold-light),var(--atlas-gold),var(--atlas-gold-dark));
    border-color:var(--atlas-gold);
    font-weight:900;
    box-shadow:0 7px 22px rgba(201,162,39,.20);
}
.pagination>span:not(:has(a)){
    color:#111;
    background:linear-gradient(135deg,var(--atlas-gold-light),var(--atlas-gold));
    border-color:var(--atlas-gold);
    font-weight:900;
}
.pagination a:first-child,
.pagination a:last-child{
    min-width:44px;
    padding:0 14px;
}

/* منوهای Block */
.category-selected-div>.category-selected-block,
.category-selected-div .category-selected-block{box-shadow:none;}

/* ATLAS LUXURY THEME */
.selected-posts-section a,
.category-selected-section a,
.posts-section a,
.pagination a{
    transition:color .25s ease,background .25s ease,border-color .25s ease,box-shadow .25s ease,transform .25s ease;
}
.selected-posts-section a:visited,
.category-selected-section a:visited,
.posts-section a:visited{color:inherit;}
.selected-post-more{
    position:relative;
    color:var(--atlas-gold-light)!important;
    background:rgba(201,162,39,.06);
    border:1px solid rgba(201,162,39,.20);
    border-radius:6px;
    padding:8px 13px;
    overflow:hidden;
}
.selected-post-more::before{
    content:"";
    position:absolute;
    right:0;
    top:0;
    width:0;
    height:100%;
    background:linear-gradient(90deg,rgba(201,162,39,.08),rgba(201,162,39,.18));
    transition:width .3s ease;
    z-index:0;
}
.selected-post-more:hover{
    color:#fff!important;
    border-color:rgba(201,162,39,.65);
    background:rgba(201,162,39,.10);
    transform:translateY(-2px);
    box-shadow:0 6px 20px rgba(201,162,39,.10);
}
.selected-post-more:hover::before{width:100%;}
.selected-post-more i,
.selected-post-more{
    position:relative;
    z-index:1;
}
.more-link{
    position:relative;
    overflow:hidden;
    color:#111!important;
    background:linear-gradient(135deg,#e5c65a 0%,#c9a227 45%,#8e7018 100%)!important;
    border:1px solid rgba(229,198,90,.55);
    box-shadow:0 4px 14px rgba(201,162,39,.08);
}
.more-link::before{
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:80%;
    height:100%;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.30),transparent);
    transform:skewX(-20deg);
    transition:left .55s ease;
}
.more-link:hover{
    color:#080808!important;
    transform:translateY(-3px);
    box-shadow:0 9px 25px rgba(201,162,39,.22);
    border-color:#e5c65a;
}
.more-link:hover::before{left:140%;}
.category-selected-header>a{
    display:inline-flex;
    align-items:center;
    gap:7px;
    color:var(--atlas-gold-light)!important;
    padding:7px 11px;
    border:1px solid rgba(201,162,39,.16);
    border-radius:6px;
    background:rgba(201,162,39,.035);
}
.category-selected-header>a:hover{
    color:#fff!important;
    background:rgba(201,162,39,.10);
    border-color:rgba(201,162,39,.55);
    box-shadow:0 5px 18px rgba(201,162,39,.08);
    transform:translateY(-2px);
}
.category-mini-title a{color:#ddd!important;}
.category-mini-title a:hover{color:var(--atlas-gold-light)!important;}
.category-mini-card:hover .category-mini-title a{color:var(--atlas-gold-light)!important;}
.post-title a{color:var(--atlas-text)!important;}
.post-title a:hover{color:var(--atlas-gold-light)!important;}
.selected-post-title a{color:var(--atlas-text)!important;}
.selected-post-title a:hover{color:var(--atlas-gold-light)!important;}
.post-cats a{
    color:var(--atlas-gold-light)!important;
    background:linear-gradient(135deg,rgba(201,162,39,.09),rgba(201,162,39,.035));
    border-color:rgba(201,162,39,.18);
}
.post-cats a:hover{
    color:#fff!important;
    background:rgba(201,162,39,.14);
    border-color:rgba(201,162,39,.48);
    transform:translateY(-1px);
}
.post-meta a{color:#888!important;}
.post-meta a:hover{color:var(--atlas-gold-light)!important;}
.post-tags a{
    color:#777!important;
    background:#0d0d0d;
    border:1px solid rgba(255,255,255,.04);
}
.post-tags a:hover{
    color:var(--atlas-gold-light)!important;
    border-color:rgba(201,162,39,.25);
    background:rgba(201,162,39,.05);
}
.selected-post-card,
.post-card,
.category-selected-block{position:relative;}
.selected-post-card::before,
.post-card::before{
    content:"";
    position:absolute;
    top:0;
    right:12%;
    left:12%;
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(229,198,90,.35),transparent);
    opacity:.55;
    pointer-events:none;
}
.post-card:hover{
    border-color:rgba(201,162,39,.48);
    box-shadow:0 20px 50px rgba(0,0,0,.5),0 0 30px rgba(201,162,39,.035);
}
.selected-post-card:hover{border-color:rgba(201,162,39,.60);}
.section-title i,
.category-selected-header h3 i,
.post-meta i,
.rate-chip i{color:var(--atlas-gold)!important;}
.selected-posts-section ::selection,
.category-selected-section ::selection,
.posts-section ::selection{
    background:var(--atlas-gold);
    color:#111;
}

/* RESPONSIVE */
@media(max-width:1000px){
    .selected-posts-grid,
    .posts-grid{grid-template-columns:repeat(2,1fr);}
    .category-posts-mini-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:650px){
    .selected-posts-grid,
    .posts-grid{
        grid-template-columns:1fr;
        gap:18px;
    }
    .category-posts-mini-grid{grid-template-columns:1fr;}
    .selected-post-thumb,
    .post-thumb-wrap{height:210px;}
    .section-title{
        margin-top:38px;
        font-size:19px;
    }
    .category-selected-block{padding:14px;}
    .category-selected-header{align-items:flex-start;}
    .selected-post-more{padding:7px 10px;}
    .more-link{padding:8px 12px;}
    .category-selected-header>a{padding:6px 9px;}
}
@media(max-width:600px){
    .pagination{
        gap:6px;
        margin-top:35px;
        padding-top:22px;
    }
    .pagination a,
    .pagination span{
        min-width:36px;
        height:36px;
        padding:0 9px;
        border-radius:8px;
        font-size:10px;
    }
}
@media(max-width:450px){
    .selected-post-thumb,
    .post-thumb-wrap{height:190px;}
    .post-body{padding:15px;}
    .post-title,
    .selected-post-title{font-size:15px;}
    .pagination{gap:5px;}
    .pagination a,
    .pagination span{
        min-width:34px;
        height:34px;
        padding:0 8px;
        font-size:9px;
    }
}
@media(max-width:400px){
    .pagination{gap:5px;}
}

/* حالت بدون تصویر */
.post-thumb-wrap:has(img[src=""]),
.selected-post-thumb:has(img[src=""]){
    background:radial-gradient(circle,rgba(201,162,39,.10),transparent 55%),#101010;
}









/* =====================================================
   ATLAS DETECTORS - SINGLE  / PRODUCT PAGE
===================================================== */

:root{
    --atlas-bg:#080808;
    --atlas-bg2:#101010;
    --atlas-card:#151515;
    --atlas-card2:#1b1b1b;

    --atlas-gold:#c9a227;
    --atlas-gold-light:#e4c65a;
    --atlas-gold-dark:#8d7016;

    --atlas-text:#f1efe8;
    --atlas-muted:#999;
    --atlas-border:rgba(201,162,39,.18);
}


/* =========================================
   کانتینر اصلی
========================================= */

.posts-section{
    width:100%;

    padding:
        35px 0
        60px;
}

.blog-layout-container{

    width:min(1180px,94%);

    margin:auto;
}


/* =========================================
   کارت اصلی محصول
========================================= */

.post-card{

    background:
        linear-gradient(
            145deg,
            #171717,
            #0f0f0f
        );

    border:
        1px solid
        rgba(201,162,39,.16);

    border-radius:16px;

    overflow:hidden;

    box-shadow:
        0 20px 55px rgba(0,0,0,.38);
}


/* =========================================
   تصویر اصلی
========================================= */

.post-thumb-wrap{

    position:relative;

    width:100%;

    height:500px;

    overflow:hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(201,162,39,.08),
            transparent 60%
        ),
        #080808;
}

.post-thumb-wrap > a,
.post-thumb-wrap > img{

    width:100%;
    height:100%;

    display:block;
}

.post-thumb-wrap img{

    object-fit:cover;

    transition:
        transform .5s ease;
}

.post-thumb-wrap:hover img{

    transform:scale(1.025);
}


/* خط طلایی */

.post-color-line{

    position:absolute;

    right:0;
    left:0;
    bottom:0;

    height:4px;

    z-index:5;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--atlas-gold-dark),
            var(--atlas-gold-light),
            var(--atlas-gold-dark),
            transparent
        );
}


/* =========================================
   لایه عنوان روی تصویر
========================================= */

.single-post-hero-overlay{

    position:absolute;

    right:0;
    left:0;
    bottom:0;

    z-index:4;

    padding:
        80px 35px 28px;

    background:
        linear-gradient(
            transparent,
            rgba(0,0,0,.94)
        );
}


/* عنوان */

.single-post-hero-title-row{

    display:flex;

    align-items:center;

    gap:13px;
}

.single-post-hero-line{

    width:4px;

    height:38px;

    flex-shrink:0;

    border-radius:4px;

    background:
        linear-gradient(
            180deg,
            var(--atlas-gold-light),
            var(--atlas-gold-dark)
        );
}

.single-post-hero-title{

    margin:0;

    color:#fff;

    font-size:30px;

    line-height:1.7;

    font-weight:900;

    text-shadow:
        0 3px 15px rgba(0,0,0,.8);
}


/* متا */

.single-post-hero-meta{

    display:flex;

    flex-wrap:wrap;

    gap:15px;

    margin-top:14px;

    color:#aaa;

    font-size:11px;
}

.single-post-hero-meta span{

    display:flex;

    align-items:center;

    gap:5px;
}

.single-post-hero-meta i{

    color:
        var(--atlas-gold);
}

.single-post-hero-meta a{

    color:#ccc;
}


/* =========================================
   بدنه
========================================= */

.post-body{

    padding:28px;
}


/* =========================================
   محتوای اصلی
========================================= */

.card{

    background:transparent;
}


/* دسته‌بندی */

.post-cats{

    display:flex;

    flex-wrap:wrap;

    gap:7px;

    margin-bottom:15px;
}

.post-cats a{

    display:inline-flex;

    padding:
        5px 10px;

    border-radius:5px;

    border:
        1px solid
        rgba(201,162,39,.18);

    background:
        rgba(201,162,39,.06);

    color:
        var(--atlas-gold-light);

    font-size:10px;
}

.post-cats a:hover{

    background:
        var(--atlas-gold);

    color:#111;
}


/* عنوان داخل متن */

.post-title{

    margin:
        0 0 22px;

    font-size:25px;

    line-height:1.8;

    font-weight:900;
}

.post-title a{

    color:
        var(--atlas-text);
}


/* =========================================
   متن محصول
========================================= */

.post-excerpt{

    color:#c5c5c5;

    font-size:14px;

    line-height:2.35;
}


/* تصاویر داخل متن */

.post-excerpt img{

    max-width:100%;

    height:auto;

    display:block;

    margin:
        25px auto;

    border-radius:10px;

    border:
        1px solid
        rgba(201,162,39,.12);
}


/* تیترهای داخل مقاله */

.post-excerpt h1,
.post-excerpt h2,
.post-excerpt h3,
.post-excerpt h4{

    color:
        var(--atlas-gold-light);

    line-height:1.9;

    margin-top:30px;
}


/* لینک‌های داخل مقاله */

.post-excerpt a{

    color:
        var(--atlas-gold-light);
}

.post-excerpt a:hover{

    color:#fff;
}


/* جدول مشخصات */

.post-excerpt table{

    width:100%;

    border-collapse:collapse;

    margin:25px 0;

    overflow:hidden;

    border-radius:8px;
}

.post-excerpt th,
.post-excerpt td{

    padding:12px;

    text-align:right;

    border:
        1px solid
        rgba(255,255,255,.08);
}

.post-excerpt th{

    background:
        rgba(201,162,39,.10);

    color:
        var(--atlas-gold-light);
}

.post-excerpt td{

    color:#ccc;

    background:
        rgba(255,255,255,.015);
}


/* =========================================
   اطلاعات نویسنده / تاریخ
========================================= */

.post-meta{

    display:flex;

    flex-wrap:wrap;

    gap:15px;

    margin-top:30px;

    padding:
        16px 0;

    border-top:
        1px solid
        rgba(255,255,255,.07);

    border-bottom:
        1px solid
        rgba(255,255,255,.07);

    color:#888;

    font-size:11px;
}

.post-meta span{

    display:flex;

    align-items:center;

    gap:6px;
}

.post-meta i{

    color:
        var(--atlas-gold-dark);
}

.post-meta a{

    color:#aaa;
}

.post-meta a:hover{

    color:
        var(--atlas-gold-light);
}


/* =========================================
   تگ‌ها
========================================= */

.post-tags{

    display:flex;

    flex-wrap:wrap;

    gap:7px;

    margin-top:17px;
}

.post-tags a{

    padding:
        5px 9px;

    border-radius:5px;

    background:#0c0c0c;

    border:
        1px solid
        rgba(255,255,255,.06);

    color:#777;

    font-size:10px;
}

.post-tags a:hover{

    color:
        var(--atlas-gold-light);

    border-color:
        rgba(201,162,39,.25);
}


/* =========================================
   گالری تصاویر
========================================= */

.post-screenshots{

    margin-top:35px;

    padding-top:25px;

    border-top:
        1px solid
        rgba(255,255,255,.07) !important;
}

.post-screenshots h5{

    margin:
        0 0 18px;

    color:
        var(--atlas-gold-light);

    font-size:18px;

    font-weight:900;
}

.post-screenshots h5::before{

    content:"";

    display:inline-block;

    width:4px;

    height:20px;

    margin-left:9px;

    vertical-align:-4px;

    border-radius:3px;

    background:
        var(--atlas-gold);
}


/* گالری */

.lx_gallery ul{

    display:grid;

    grid-template-columns:
        repeat(4,1fr);

    gap:12px;

    padding:0;

    margin:0;

    list-style:none;
}

.lx_gallery li{

    position:relative;

    overflow:hidden;

    height:150px;

    border-radius:9px;

    background:#090909;

    border:
        1px solid
        rgba(201,162,39,.12);
}

.lx_gallery li img{

    width:100%;
    height:100%;

    object-fit:cover;

    transition:.35s ease;
}

.lx_gallery li:hover img{

    transform:scale(1.06);
}

.lx_gallery_poster{

    position:absolute;

    left:8px;
    bottom:8px;

    width:30px;
    height:30px;

    display:flex;

    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:
        rgba(0,0,0,.75);
}

.lx_gallery_poster img{

    width:16px !important;
    height:16px !important;

    object-fit:contain !important;
}


/* =========================================
   مشخصات محصول
========================================= */

.cf_ul{

    list-style:none;

    margin:
        30px 0;

    padding:0;

    display:grid;

    grid-template-columns:
        repeat(2,1fr);

    gap:8px;
}

.cf_ul li{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:15px;

    padding:
        12px 15px;

    border-radius:7px;

    background:
        rgba(255,255,255,.025);

    border:
        1px solid
        rgba(255,255,255,.06);

    color:#bbb;

    font-size:12px;
}

.cf_ul li:hover{

    border-color:
        rgba(201,162,39,.20);

    background:
        rgba(201,162,39,.035);
}

.cf_title{

    color:
        #888;

    font-weight:bold;
}

.cf_value{

    color:
        var(--atlas-gold-light);

    font-weight:bold;
}


/* =========================================
   فایل‌های صوتی
========================================= */

.donwload-item{

    padding:15px;

    margin:10px 0;

    border-radius:8px;

    background:#111;

    border:
        1px solid
        rgba(201,162,39,.12);
}

.donwload-item audio{

    max-width:100%;
}


/* =========================================
   متن دلخواه
========================================= */

.text-msuic{

    padding:20px;

    margin:15px 0;

    border-radius:9px;

    background:#111;

    border:
        1px solid
        rgba(255,255,255,.06);

    color:#ccc;

    line-height:2.3;
}


/* =========================================
   امتیازدهی
========================================= */

.premium-rating-box{

    margin-top:35px;

    padding:22px;

    border-radius:12px;

    background:
        linear-gradient(
            145deg,
            rgba(201,162,39,.09),
            rgba(201,162,39,.025)
        );

    border:
        1px solid
        rgba(201,162,39,.22);

    text-align:center;
}

.rating-box-title{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;
}

.rating-box-title i{

    color:
        var(--atlas-gold-light);
}

.rating-box-title h4{

    margin:0;

    color:#eee;

    font-size:16px;
}

.rating-box-stars{

    margin:15px 0;

    color:
        var(--atlas-gold-light);

    font-size:20px;
}

.rating-box-stats{

    color:#888;

    font-size:11px;
}

.rating-box-stats strong{

    color:
        var(--atlas-gold-light);
}


/* =========================================
   نویسنده
========================================= */

.author-bio-card{

    margin-top:25px;

    padding:20px;

    border-radius:10px;

    background:#111;

    border:
        1px solid
        rgba(255,255,255,.06);
}

.author-details h4{

    margin:0 0 7px;

    color:#ddd;

    font-size:14px;
}

.author-details h4 a{

    color:
        var(--atlas-gold-light);
}

.author-details p{

    margin:0;

    color:#777;

    font-size:11px;
}


/* =========================================
   نظرات
========================================= */

.premium-comments-section{

    margin-top:35px;

    padding-top:25px;

    border-top:
        1px solid
        rgba(255,255,255,.07);
}

.comments-section-header{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:15px;

    margin-bottom:20px;
}

.comments-section-header h4{

    margin:0;

    color:#eee;

    font-size:17px;
}

.comments-section-header h4 i{

    color:
        var(--atlas-gold);
}

.comments-count-badge{

    padding:
        6px 10px;

    border-radius:5px;

    background:
        rgba(201,162,39,.08);

    color:
        var(--atlas-gold-light);

    font-size:10px;
}


/* فرم نظر */

.comments-section-cta{

    padding:18px;

    margin-bottom:20px;

    border-radius:9px;

    background:#111;

    border:
        1px solid
        rgba(255,255,255,.06);
}


/* =========================================
   کامنت‌ها
========================================= */

.com1{

    display:flex;

    gap:13px;

    margin:15px 0;

    padding:15px;

    border-radius:9px;

    background:
        rgba(255,255,255,.025);

    border:
        1px solid
        rgba(255,255,255,.05);
}

.com2{

    flex-shrink:0;
}

.commentavatar{

    width:45px;
    height:45px;

    border-radius:50%;

    object-fit:cover;

    border:
        1px solid
        rgba(201,162,39,.25);
}

.com3{

    flex:1;

    min-width:0;
}

.com4{

    display:flex;

    justify-content:space-between;

    gap:10px;

    margin-bottom:8px;
}

.com5 a{

    color:
        var(--atlas-gold-light);

    font-size:12px;
}

.com6{

    color:#666;

    font-size:9px;
}

.com8{

    color:#aaa;

    font-size:12px;

    line-height:2;
}

.com_type_1,
.com_type_2{

    margin-right:35px;
}


/* دکمه‌های پاسخ */

.btn_send_answer,
.btn_remove_answer{

    display:inline-block;

    margin-top:8px;

    color:
        var(--atlas-gold-light);

    font-size:10px;
}


/* =========================================
   پایین صفحه
========================================= */

.post-footer-row{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:15px;

    margin-top:30px;

    padding-top:18px;

    border-top:
        1px solid
        rgba(255,255,255,.07);
}

.rate-chip{

    color:
        var(--atlas-gold-light);

    font-size:11px;
}

.more-link{

    display:inline-flex;

    align-items:center;

    gap:7px;

    padding:
        9px 16px;

    border-radius:6px;

    background:
        linear-gradient(
            135deg,
            var(--atlas-gold),
            var(--atlas-gold-dark)
        );

    color:#111;

    font-size:11px;

    font-weight:bold;
}

.more-link:hover{

    transform:
        translateY(-2px);

    box-shadow:
        0 8px 20px
        rgba(201,162,39,.15);
}


/* =========================================
   ریسپانسیو
========================================= */

@media(max-width:900px){

    .post-thumb-wrap{

        height:420px;
    }

    .single-post-hero-title{

        font-size:25px;
    }

    .lx_gallery ul{

        grid-template-columns:
            repeat(3,1fr);
    }

    .cf_ul{

        grid-template-columns:1fr;
    }
}


@media(max-width:650px){

    .posts-section{

        padding-top:20px;
    }

    .post-body{

        padding:18px;
    }

    .post-thumb-wrap{

        height:330px;
    }

    .single-post-hero-overlay{

        padding:
            70px 18px 20px;
    }

    .single-post-hero-title{

        font-size:20px;
    }

    .single-post-hero-line{

        height:28px;
    }

    .single-post-hero-meta{

        gap:9px;

        font-size:9px;
    }

    .post-title{

        font-size:20px;
    }

    .post-excerpt{

        font-size:13px;

        line-height:2.2;
    }

    .lx_gallery ul{

        grid-template-columns:
            repeat(2,1fr);

        gap:8px;
    }

    .lx_gallery li{

        height:125px;
    }

    .comments-section-header{

        align-items:flex-start;

        flex-direction:column;
    }

    .com1{

        padding:10px;
    }

    .com_type_1,
    .com_type_2{

        margin-right:15px;
    }
}


@media(max-width:420px){

    .post-thumb-wrap{

        height:270px;
    }

    .single-post-hero-title{

        font-size:17px;
    }

    .single-post-hero-meta{

        display:none;
    }

    .post-body{

        padding:15px;
    }

    .post-footer-row{

        align-items:stretch;

        flex-direction:column;
    }

    .more-link{

        justify-content:center;
    }
}
/* =========================================
   FIX: جلوگیری از اسکرول افقی
========================================= */

html,
body{
    width:100%;
    max-width:100%;
    overflow-x:hidden !important;
}

*,
*::before,
*::after{
    box-sizing:border-box;
}

.posts-section{
    width:100%;
    max-width:100%;
    overflow:hidden;
}

.blog-layout-container{
    width:94%;
    max-width:1180px;
    margin-left:auto;
    margin-right:auto;
    min-width:0;
}

.posts-grid{
    width:100%;
    min-width:0;
}

.post-card{
    width:100%;
    max-width:100%;
    min-width:0;
}

.post-body,
.card,
.post-excerpt{
    max-width:100%;
    min-width:0;
    overflow-wrap:anywhere;
}

/* تصاویر و محتوای داخلی */
img,
video,
iframe,
table{
    max-width:100%;
}

.post-excerpt table{
    display:block;
    overflow-x:auto;
}

/* گالری */
.lx_gallery,
.lx_gallery ul{
    max-width:100%;
    min-width:0;
}

/* جلوگیری از بیرون‌زدگی عناصر */
.single-post-hero-overlay,
.single-post-hero-meta,
.post-meta,
.post-tags{
    max-width:100%;
    min-width:0;
}

/* در دسکتاپ فضای کافی برای محتوا و سایدبار */
@media(min-width:901px){

    .blog-layout-container{
        display:flex;
        align-items:flex-start;
        gap:24px;
    }

    .posts-grid{
        flex:1 1 auto;
        width:auto;
        min-width:0;
    }

}

/* موبایل و تبلت */
@media(max-width:900px){

    .blog-layout-container{
        display:block;
        width:94%;
    }

    .posts-grid{
        width:100%;
    }

}


/* =====================================================
   ATLAS — COMMENTS PREMIUM OVERRIDE
===================================================== */

/* کل بخش نظرات */
.premium-comments-section{
    width:100%;
    margin-top:40px;
    padding-top:28px;
    border-top:1px solid rgba(201,162,39,.18) !important;
}

/* هدر نظرات */
.comments-section-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    margin-bottom:20px;
    padding-bottom:14px;
    border-bottom:1px solid rgba(255,255,255,.06);
}

.comments-section-header h4{
    margin:0;
    color:#f1efe8 !important;
    font-size:18px;
    font-weight:900;
}

.comments-section-header h4 i{
    color:#e4c65a !important;
    margin-left:7px;
}

.comments-count-badge{
    display:inline-flex;
    align-items:center;
    padding:7px 12px;
    border-radius:6px;
    background:rgba(201,162,39,.08) !important;
    border:1px solid rgba(201,162,39,.16);
    color:#e4c65a !important;
    font-size:10px;
}

/* =====================================================
   فرم ارسال نظر
===================================================== */

.comments-section-cta{
    padding:20px;
    margin-bottom:22px;
    border-radius:10px;

    background:
        linear-gradient(
            145deg,
            #171717,
            #101010
        ) !important;

    border:1px solid rgba(201,162,39,.14) !important;
}

/* فرم‌های داخلی قالب */
.comments-section-cta form,
.comments-section-cta .sendcm{
    width:100%;
}

.comments-section-cta input,
.comments-section-cta textarea,
.comments-section-cta select{
    width:100%;
    max-width:100%;
    box-sizing:border-box;

    padding:11px 13px;

    border-radius:7px;

    background:#0b0b0b !important;
    color:#ddd !important;

    border:1px solid rgba(255,255,255,.09) !important;

    outline:none;

    font-family:"Vazirmatn",sans-serif !important;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.comments-section-cta input:focus,
.comments-section-cta textarea:focus,
.comments-section-cta select:focus{
    background:#101010 !important;

    border-color:
        rgba(201,162,39,.55) !important;

    box-shadow:
        0 0 0 3px
        rgba(201,162,39,.08);

    outline:none !important;
}

/* دکمه ارسال */
.comments-section-cta button,
.comments-section-cta input[type="submit"],
.comments-section-cta input[type="button"],
.comments-section-cta .sendcm input{
    display:inline-flex;

    align-items:center;
    justify-content:center;

    min-width:110px;

    padding:10px 18px;

    margin-top:10px;

    border:1px solid rgba(230,199,90,.55) !important;
    border-radius:7px;

    background:
        linear-gradient(
            135deg,
            #e4c65a,
            #c9a227,
            #8d7016
        ) !important;

    color:#111 !important;

    font-family:"Vazirmatn",sans-serif !important;
    font-size:11px;
    font-weight:800;

    cursor:pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        filter .2s ease;
}

.comments-section-cta button:hover,
.comments-section-cta input[type="submit"]:hover,
.comments-section-cta input[type="button"]:hover,
.comments-section-cta .sendcm input:hover{
    color:#000 !important;

    transform:translateY(-2px);

    filter:brightness(1.08);

    box-shadow:
        0 8px 22px
        rgba(201,162,39,.20);
}

/* =====================================================
   هر کامنت
===================================================== */

.com1{
    position:relative;

    display:flex;

    gap:14px;

    width:100%;
    box-sizing:border-box;

    margin:13px 0;

    padding:16px;

    border-radius:10px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.035),
            rgba(255,255,255,.015)
        ) !important;

    border:1px solid rgba(255,255,255,.07) !important;

    transition:
        border-color .25s ease,
        background .25s ease,
        transform .25s ease;
}

.com1:hover{
    border-color:rgba(201,162,39,.20) !important;

    background:
        linear-gradient(
            145deg,
            rgba(201,162,39,.045),
            rgba(255,255,255,.015)
        ) !important;

    transform:translateY(-1px);
}

/* آواتار */
.com2{
    flex:0 0 auto;
}

.commentavatar{
    display:block;

    width:46px !important;
    height:46px !important;

    border-radius:50% !important;

    object-fit:cover;

    background:#111;

    border:1px solid
        rgba(201,162,39,.28) !important;

    box-shadow:
        0 3px 12px rgba(0,0,0,.35);
}

/* محتوای کامنت */
.com3{
    flex:1 1 auto;

    min-width:0;
}

.com4{
    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:12px;

    margin-bottom:8px;
}

.com5{
    min-width:0;
}

.com5 a{
    color:#e4c65a !important;

    font-size:12px;
    font-weight:800;

    text-decoration:none !important;
}

.com5 a:hover{
    color:#fff !important;
}

.com6{
    flex-shrink:0;

    color:#777 !important;

    font-size:9px;
}

/* متن */
.com8{
    color:#bdbdbd !important;

    font-size:12px;

    line-height:2.1;

    overflow-wrap:anywhere;
}

.com8 a{
    color:#e4c65a !important;
}

/* =====================================================
   دکمه‌های پاسخ
===================================================== */

.fxa{
    display:flex;

    align-items:center;

    flex-wrap:wrap;

    gap:12px;

    margin-top:10px;
}

.btn_send_answer,
.btn_remove_answer{
    display:inline-flex !important;

    align-items:center;

    padding:5px 9px;

    border-radius:5px;

    text-decoration:none !important;

    color:#bfa03a !important;

    background:rgba(201,162,39,.05);

    border:1px solid rgba(201,162,39,.12);

    font-size:9px !important;

    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.btn_send_answer:hover,
.btn_remove_answer:hover{
    color:#111 !important;

    background:#c9a227 !important;

    border-color:#c9a227 !important;
}

/* =====================================================
   پاسخ به کامنت
===================================================== */

.com_type_1,
.com_type_2{
    margin-right:35px;

    border-right:
        2px solid
        rgba(201,162,39,.18) !important;
}

.com_c_1,
.com_c_2{
    min-width:0;
}

/* =====================================================
   لایک پاسخ
===================================================== */

.lx_come_like{
    color:#777 !important;

    text-decoration:none !important;

    transition:
        color .2s ease,
        transform .2s ease;
}

.lx_come_like:hover{
    color:#e4c65a !important;

    transform:scale(1.1);
}

.lx_total_like{
    color:#777 !important;
}

/* =====================================================
   فرم پاسخ که با JS باز می‌شود
===================================================== */

.lx_respond_form{
    width:100%;
    margin-top:12px;
}

.lx_respond_form input,
.lx_respond_form textarea{
    max-width:100%;
    box-sizing:border-box;

    background:#0b0b0b !important;
    color:#ddd !important;

    border:1px solid rgba(255,255,255,.08) !important;

    border-radius:7px;

    outline:none;
}

.lx_respond_form input:focus,
.lx_respond_form textarea:focus{
    border-color:rgba(201,162,39,.5) !important;

    box-shadow:
        0 0 0 3px
        rgba(201,162,39,.07);
}

/* =====================================================
   حذف رنگ آبی پیش‌فرض قالب
===================================================== */

.premium-comments-section a,
.premium-comments-section a:visited{
    text-decoration:none;
}

.premium-comments-section a:hover{
    color:#e4c65a;
}

/* =====================================================
   موبایل
===================================================== */

@media(max-width:650px){

    .premium-comments-section{
        margin-top:28px;
        padding-top:22px;
    }

    .comments-section-header{
        align-items:flex-start;
        flex-direction:column;
        gap:10px;
    }

    .comments-section-cta{
        padding:14px;
    }

    .com1{
        gap:10px;
        padding:12px;
    }

    .commentavatar{
        width:40px !important;
        height:40px !important;
    }

    .com4{
        align-items:flex-start;
        flex-direction:column;
        gap:4px;
    }

    .com6{
        font-size:8px;
    }

    .com8{
        font-size:11px;
        line-height:2;
    }

    .com_type_1,
    .com_type_2{
        margin-right:12px;
    }
}
/* رنگ نوشته داخل فیلدهای فرم نظرات */
.comments-section-cta input,
.comments-section-cta textarea,
.comments-section-cta select{
    color:#111 !important;
}

/* رنگ Placeholder */
.comments-section-cta input::placeholder,
.comments-section-cta textarea::placeholder{
    color:#111 !important;
    opacity:1;
}





/* =====================================================
   ATLAS DARK BACKGROUND — FIX ALL SINGLE POST PAGES
===================================================== */

/* کل صفحه */
html,
body {
    background: #080808 !important;
    color: #f1efe8 !important;
}

/* تمام wrapperهای اصلی قالب */
body,
#page,
#wrapper,
#content,
.site,
.site-content,
.main,
.main-content,
.content,
.container,
.blog-layout-container,
.posts-section,
.posts-grid {
    background-color: #080808 !important;
}

/* اگر قالب روی بخش اصلی گرادیان یا سفید گذاشته */
.posts-section {
    background:
        radial-gradient(
            circle at top center,
            rgba(201,162,39,.045),
            transparent 45%
        ),
        #080808 !important;
}

/* کارت اصلی مطلب */
.post-card {
    background:
        linear-gradient(
            145deg,
            #171717,
            #0d0d0d
        ) !important;
}

/* بدنه مطلب */
.post-body,
.card {
    background:
        transparent !important;
}

/* محتوای متن */
.post-excerpt {
    background: transparent !important;
    color: #c7c7c7 !important;
}

/* جلوگیری از سفید شدن wrapperهای داخلی */
.post-excerpt > div,
.post-excerpt section,
.post-excerpt article,
.post-excerpt main {
    background-color: transparent !important;
}

/* لینک‌ها */
.post-excerpt a {
    color: #e4c65a !important;
}

/* پاراگراف و متن */
.post-excerpt p,
.post-excerpt li,
.post-excerpt span {
    color: inherit;
}

/* موبایل هم کاملاً تیره */
@media(max-width:650px) {

    html,
    body,
    .posts-section,
    .blog-layout-container,
    .posts-grid {
        background: #080808 !important;
    }

}

/* =====================================================
   ATLAS — FIX WHITE BACKGROUND AROUND COMMENTS
===================================================== */

/* والد اصلی بخش نظرات */
.single-post-only,
.single-post-only > div,
.premium-comments-section,
.premium-comments-section > div,
.comments-section-header,
.comments-section-cta,
.comments-section-cta > div,
.comments-section-cta form,
.comments-section-cta .sendcm {

    background-color: transparent !important;
    background-image: none !important;
}

/* خود بخش نظرات */
.premium-comments-section {

    background:
        linear-gradient(
            145deg,
            #111111,
            #0b0b0b
        ) !important;

    border-radius: 14px !important;

    padding: 28px !important;

    border:
        1px solid
        rgba(201,162,39,.16) !important;

    box-shadow:
        0 15px 40px
        rgba(0,0,0,.25) !important;
}

/* هدر نظرات */
.comments-section-header {

    background: transparent !important;
}

/* فرم ارسال نظر */
.comments-section-cta {

    background:
        linear-gradient(
            145deg,
            #171717,
            #101010
        ) !important;

    border:
        1px solid
        rgba(201,162,39,.14) !important;
}

/* جلوگیری از سفید شدن عناصر داخلی قالب */
.premium-comments-section *,
.premium-comments-section *::before,
.premium-comments-section *::after {

    box-sizing: border-box;
}

/* اگر قالب یک wrapper ناشناس برای نظرات ایجاد کرده باشد */
.single-post-only,
.single-post-only .comments,
.single-post-only .comment,
.single-post-only .comments-area,
.single-post-only .comment-area,
.single-post-only #comments,
.single-post-only .comment-section {

    background-color: transparent !important;
    background-image: none !important;
}

/* خود کامنت‌ها همچنان کارت جداگانه باشند */
.premium-comments-section .com1 {

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.035),
            rgba(255,255,255,.015)
        ) !important;
}

/* موبایل */
@media(max-width:650px){

    .premium-comments-section{

        padding:18px !important;

        border-radius:11px !important;
    }

}


/* =====================================================
   ATLAS — FIX ARTICLE HEADINGS COLOR
===================================================== */

/* تیترهای اصلی داخل محتوای مقاله */
body.is-single-post .post-excerpt h1,
body.is-single-post .post-excerpt h2,
body.is-single-post .post-excerpt h3,
body.is-single-post .post-excerpt h4,
body.is-single-post .post-excerpt h5,
body.is-single-post .post-excerpt h6 {

    color: #e4c65a !important;

    font-family: var(--font-bold, "Vazirmatn", sans-serif) !important;

    font-weight: 900 !important;

    line-height: 1.9;

    margin-top: 30px;

    margin-bottom: 18px;
}

/* تیتر H2 — برجسته‌تر */
body.is-single-post .post-excerpt h2 {

    font-size: 1.65rem;

    border-right:
        4px solid
        #c9a227;

    padding-right: 14px;

    color: #e4c65a !important;

    text-shadow:
        0 2px 12px
        rgba(201,162,39,.12);
}

/* تیتر H3 */
body.is-single-post .post-excerpt h3 {

    font-size: 1.35rem;

    color: #e4c65a !important;

    border-right:
        3px solid
        rgba(201,162,39,.65);

    padding-right: 11px;
}

/* H4 */
body.is-single-post .post-excerpt h4 {

    font-size: 1.15rem;

    color: #d8bb4f !important;
}

/* اگر قالب مستقیماً روی h2/h3 رنگ سفید یا ink اعمال کرد */
body.is-single-post .post-excerpt h2 *,
body.is-single-post .post-excerpt h3 *,
body.is-single-post .post-excerpt h4 * {

    color: inherit !important;
}

/* لینک داخل تیترها */
body.is-single-post .post-excerpt h2 a,
body.is-single-post .post-excerpt h3 a,
body.is-single-post .post-excerpt h4 a {

    color: #e4c65a !important;

    text-decoration: none !important;
}

/* هاور تیترها */
body.is-single-post .post-excerpt h2 a:hover,
body.is-single-post .post-excerpt h3 a:hover,
body.is-single-post .post-excerpt h4 a:hover {

    color: #fff !important;
}







/* =========================
   ATLAS SIDEBAR
========================= */

.blog-sidebar{
    width:100%;
    max-width:360px;
    min-width:0;
    direction:rtl;
}

.blog-sidebar *{
    box-sizing:border-box;
}

.sidebar-widget{
    position:relative;
    width:100%;
    margin-bottom:20px;
    padding:20px;
    background:
        linear-gradient(145deg,rgba(255,255,255,.025),rgba(255,255,255,.008)),
        #111;
    border:1px solid rgba(201,162,39,.18);
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 8px 28px rgba(0,0,0,.18);
}

.sidebar-widget::before{
    content:"";
    position:absolute;
    top:0;
    right:0;
    width:100%;
    height:2px;
    background:linear-gradient(
        90deg,
        transparent,
        #c9a227,
        #e6c75a,
        #c9a227,
        transparent
    );
    opacity:.8;
}

.sidebar-widget h3,
.sidebar-widget h4{
    position:relative;
    margin:0 0 16px;
    padding:0 0 12px;
    color:#f5f3ed;
    font-size:17px;
    font-weight:800;
    line-height:1.8;
    border-bottom:1px solid rgba(201,162,39,.14);
}

.sidebar-widget h3::after,
.sidebar-widget h4::after{
    content:"";
    position:absolute;
    right:0;
    bottom:-1px;
    width:42px;
    height:2px;
    background:#c9a227;
}

/* =========================
   PROFILE
========================= */

.widget-profile{
    text-align:center;
    padding:24px 20px;
}

.widget-avatar{
    display:block;
    width:88px;
    height:88px;
    margin:0 auto 14px;
    object-fit:contain;
    border-radius:50%;
    border:2px solid #c9a227;
    padding:5px;
    background:#0a0a0a;
    box-shadow:
        0 0 0 5px rgba(201,162,39,.06),
        0 8px 25px rgba(0,0,0,.35);
}

.widget-profile h3{
    margin-bottom:10px;
    padding-bottom:10px;
    border-bottom:none;
    color:#e6c75a;
    font-size:19px;
}

.widget-profile h3::after{
    display:none;
}

.widget-profile p{
    margin:0 auto 18px;
    max-width:100%;
    color:#a9a9a5;
    font-size:13px;
    line-height:2;
    overflow-wrap:anywhere;
}

.widget-socials-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    width:100%;
    min-height:42px;
    padding:9px 12px;
    color:#111;
    background:linear-gradient(135deg,#e6c75a,#c9a227);
    border-radius:8px;
    font-size:13px;
    font-weight:800;
    text-decoration:none;
    transition:.25s ease;
}

.widget-socials-btn:hover{
    color:#000;
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(201,162,39,.16);
}

/* =========================
   MENU / CUSTOM BLOCKS
========================= */

.suggested-posts-list{
    width:100%;
    min-width:0;
}

.suggested-post-content{
    width:100%;
    min-width:0;
    color:#c7c7c2;
    font-size:13px;
    line-height:2;
    overflow-wrap:anywhere;
}

.suggested-post-content a{
    color:#cfcfca;
    text-decoration:none;
    transition:.2s ease;
}

.suggested-post-content a:hover{
    color:#e6c75a;
}

.suggested-post-content ul{
    list-style:none;
    margin:0;
    padding:0;
}

.suggested-post-content li{
    list-style:none;
    margin:0;
    padding:0;
}

.suggested-post-content li > a{
    display:block;
    padding:8px 10px;
    margin-bottom:4px;
    background:rgba(255,255,255,.025);
    border-right:2px solid transparent;
    border-radius:6px;
}

.suggested-post-content li > a:hover{
    background:rgba(201,162,39,.07);
    border-right-color:#c9a227;
}

.suggested-post-content li h4{
    margin:0;
    padding:0;
    border:0;
    color:inherit;
    font-size:13px;
    font-weight:600;
}

.suggested-post-content li h4::after{
    display:none;
}

.suggested-post-content li.sub{
    padding:0 !important;
}

.suggested-post-content li.sub a{
    padding:5px 20px 5px 8px;
    color:#969691;
    font-size:12px;
    border-right-color:rgba(201,162,39,.12);
}

/* =========================
   POSTS LIST
========================= */

.sidebar-widget .suggested-post-item{
    display:flex;
    align-items:flex-start;
    gap:11px;
    width:100%;
    min-width:0;
    margin-bottom:13px;
    padding-bottom:13px;
    border-bottom:1px solid rgba(255,255,255,.06);
}

.sidebar-widget .suggested-post-item:last-child{
    margin-bottom:0;
    padding-bottom:0;
    border-bottom:0;
}

.suggested-post-thumb{
    flex:0 0 78px;
    width:78px;
    height:62px;
    object-fit:cover;
    border-radius:7px;
    border:1px solid rgba(201,162,39,.16);
    background:#0a0a0a;
}

.suggested-post-content .suggested-post-title{
    display:block;
    flex:1;
    min-width:0;
    color:#e1e0db;
    font-size:12px;
    font-weight:700;
    line-height:1.8;
    overflow-wrap:anywhere;
}

.suggested-post-content .suggested-post-title:hover{
    color:#e6c75a;
}

.suggested-post-meta{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:5px;
    color:#777772;
    font-size:10px;
}

.suggested-post-meta span{
    display:inline-flex;
    align-items:center;
    gap:4px;
}

.suggested-post-meta i{
    color:#9f801e;
}

/* =========================
   POLL
========================= */

.sidebar-widget input,
.sidebar-widget select,
.sidebar-widget textarea{
    max-width:100%;
}

.sidebar-widget button{
    max-width:100%;
}

.sidebar-widget label{
    color:#c8c8c3;
}

/* =========================
   COUNTER
========================= */

.sidebar-widget ul{
    margin:0;
    padding:0;
}

.sidebar-widget .suggested-post-content > li{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    margin-bottom:6px;
    padding:7px 9px;
    color:#9f9f9a;
    background:rgba(255,255,255,.022);
    border-radius:6px;
    font-size:12px;
}

.sidebar-widget .suggested-post-content > li:last-child{
    margin-bottom:0;
}

.sidebar-widget .suggested-post-content > li b{
    color:#d8ba45;
    font-weight:800;
    white-space:nowrap;
}

/* =========================
   SHARE
========================= */

.widget-share p{
    margin:0 0 14px;
    color:#92928d;
    font-size:12px;
    line-height:1.9;
}

.share-links-row{
    display:flex;
    flex-direction:column;
    gap:8px;
    width:100%;
}

.share-action-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    width:100%;
    min-height:40px;
    padding:8px 10px;
    border:1px solid rgba(201,162,39,.18);
    border-radius:7px;
    background:#181818;
    color:#cfcfc9;
    font-family:inherit;
    font-size:12px;
    text-decoration:none;
    cursor:pointer;
    transition:.2s ease;
}

.share-action-btn:hover{
    color:#e6c75a;
    border-color:rgba(201,162,39,.45);
    background:rgba(201,162,39,.06);
}

/* =========================
   SAFETY / RESPONSIVE
========================= */

.blog-sidebar,
.blog-sidebar *,
.blog-sidebar *::before,
.blog-sidebar *::after{
    max-width:100%;
}

.blog-sidebar img{
    max-width:100%;
}

.blog-sidebar iframe,
.blog-sidebar video{
    max-width:100%;
}

.blog-sidebar table{
    display:block;
    width:100%;
    max-width:100%;
    overflow-x:auto;
}

@media(max-width:900px){

    .blog-sidebar{
        width:100%;
        max-width:none;
        margin-top:24px;
    }

    .sidebar-widget{
        padding:18px;
    }
}

@media(max-width:480px){

    .sidebar-widget{
        padding:16px;
        border-radius:11px;
    }

    .widget-avatar{
        width:78px;
        height:78px;
    }

    .sidebar-widget h3,
    .sidebar-widget h4{
        font-size:15px;
    }

    .suggested-post-thumb{
        flex-basis:72px;
        width:72px;
        height:58px;
    }
}