/*
Theme: rivena
Component: Single Course Landing
Description: Styles for course landing and lesson pages
*/

.gh-wrap{
direction:rtl;
font-family:IRANSansLocal,Tahoma,Arial,sans-serif;
}

.gh-container{
width:min(1200px,94%);
margin:auto;
}

.gh-main-grid{
display:grid;
grid-template-columns:minmax(0,1fr) 330px;
gap:30px;
}

.gh-section,
.gh-sidebar-card,
.gh-full-hero,
.gh-hero{
background:#fff;
border-radius:24px;
padding:28px;
margin-bottom:25px;
box-shadow:0 8px 30px rgba(0,0,0,.07);
}

.gh-full-hero{
display:flex;
align-items:center;
gap:35px;
}

.gh-full-hero img,
.gh-hero img{
max-width:360px;
border-radius:22px;
}

.gh-primary-btn,
.gh-course-actions a{
display:inline-block;
background:#2563eb;
color:#fff!important;
padding:14px 28px;
border-radius:14px;
text-decoration:none;
}

.gh-lesson-row,
.gh-accordion-item{
background:#fafafa;
border-radius:16px;
padding:18px;
margin-bottom:12px;
}

.gh-sidebar-card{
position:sticky;
top:30px;
}

@media(max-width:900px){
.gh-main-grid{
display:block;
}

.gh-full-hero{
flex-direction:column;
}

.gh-full-hero img,
.gh-hero img{
max-width:100%;
}
}

/* migrated styles */

/*
 Ghasemi Landing Layer
 پایگاه اطلاع رسانی آیت الله قاسمی
 فقط برای صفحات دوره و جلسه
*/

.gh-wrap{
    direction:rtl;
    font-family:IRANSansLocal,Tahoma,sans-serif;
}

.gh-container{
    max-width:1200px;
    margin:auto;
    padding:30px 20px;
}

.gh-hero{
    background:#fff;
    border-radius:28px;
    padding:30px;
    box-shadow:0 10px 40px rgba(0,0,0,.06);
    display:grid;
    grid-template-columns:340px 1fr;
    gap:35px;
}

.gh-hero img{
    width:100%;
    border-radius:24px;
}

.gh-section{
    background:#fff;
    border-radius:24px;
    padding:28px;
    margin-top:25px;
    box-shadow:0 10px 35px rgba(0,0,0,.05);
}

.gh-lesson-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:18px;
    border-radius:18px;
    background:#fafafa;
    margin-bottom:12px;
}

.gh-sidebar-card{
    background:#fff;
    border-radius:24px;
    padding:25px;
    box-shadow:0 10px 35px rgba(0,0,0,.06);
}

.gh-playlist-item{
    display:block;
    padding:14px;
    border-bottom:1px solid #eee;
}

.gh-playlist-item.active{
    background:#eef5ff;
    border-radius:12px;
}

@media(max-width:900px){
    .gh-hero{
        grid-template-columns:1fr;
    }

    .gh-lesson-row{
        flex-direction:column;
        align-items:stretch;
    }
}

.gh-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:30px}
.gh-meta-grid{display:flex;gap:15px;margin-top:20px}
.gh-meta-grid div{background:#f7f7f7;padding:15px;border-radius:15px}
.gh-accordion-item{background:#fff;border-radius:15px;margin:10px 0;overflow:hidden}
.gh-accordion-title{width:100%;padding:18px;border:0;background:#fafafa;text-align:right;cursor:pointer}
.gh-accordion-content{display:none;padding:18px}
.gh-accordion-content.active{display:block}
@media(max-width:900px){.gh-layout{display:block}}


/* v22 ghasemi details */

.gh-sidebar-box{
background:#fff;
border-radius:24px;
padding:22px;
margin-bottom:20px;
}

.gh-sidebar-info div{
display:flex;
justify-content:space-between;
padding:12px 0;
border-bottom:1px solid #eee;
}

.gh-course-actions a{
display:inline-block;
margin-top:25px;
padding:14px 28px;
border-radius:14px;
background:#428DED;
color:#fff;
}

.gh-sidebar-video video{
width:100%;
border-radius:18px;
}

.gh-playlist-wrapper{
margin-top:25px;
}



/* v23 complete ghasemi layer */

.gh-main-grid{
display:grid;
grid-template-columns:minmax(0,1fr) 330px;
gap:32px;
}

.gh-full-hero{
background:#fff;
border-radius:30px;
padding:35px;
display:flex;
gap:35px;
align-items:center;
box-shadow:0 15px 45px rgba(0,0,0,.06);
margin-bottom:35px;
}

.gh-full-hero img{
width:380px;
border-radius:24px;
}

.gh-badge{
display:inline-block;
padding:8px 16px;
background:#eef5ff;
border-radius:30px;
}

.gh-course-stats{
display:flex;
gap:15px;
margin:25px 0;
}

.gh-course-stats div{
background:#f8f8f8;
padding:15px;
border-radius:15px;
}

.gh-primary-btn{
display:inline-block;
background:#428DED;
color:#fff;
padding:14px 30px;
border-radius:14px;
}

.gh-final-info{
text-align:center;
}

@media(max-width:900px){
.gh-main-grid{
display:block;
}
.gh-full-hero{
flex-direction:column;
}
.gh-full-hero img{
width:100%;
}
}



/* v24 sections */

.gh-feature-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
}

.gh-feature-grid div{
background:#fafafa;
padding:20px;
border-radius:18px;
}

.gh-share-links{
display:flex;
gap:15px;
}

.gh-share-links a{
padding:10px 18px;
background:#428DED;
color:#fff;
border-radius:12px;
}

@media(max-width:800px){
.gh-feature-grid{
grid-template-columns:1fr;
}
}



/* v25 single lesson */

.gh-lesson-header{
background:#fff;
border-radius:24px;
padding:28px;
margin-bottom:25px;
}

.gh-lesson-cover img{
width:100%;
border-radius:22px;
}

.gh-lesson-meta{
display:flex;
flex-wrap:wrap;
gap:12px;
margin-top:20px;
}

.gh-lesson-meta span{
background:#f7f7f7;
padding:10px 15px;
border-radius:12px;
}

.gh-media-box video,
.gh-media-box audio{
width:100%;
}

.gh-audio-wrapper a{
display:inline-block;
margin-top:15px;
padding:12px 20px;
background:#428DED;
color:white;
border-radius:12px;
}



/* v26 accurate playlist/footer layer */

.gh-playlist{
background:#fff;
border-radius:24px;
padding:20px;
}

.gh-playlist-item{
display:flex;
gap:10px;
padding:14px;
border-bottom:1px solid #eee;
}

.gh-playlist-item.active{
background:#edf5ff;
border-radius:14px;
color:#428DED;
font-weight:700;
}

.gh-site-footer{
margin-top:60px;
padding:40px;
background:#111827;
color:white;
text-align:center;
}



/* v27 header layer */

.gh-top-header{
background:#fff;
padding:20px 0;
margin-bottom:25px;
direction:rtl;
}

.gh-header-inner{
max-width:1200px;
margin:auto;
padding:0 20px;
display:flex;
justify-content:space-between;
align-items:center;
}

.gh-brand{
display:flex;
align-items:center;
gap:12px;
font-weight:800;
}

.gh-brand img{
height:55px;
width:auto;
}

.gh-menu{
display:flex;
gap:25px;
}

@media(max-width:768px){
.gh-header-inner{
flex-direction:column;
gap:20px;
}
.gh-menu{
flex-wrap:wrap;
justify-content:center;
}
}



/* ===== v28 visual recovery ===== */

.gh-wrap,
.gh-wrap *{
    box-sizing:border-box;
}

.gh-wrap{
    direction:rtl;
    font-family:IRANSansLocal, Tahoma, Arial, sans-serif;
    background:#f7f8fa;
    padding:30px 0;
}

.gh-container{
    width:min(1200px,94%);
    margin:auto;
}

.gh-main-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) 330px;
    gap:30px;
}

.gh-section,
.gh-sidebar-card,
.gh-full-hero,
.gh-hero{
    background:#fff;
    border-radius:24px;
    padding:28px;
    margin-bottom:25px;
    box-shadow:0 8px 30px rgba(0,0,0,.07);
}

.gh-full-hero{
    display:flex;
    gap:35px;
    align-items:center;
}

.gh-full-hero img,
.gh-hero img{
    max-width:360px;
    border-radius:22px;
}

.gh-primary-btn,
.gh-course-actions a{
    background:#2563eb;
    color:#fff!important;
    display:inline-block;
    padding:14px 28px;
    border-radius:14px;
    text-decoration:none;
}

.gh-lesson-row,
.gh-accordion-item{
    background:#fff;
    border-radius:16px;
    padding:18px;
    margin-bottom:12px;
}

.gh-sidebar-card{
    position:sticky;
    top:30px;
}

@media(max-width:900px){
    .gh-main-grid{
        display:block;
    }

    .gh-full-hero{
        flex-direction:column;
    }

    .gh-full-hero img,
    .gh-hero img{
        max-width:100%;
    }
}



/* Dynamic font placeholders */
body.rivena-font-dana,
.rivena-font-dana{
font-family:Dana,Tahoma,sans-serif;
}

body.rivena-font-iransans,
.rivena-font-iransans{
font-family:IRANSansLocal,Tahoma,sans-serif;
}
