/* ===========================
   FONTS
=========================== */
@font-face {
    font-family: "Peyda";
    src: url("/static/fonts/peyda/PeydaWeb-Thin.woff2") format("woff2");
    font-weight: 100;
}
@font-face {
    font-family: "Peyda";
    src: url("/static/fonts/peyda/PeydaWeb-Light.woff2") format("woff2");
    font-weight: 300;
}
@font-face {
    font-family: "Peyda";
    src: url("/static/fonts/peyda/PeydaWeb-Regular.woff2") format("woff2");
    font-weight: 400;
}
@font-face {
    font-family: "Peyda";
    src: url("/static/fonts/peyda/PeydaWeb-Medium.woff2") format("woff2");
    font-weight: 500;
}
@font-face {
    font-family: "Peyda";
    src: url("/static/fonts/peyda/PeydaWeb-SemiBold.woff2") format("woff2");
    font-weight: 600;
}
@font-face {
    font-family: "Peyda";
    src: url("/static/fonts/peyda/PeydaWeb-Bold.woff2") format("woff2");
    font-weight: 700;
}
@font-face {
    font-family: "Peyda";
    src: url("/static/fonts/peyda/PeydaWeb-ExtraBold.woff2") format("woff2");
    font-weight: 800;
}
@font-face {
    font-family: "Peyda";
    src: url("/static/fonts/peyda/PeydaWeb-Black.woff2") format("woff2");
    font-weight: 900;
}
/* ===========================
   ROOT COLORS
=========================== */
:root {
    --bg: #E6D0AE;
    /* footer + navbar */
    --surface: #F5E7CF;
    /* important buttons */
    --secondary: #132238;
    /* main brand */
    --primary: #6B1D1D;
    --accent: #B98B4E;
    --text: #231815;
    --muted: #6B5B54;
    --border: #D2B58B;
    --shadow:
    0 15px 40px rgba(20,20,20,.10);
    --shadow-lg:
    0 25px 60px rgba(0,0,0,.12);
    --radius-sm:14px;
    --radius-md:20px;
    --radius-lg:28px;
}
/* ===========================
   BASE
=========================== */
*{
    box-sizing:border-box;
}
html{
    scroll-behavior:smooth;
}
body{
    min-height:100vh;
    color:var(--text);
    font-family:"Peyda",sans-serif;
    background:
    radial-gradient(
    circle at top right,
    rgba(255,255,255,.35),
    transparent 25%
    ),
    radial-gradient(
    circle at bottom left,
    rgba(107,29,29,.08),
    transparent 35%
    ),
    linear-gradient(
    180deg,
    #EAD7B7,
    #E2C9A2
    );
    overflow-x:hidden;
}
/* ===========================
   LINKS
=========================== */
a{
    text-decoration:none;
    transition:.25s ease;
}
a:hover{
    opacity:.85;
}
/* ===========================
   CONTAINER
=========================== */
.container-custom{
    width:100%;
    max-width:1280px;
    margin:auto;
    padding-inline:24px;
}
/* ===========================
   SECTIONS
=========================== */
.section-space{

    padding-block:
    clamp(60px,6vw,120px);

}




/* ===========================
   TYPOGRAPHY
=========================== */


h1{

    font-size:
    clamp(28px,3vw,52px);

    font-weight:900;

    line-height:1.2;

}



h2{

    font-size:
    clamp(22px,3vw,34px);

    font-weight:900;

    line-height:1.3;

}



h3{

    font-size:
    clamp(18px,2vw,24px);

    font-weight:700;

}



p{

    font-size:15px;

    line-height:1.8;

    color:var(--muted);

}



/* ===========================
   IMAGES
=========================== */


img,
video{

    max-width:100%;

    height:auto;

}



/* ===========================
   SCROLLBAR
=========================== */


::-webkit-scrollbar{

    width:8px;

}


::-webkit-scrollbar-track{

    background:var(--surface);

}


::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:20px;

}



/* ===========================
   MOBILE BASE
=========================== */


@media(max-width:640px){


    .container-custom{

        padding-inline:16px;

    }


    p{

        font-size:14px;

    }


    h1{

        line-height:1.25;

    }


    h2{

        line-height:1.25;

    }


}
/* ===========================
   CARD SYSTEM
=========================== */


.card-ui{

    background:
    rgba(255,248,239,.85);

    backdrop-filter:
    blur(10px);


    border:

    1px solid var(--border);


    border-radius:
    var(--radius-lg);


    box-shadow:
    var(--shadow);


    transition:
    .3s ease;


    overflow:hidden;

}



.card-ui:hover{

    transform:
    translateY(-5px);


    box-shadow:
    var(--shadow-lg);

}





/* ===========================
   BUTTON SYSTEM
=========================== */


.btn-primary{


    display:inline-flex;


    align-items:center;


    justify-content:center;



    background:
    linear-gradient(
    135deg,
    #132238,
    #1F3B61
    );


    color:#fff;


    font-size:14px;


    font-weight:700;



    padding:

    11px 22px;



    border-radius:

    999px;



    border:none;


    cursor:pointer;



    transition:.3s ease;


    white-space:nowrap;


}



.btn-primary:hover{


    transform:
    translateY(-3px);



    box-shadow:

    0 15px 30px rgba(19,34,56,.25);


}




.btn-secondary{


    display:inline-flex;


    align-items:center;


    justify-content:center;



    background:transparent;


    color:var(--secondary);



    border:

    1px solid var(--secondary);



    padding:

    10px 20px;



    border-radius:

    999px;



    font-weight:600;



    transition:.3s ease;


}



.btn-secondary:hover{


    background:

    var(--secondary);


    color:#fff;


}





/* ===========================
   FORMS
=========================== */


input,
textarea,
select{


    width:100%;


    padding:

    12px 14px;



    border-radius:

    var(--radius-md);



    border:

    1px solid var(--border);



    background:

    rgba(255,255,255,.7);



    transition:.2s ease;


}



input:focus,
textarea:focus,
select:focus{


    outline:none;


    border-color:

    var(--primary);



    box-shadow:

    0 0 0 4px rgba(107,29,29,.12);


}





/* ===========================
   NAVBAR
=========================== */


.navbar{



    transition:.35s ease;



    background:

    rgba(245,231,207,.80);



    backdrop-filter:

    blur(18px);



    -webkit-backdrop-filter:

    blur(18px);



    border-bottom:

    1px solid var(--border);



}





/* ===========================
   NAV LINKS
=========================== */


nav a{

    text-decoration:none;

}



.nav-link{


    position:relative;


    color:

    var(--text);



    font-weight:600;



}



.nav-link:hover{


    color:

    var(--primary);


}




.nav-link::after{


    content:"";


    position:absolute;


    bottom:-8px;


    right:0;


    width:0;


    height:2px;


    background:

    var(--primary);



    border-radius:999px;


    transition:.3s;


}



.nav-link:hover::after{


    width:100%;


}





/* ===========================
   ICON BUTTON
=========================== */


.icon-clean,
.icon-btn{


    width:44px;


    height:44px;


    display:flex;


    align-items:center;


    justify-content:center;



    border-radius:50%;



    transition:.3s ease;


}



.icon-clean:hover,
.icon-btn:hover{


    background:

    rgba(255,255,255,.5);


}




.icon-clean img,
.icon-btn img{


    width:22px;


    height:22px;


}




/* ===========================
   NAV USER DROPDOWN
=========================== */


.dropdown-menu{


    background:#fff;


    border:

    1px solid #E7DCCB;



    border-radius:18px;


    overflow:hidden;



    box-shadow:

    0 20px 45px rgba(0,0,0,.12);


}



.dropdown-item{


    display:flex;


    align-items:center;



    padding:

    14px 18px;



    font-size:14px;


    font-weight:600;


    color:var(--text);



    transition:.25s;


}



.dropdown-item:hover{


    background:#F8F3EC;


    color:

    var(--primary);


    padding-right:25px;


}





/* ===========================
   NAV SCROLL
=========================== */


.nav-scrolled{


    box-shadow:

    0 10px 35px rgba(0,0,0,.08);


}


/* بخش حساب کاربر */


.mobile-user-section{


    padding-top:5px;


}





/* badge */


.badge{


    position:absolute;



    top:-5px;


    left:-5px;



    min-width:20px;


    height:20px;



    display:flex;


    align-items:center;


    justify-content:center;



    border-radius:50%;



    background:

    var(--primary);



    color:white;



    font-size:11px;


    font-weight:700;



    border:

    2px solid #fff;


}






/* ===========================
   RESPONSIVE
=========================== */



@media(max-width:1024px){


    .container-custom{


        padding-inline:18px;


    }


}




@media(max-width:640px){



    .btn-primary{


        font-size:13px;


        padding:

        10px 18px;


    }




    .icon-clean,
    .icon-btn{


        width:40px;


        height:40px;


    }




    .icon-clean img,
    .icon-btn img{


        width:20px;


        height:20px;


    }



}





/* ===========================
   SWIPER
=========================== */


.swiper{


    width:100%;


    overflow:hidden;


}



.swiper-slide{


    width:100%;


}




.swiper-button-next,
.swiper-button-prev{


    color:#fff;


}




.swiper-pagination-bullet{


    background:#fff;


    opacity:.4;


}




.swiper-pagination-bullet-active{


    opacity:1;


}

.mobile-menu-btn{
    display:none !important;
}


@media(max-width:1024px){

    .mobile-menu-btn{
        display:flex !important;
        align-items:center;
        justify-content:center;
    }

}

.dropdown-wrapper{

    opacity:0;
    visibility:hidden;

    transform:translateY(10px);

    transition:.25s ease;

}


.desktop-user:hover .dropdown-wrapper{

    opacity:1;
    visibility:visible;

    transform:translateY(0);

}

/* DESKTOP DROPDOWN */

.dropdown-wrapper{

    position:absolute;

    top:100%;
    left:0;

    padding-top:16px;

    width:260px;

    opacity:0;
    visibility:hidden;

    transform:translateY(10px);

    transition:.25s ease;

}


.desktop-user:hover .dropdown-wrapper{

    opacity:1;
    visibility:visible;

    transform:translateY(0);

}



/* MOBILE USER */

.mobile-user{
    display:none;
}


@media(max-width:1024px){

    .mobile-user{
        display:flex;
    }

}


@media(min-width:1025px){

    .mobile-user{
        display:none;
    }

}



.mobile-link:hover{

    background:white;

    color:var(--primary);

}


/* FINAL MOBILE MENU STYLE */

#mobileMenu{
    position:fixed;
    inset:0;
    z-index:999;
}


#mobileMenu > div:first-child{
    background:rgba(0,0,0,.35);
}


#mobileMenu > div:last-child{
    background:#BFA06F !important;

    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;

}


/* لینک های منو */

.mobile-link{

    display:flex;
    align-items:center;

    min-height:50px;

    padding:0 16px;

    margin-bottom:12px;

    border-radius:16px;

    background:#DDBF92 !important;

    color:#231815 !important;

    font-weight:600;

}


.mobile-link:hover{

    background:#F5E7CF !important;

    color:#6B1D1D !important;

}


/* ضربدر */

.mobile-close{

    border:none !important;

    background:transparent !important;

}

#mobileMenu button{
    border:none !important;
    background:transparent !important;
}
.mobile-link{
    display:flex;
    align-items:center;
    min-height:54px;
    padding:0 18px;
    margin-bottom:10px;
    border-radius:18px;
    background:#D8BA8D;
    color:#231815;
    font-weight:700;
    transition:.25s ease;
}
.mobile-link:hover{
    background:#E8D1AE;
    color:#6B1D1D;
    transform:translateX(-4px);
}
.mobile-link:last-child{
    margin-bottom:0;
}
/* =========================
   MOBILE MENU FINAL FIX
========================= */
#mobileMenu .mobile-link{
    background:#DDBF92 !important;
    color:#231815 !important;
    margin-bottom:12px;
    border-radius:16px;
    min-height:50px;
    display:flex;
    align-items:center;
    padding:0 16px;
}
#mobileMenu .mobile-link:hover{
    background:#DDBF92 !important;
    color:#6B1D1D !important;
}
#mobileMenu > div:last-child{
    background:#BFA06F !important;
}
#mobileMenu button{
    background:transparent !important;
    border:none !important;
    padding:0 !important;
}
#mobileMenu button svg{
    width:28px;
    height:28px;
    color:#231815;
}
#mobileMenu .mobile-link{
    min-height:54px !important;
    margin-bottom:18px !important;
}
#mobileMenu .flex-1{
    padding-top:20px !important;
    padding-bottom:30px !important;
}
/* Hero Slider Mobile Fix */
@media (max-width: 1024px){
    .heroSwiper a{
        height: 260px !important;
    }
    .heroSwiper img{
        width:100%;
        height:100%;
        object-fit:cover;
        display:block;
    }
}


/* =========================
   FINAL NAVBAR RESPONSIVE
========================= */


.navbar-container{

    height:88px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:32px;

}


/* LOGO */

.navbar-logo{

    display:flex;

    align-items:center;

    gap:12px;

    flex-shrink:0;

}


.navbar-logo img{

    width:48px;

    height:48px;

    object-fit:contain;

}


.navbar-logo span{

    font-size:30px;

    font-weight:900;

    color:var(--primary);

    white-space:nowrap;

}



/* DESKTOP NAV */

.desktop-nav{

    display:flex;

    align-items:center;

    gap:40px;

}




.navbar-actions{

    display:flex;

    align-items:center;

    gap:12px;

    flex-shrink:0;

}



/* SEARCH DESKTOP */

.desktop-search{

    display:flex;

    align-items:center;

    position:relative;

}


.desktop-search input{

    width:280px;

    height:44px;

    padding-left:45px;

}



.desktop-search button{

    position:absolute;

    left:15px;

    background:none;

    border:none;

}





/* ICON */

.nav-icon{

    width:44px;

    height:44px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

}


.nav-icon img{

    width:22px;

    height:22px;

}




.mobile-actions{

    display:none;

}




/* =================
 MOBILE
================= */


@media(max-width:1024px){


    .desktop-nav,
    .desktop-search,
    .desktop-only,
    .desktop-user{

        display:none !important;

    }



    .navbar-container{

        height:80px;

    }



    .navbar-actions{

        width:auto;

    }



    .mobile-actions{

        display:flex;

        flex-direction:row;

        align-items:center;

        gap:8px;

        direction:ltr;

    }



    .mobile-actions .nav-icon{

        flex-shrink:0;

    }



    .navbar-logo span{

        font-size:24px;

    }


}




/* SEARCH POPUP */


.mobile-search-box{

    position:fixed;

    top:90px;

    left:16px;

    right:16px;

    z-index:999;

}



.mobile-search-inner{

    position:relative;

}



.mobile-search-inner input{

    width:100%;

    height:50px;

    background:white;

    border-radius:999px;

    box-shadow:0 15px 40px rgba(0,0,0,.15);

    padding-left:50px;

}



.mobile-search-inner button{

    position:absolute;

    left:15px;

    top:50%;

    transform:translateY(-50%);

    border:none;

    background:none;

}



.mobile-search-inner img{

    width:22px;

}





/* کوچک ترین موبایل ها */

@media(max-width:380px){


    .navbar-logo span{

        display:none;

    }


    .mobile-actions{

        gap:4px;

    }


    .nav-icon{

        width:38px;

        height:38px;

    }


}

.desktop-search button img{
    width:20px !important;
    height:20px !important;
    display:block;
}

.desktop-search button{
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
}
.hero-section{
    padding-top: 0;
}

.heroSwiper{
    width:100vw;
    margin-right:calc(50% - 50vw);
    margin-left:calc(50% - 50vw);
}

.hero-slide{
    height:clamp(300px,60vh,650px);
}

/* =========================
   HERO SWIPER PAGINATION
========================= */

.heroSwiper .swiper-pagination-bullet{

    background:#fff !important;

    opacity:.5;

}


.heroSwiper .swiper-pagination-bullet-active{

    background:#fff !important;

    opacity:1;

}

/* =====================================================
   PODCAST GLASS DESIGN
===================================================== */

.podcast-page{

    max-width:1000px;
    margin:auto;

}


/* Main glass card */

.podcast-card{

    background:
    linear-gradient(
        135deg,
        rgba(255,255,255,.75),
        rgba(255,255,255,.45)
    );

    backdrop-filter:blur(20px);

    -webkit-backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.5);

    border-radius:36px;

    padding:35px;

    box-shadow:
    0 30px 80px rgba(0,0,0,.12);

}



/* Header */

.podcast-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:30px;

}


.podcast-type{

    display:inline-flex;

    padding:8px 18px;

    border-radius:999px;

    background:var(--surface);

    color:var(--primary);

    font-size:.9rem;

    font-weight:800;

}



.podcast-title{

    margin-top:20px;

    font-size:clamp(1.8rem,4vw,3rem);

    font-weight:950;

    line-height:1.4;

    color:var(--secondary);

}



.podcast-date{

    margin-top:10px;

    color:#888;

    font-size:.9rem;

}



/* Video */

.video-box{

    width:100%;

    overflow:hidden;

    border-radius:28px;

    background:#000;

    margin:30px 0;

}


.video-box video{

    width:100%;

    display:block;

    max-height:500px;

    object-fit:cover;

}



/* Progress */

.progress-wrapper{

    display:flex;

    align-items:center;

    gap:15px;

    margin-top:25px;

}


.progress-wrapper span{

    width:55px;

    text-align:center;

    font-size:.85rem;

    color:#777;

}



#progressBar{

    flex:1;

    height:6px;

    cursor:pointer;

    accent-color:var(--primary);

}



/* Controls */

.player-controls{

    display:flex;

    align-items:center;

    gap:12px;

    margin-top:25px;

    flex-wrap:wrap;

}



.control-btn{

    border:none;

    padding:12px 18px;

    border-radius:16px;

    background:rgba(255,255,255,.7);

    cursor:pointer;

    font-weight:800;

    transition:.25s;

}


.control-btn:hover{

    background:var(--primary);

    color:white;

    transform:translateY(-3px);

}



.volume-box{

    display:flex;

    align-items:center;

    gap:10px;

    flex:1;

    min-width:150px;

}



#volumeBar{

    width:100%;

    accent-color:var(--primary);

}



/* Description */

.podcast-description{

    margin-top:35px;

    padding-top:30px;

    border-top:1px solid rgba(0,0,0,.08);

}



.podcast-description h3{

    font-size:1.4rem;

    font-weight:900;

    margin-bottom:15px;

}



.description-text{

    color:#555;

    line-height:2.3;

    font-size:1rem;

}



/* Background decoration */

.podcast-page::before{

    content:"";

    position:fixed;

    width:300px;

    height:300px;

    border-radius:50%;

    background:var(--accent);

    opacity:.15;

    filter:blur(100px);

    z-index:-1;

}



/* Mobile */

@media(max-width:700px){


    .podcast-page{

        width:100%;

    }


    .podcast-card{

        padding:16px;

        border-radius:24px;

        box-shadow:
        0 15px 40px rgba(0,0,0,.1);

    }


    .podcast-title{

        font-size:1.5rem;

        line-height:1.6;

    }


    .podcast-header{

        margin-bottom:20px;

    }


    .video-box{

        margin:20px 0;

        border-radius:20px;

    }


    .video-box video{

        max-height:240px;

        object-fit:cover;

    }



    .play-btn{

        width:70px;

        height:70px;

    }



    .player-title{

        font-size:1rem;

    }



    .progress-wrapper{

        gap:8px;

    }



    .progress-wrapper span{

        width:40px;

        font-size:.75rem;

    }



    .player-controls{

        display:grid;

        grid-template-columns:repeat(3,1fr);

        width:100%;

        gap:10px;

    }



    .control-btn{

        width:100%;

        padding:12px 8px;

        font-size:.8rem;

    }



    .volume-box{

        width:100%;

        margin-top:10px;

    }



    .podcast-description{

        margin-top:25px;

        padding-top:20px;

    }


    .description-text{

        font-size:.9rem;

        line-height:2;

    }


}

.media-switch{

    display:flex;

    gap:10px;

    margin-top:20px;

    background:rgba(255,255,255,.5);

    padding:6px;

    border-radius:18px;

    width:max-content;

}


.media-switch button{

    border:none;

    padding:10px 20px;

    border-radius:14px;

    cursor:pointer;

    font-weight:800;

    background:transparent;

    transition:.25s;

}


.media-switch button.active{

    background:var(--primary);

    color:white;

}



@media(max-width:700px){

    .media-switch{

        width:100%;

    }


    .media-switch button{

        flex:1;

    }

}

/* ==============================
   PODCAST FINAL FIXES
============================== */


/* Player controls should be LTR */

.player-box,
.player-controls,
.progress-wrapper,
.volume-box{

    direction:ltr;

}


/* Keep text Persian */

.podcast-title,
.podcast-description,
.description-text,
.player-title{

    direction:rtl;

    text-align:right;

}



/* Smaller Play Button */

.play-btn{

    width:58px;

    height:58px;

    font-size:24px;

}



/* Progress bar */

#progressBar{

    direction:ltr;

}



/* Volume smaller on desktop */

.volume-box{

    display:flex;

    align-items:center;

    gap:10px;

    width:160px;

    flex:none;

}


#volumeBar{

    width:110px;

}



/* Media switch direction */

.media-switch{

    direction:rtl;

}



/* Mobile fixes */

@media(max-width:700px){


    .play-btn{

        width:55px;

        height:55px;

        font-size:22px;

    }


    .player-box{

        direction:ltr;

    }



    .volume-box{

        width:100%;

    }


    #volumeBar{

        width:100%;

    }


    .progress-wrapper{

        direction:ltr;

    }


}

/* =====================================
   COMPACT PODCAST PLAYER FINAL
===================================== */


/* remove old player look */

.player-box{
    display:none;
}


/* main compact player */

.compact-player{

    display:flex;

    align-items:center;

    gap:15px;

    margin-top:25px;

    padding:15px 20px;

    border-radius:22px;

    background:rgba(255,255,255,.55);

    border:1px solid rgba(255,255,255,.45);

    backdrop-filter:blur(15px);

    -webkit-backdrop-filter:blur(15px);

}



/* play button */

.compact-player .play-btn{

    width:52px;

    height:52px;

    flex-shrink:0;

    border-radius:50%;

    border:none;

    background:var(--primary);

    color:white;

    font-size:22px;

    cursor:pointer;

    display:flex;

    align-items:center;

    justify-content:center;

    transition:.3s;

}



.compact-player .play-btn:hover{

    transform:scale(1.08);

}



/* progress inside player */

.compact-player .progress-wrapper{

    flex:1;

    margin-top:0;

    display:flex;

    align-items:center;

    gap:12px;

    direction:ltr;

}



.compact-player #progressBar{

    flex:1;

}



/* time */

.compact-player span{

    width:45px;

    font-size:.8rem;

    text-align:center;

    color:#777;

}



/* controls direction */

.player-controls{

    direction:ltr;

}



/* volume */

.volume-box{

    width:160px;

    flex:none;

}



#volumeBar{

    width:110px;

}



/* mobile */

@media(max-width:700px){


    .compact-player{

        padding:12px;

        gap:10px;

        border-radius:18px;

    }



    .compact-player .play-btn{

        width:45px;

        height:45px;

        font-size:18px;

    }



    .compact-player .progress-wrapper{

        gap:5px;

    }



    .compact-player span{

        width:35px;

        font-size:.7rem;

    }



    .volume-box{

        width:100%;

    }



    #volumeBar{

        width:100%;

    }


}


/* =========================
   Blog Content Style
========================= */

.blog-content {
    line-height: 2.4;
}


/* Paragraph */

.blog-content p {
    margin-bottom: 24px;
}


/* Images */

.blog-content img {
    display: block;
    max-width: 90%;
    height: auto;
    margin: 35px auto;
    border-radius: 24px;
    object-fit: cover;
}


/* Headings */

.blog-content h2 {
    font-size: 28px;
    font-weight: 900;
    margin-top: 45px;
    margin-bottom: 20px;
    line-height: 1.8;
}


.blog-content h3 {
    font-size: 22px;
    font-weight: 800;
    margin-top: 35px;
    margin-bottom: 15px;
}


/* Bold */

.blog-content strong {
    font-weight: 900;
}


/* Links */

.blog-content a {
    color: var(--accent);
    text-decoration: underline;
}


/* Quote */

.blog-content blockquote {
    margin: 35px 0;
    padding: 20px 25px;
    border-right: 5px solid var(--accent);
    background: var(--surface);
    border-radius: 20px;
    font-style: italic;
}


/* Lists */

.blog-content ul,
.blog-content ol {
    padding-right: 30px;
    margin-bottom: 25px;
}


.blog-content li {
    margin-bottom: 12px;
}


/* Tables */

.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 35px 0;
}


.blog-content td,
.blog-content th {
    border: 1px solid var(--border);
    padding: 12px;
}


/* Mobile */

@media (max-width: 768px) {

    .blog-content img {
        max-width: 100%;
        border-radius: 18px;
    }


    .blog-content h2 {
        font-size: 24px;
    }


    .blog-content h3 {
        font-size: 20px;
    }

}

/* Course Buy Box Fix */

.course-buy-box,
.card-ui.p-6 {
    padding: 24px !important;
    border-radius: 28px !important;
}


.course-buy-box .btn-primary,
.card-ui .btn-primary {
    width:100%;
}



/* جلوگیری از قفل شدن محتوا */
.card-ui > div {
    max-width:100%;
}


.card-ui {
    overflow: hidden !important;
}

.card-ui img {
    border-radius: inherit !important;
}

@media(max-width:1024px){
    .desktop-only{
        display:none !important;
    }
}
@media(max-width:1024px){

    .mobile-actions{
        display:flex;
        align-items:center;
        gap:8px;
        direction:ltr;
    }

    .mobile-menu-btn{
        flex-shrink:0;
    }

    .navbar-actions{
        flex-shrink:0;
    }

    .navbar-container{
        gap:10px;
    }

}

/* =========================
   MOBILE MENU FINAL DESIGN
========================= */


.mobile-overlay{

    background:rgba(35,24,21,.18);

}



.mobile-drawer{

    position:absolute;

    top:0;
    right:0;

    height:100%;

    width:78%;

    max-width:360px;


    background:

    linear-gradient(
        180deg,
        #fff8ee 0%,
        #F5E7CF 100%
    );


    box-shadow:
    -15px 0 40px rgba(0,0,0,.08);


    display:flex;

    flex-direction:column;


}



/* HEADER */

.mobile-header{

    height:96px;

    padding:0 24px;


    display:flex;

    align-items:center;

    justify-content:space-between;


    border-bottom:

    1px solid rgba(210,181,139,.35);


}



.mobile-logo{

    display:flex;

    align-items:center;

    gap:12px;


    font-size:26px;

    font-weight:900;

    color:var(--primary);


}



.mobile-logo img{

    width:42px;

    height:42px;

    object-fit:contain;

}



.mobile-close{

    width:42px;

    height:42px;


    display:flex;

    align-items:center;

    justify-content:center;


    border:none;

    background:transparent;


    color:var(--text);

}



.mobile-close svg{

    width:32px;

    height:32px;

}





/* CONTENT */


.mobile-content{

    flex:1;

    overflow-y:auto;

    padding:30px 24px;

}





.mobile-link{

    display:flex;

    align-items:center;


    min-height:54px;


    padding:0 18px;


    margin-bottom:14px;


    border-radius:18px;


    background:

    rgba(255,255,255,.75);


    color:var(--text);


    font-weight:700;


    border:

    1px solid rgba(210,181,139,.35);


    transition:.25s ease;


}



.mobile-link:hover{

    background:var(--primary);

    color:white;

    transform:translateX(-5px);

}





.mobile-divider{

    height:1px;

    background:#D8C3A2;

    margin:25px 0;

}




.logout-link{

    color:#b42318;

}





.mobile-login-btn{

    display:flex;

    justify-content:center;

    align-items:center;


    margin-top:20px;


    padding:14px;


    border-radius:999px;


    background:var(--secondary);


    color:white;


    font-weight:800;


}



@media(max-width:400px){

    .mobile-drawer{

        width:85%;

    }


    .mobile-logo{

        font-size:22px;

    }

}

/* FINAL MOBILE MENU COLOR FIX */

#mobileMenu > div:last-child{

    background:
    linear-gradient(
        180deg,
        #FFF8EE,
        #F5E7CF
    ) !important;

    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;

}


#mobileMenu .mobile-link{

    background:
    rgba(255,255,255,.75) !important;

    color:#231815 !important;

    border:1px solid rgba(210,181,139,.35);

}


#mobileMenu .mobile-link:hover{

    background:#6B1D1D !important;

    color:white !important;

}

.w-7 svg{
    width:100%;
    height:100%;
    display:block;
    fill:currentColor;
}

.hero-image-box {
    width: 100%;
}


.hero-side-image {
    width: 100%;
    height: 650px;
    object-fit: cover;
}


/* تبلت */
@media (max-width: 1024px) {

    .hero-image-box {
        max-width: 420px;
        margin-right: auto;
        margin-left: 0;
    }

    .hero-side-image {
        height: 520px;
    }

}


/* موبایل */
@media (max-width: 640px) {

    .hero-image-box {
        max-width: 330px;
        margin-right: auto;
        margin-left: 0;
    }

    .hero-side-image {
        height: 420px;
    }

}


img,
video {
    max-width: 100%;
    height: auto;
}

html,
body {
    overflow-x: hidden;
}

/* =========================
   TEACHERS RESPONSIVE FIX
========================= */


/* Teacher cards size control */

@media (min-width:768px) and (max-width:1280px){

    .teachers-grid{
        gap:24px;
    }

}


/* محدود کردن کارت اساتید */

section .card-ui{

    max-width:100%;

}



/* عکس کارت استاد */

.card-ui img{

    max-height:520px;

}



/* =========================
   TEACHER DETAIL IMAGE BOX
========================= */


.teacher-detail-image-box{

    max-width:380px;

}


.teacher-detail-image-box img{

    height:520px;

    object-fit:cover;

}




/* Tablet */

@media (min-width:768px) and (max-width:1200px){


    .teacher-detail-image-box{

        max-width:330px;

    }


    .teacher-detail-image-box img{

        height:430px;

    }


}



/* Mobile */

@media(max-width:640px){


    .teacher-detail-image-box{

        max-width:100%;

    }


    .teacher-detail-image-box img{

        height:420px;

    }


}

/* =========================
   TEACHERS PAGE FIX
========================= */


.teachers-grid .card-ui{

    max-width:320px;
    margin:auto;

}


.teacher-card-image{

    height:320px !important;

    object-fit:cover;

}


/* Tablet */

@media(max-width:1024px){

    .teachers-grid .card-ui{

        max-width:280px;

    }


    .teacher-card-image{

        height:300px !important;

    }

}


/* Mobile */

@media(max-width:640px){

    .teachers-grid .card-ui{

        max-width:100%;

    }


    .teacher-card-image{

        height:360px !important;

    }

}

.teacher-detail-avatar{

    height:520px;

    object-fit:cover;

}


@media(max-width:1024px){

.teacher-detail-avatar{

    height:430px;

}

}


@media(max-width:640px){

.teacher-detail-avatar{

    height:380px;

}

}

/* =========================
   TEACHER TEASER FIX
========================= */
.teacher-teaser video{

    width:280px;

    height:180px;

    object-fit:cover;

    border-radius:20px;

    display:block;

}


.teacher-teaser{

    display:flex;

    flex-direction:column;

    align-items:flex-start;

}


@media(max-width:640px){

    .teacher-teaser video{

        width:100%;

        height:220px;

    }

}


/* تبلت */

@media(max-width:1024px){

    .teacher-teaser video{

        height:260px;

    }

}





.teacher-side-card{
    width:360px !important;
}


.teacher-detail-avatar{
    width:360px !important;
    height:430px !important;
    object-fit:cover !important;
    display:block !important;
}


.teacher-teaser video{

    width:360px !important;
    height:220px !important;

    object-fit:cover !important;

    border-radius:20px !important;

    display:block !important;
}


@media(max-width:1024px){

    .teacher-side-card{
        width:100% !important;
    }


    .teacher-detail-avatar,
    .teacher-teaser video{

        width:100% !important;

    }

}


@media(max-width:640px){

    .teacher-detail-avatar{

        height:380px !important;

    }


    .teacher-teaser video{

        height:220px !important;

    }

}
/* =========================
   TEACHER DETAIL FINAL SIZE
========================= */

.teacher-side-card{
    width:360px !important;
    max-width:360px !important;
}


.teacher-detail-avatar{
    width:100% !important;
    height:430px !important;
    object-fit:cover !important;
    display:block !important;
}


.teacher-teaser video{
    width:100% !important;
    height:220px !important;
    object-fit:cover !important;
    border-radius:20px !important;
    display:block !important;
}


/* Tablet */

@media (max-width:1024px){

    .teacher-side-card{

        width:320px !important;
        max-width:320px !important;

    }


    .teacher-detail-avatar{

        height:400px !important;

    }


}


/* Mobile */

@media(max-width:640px){

    .teacher-side-card{

        width:100% !important;
        max-width:100% !important;

    }


    .teacher-detail-avatar{

        height:380px !important;

    }


    .teacher-teaser video{

        height:220px !important;

    }

}

/* =========================
   AUTH CARDS
========================= */

.auth-card{
    width:100% !important;
    max-width:500px !important;
    margin-inline:auto;
}

:root {
    color-scheme: light;
}