/*====================================================
SINGLE ARTICLE
SK Academy Premium
====================================================*/

.single-post{

    background:#f8f4ee;

}

/*====================================================
CONTAINER
====================================================*/

.article-wrapper{

    background:
    linear-gradient(
        180deg,
        #fffaf1 0%,
        #ffffff 35%,
        #f8f4ee 100%
    );

}

.article-container{

    width:92%;

    max-width:1280px;

    margin:auto;

    display:grid;

    grid-template-columns:

        minmax(0,820px)

        320px;

    gap:60px;

    padding:90px 0;

}

@media(max-width:1100px){

.article-container{

    grid-template-columns:1fr;

}

}


/*====================================================
HERO
====================================================*/

.article-hero{

    background:
    linear-gradient(
        135deg,
        #07101f,
        #10243c,
        #17304f
    );

    padding:70px 20px 80px;

}

.article-hero .container{

    max-width:1180px;

}

.article-banner{

    border-radius:28px;

    overflow:hidden;

    background:#081426;

    border:1px solid rgba(255,255,255,.08);

    box-shadow:

    0 30px 70px rgba(0,0,0,.35);

}

.article-banner{

    max-width:700px;

    margin:0 auto;

    text-align:center;

}

.article-banner img{

    width:100%;

    height:auto;

    border-radius:18px;

}

.article-meta{

    margin-top:45px;

    text-align:center;

    color:white;

}

.article-meta h1{

    font-size:54px;

    line-height:1.2;

    margin:20px auto;

    max-width:950px;

    font-weight:700;

}

.category{

    display:inline-flex;

    padding:8px 18px;

    border-radius:50px;

    background:rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.12);

    backdrop-filter:blur(8px);

    color:#f3d08d;

    font-size:13px;

    font-weight:600;

    text-transform:uppercase;

    letter-spacing:2px;

}

.meta-row{

    display:flex;

    justify-content:center;

    gap:35px;

    flex-wrap:wrap;

    color:#d6dde6;

    margin-top:25px;

}

.meta-row span{

    display:flex;

    align-items:center;

    gap:8px;

    font-size:15px;

}


/*====================================================
ARTICLE CONTENT
====================================================*/

.article-content{

    background:#ffffff;

    border-radius:30px;

    padding:70px;

    box-shadow:
        0 20px 50px rgba(0,0,0,.08);

}

@media(max-width:768px){

.article-content{

    padding:35px 25px;

}

}


/*====================================================
TYPOGRAPHY
====================================================*/

.article-content{

    font-size:20px;

    line-height:2;

    color:#3a4654;

}

.article-content p{

    margin-bottom:32px;

}

.article-content h2{

    margin-top:70px;

    margin-bottom:25px;

    font-size:38px;

    color:#17304f;

    position:relative;

    padding-bottom:18px;

}

.article-content h2::after{

    content:"";

    position:absolute;

    left:0;

    bottom:0;

    width:80px;

    height:4px;

    background:#c8a96b;

    border-radius:20px;

}

.article-content h3{

    margin-top:50px;

    margin-bottom:20px;

    font-size:28px;

    color:#17304f;

}

.article-content h4{

    margin-top:35px;

    margin-bottom:15px;

    color:#17304f;

}

.article-content strong{

    color:#17304f;

}

.article-content em{

    color:#8d6b2e;

}

.article-content a{

    color:#17304f;

    text-decoration:none;

    border-bottom:2px solid rgba(200,169,107,.35);

    transition:.3s;

}

.article-content a:hover{

    color:#c8a96b;

}

.article-content ul,

.article-content ol{

    margin:25px 0 35px 35px;

}

.article-content li{

    margin-bottom:14px;

}


/*====================================================
IMAGE
====================================================*/

.article-content img{

    width:100%;

    border-radius:20px;

    margin:45px 0;

    box-shadow:

    0 20px 45px rgba(0,0,0,.15);

    transition:.35s;

}

.article-content img:hover{

    transform:scale(1.02);

}


/*====================================================
BLOCKQUOTE
====================================================*/

.article-content blockquote{

    position:relative;

    margin:50px 0;

    padding:35px 40px;

    background:#fff8ec;

    border-left:6px solid #c8a96b;

    border-radius:18px;

    font-size:24px;

    line-height:1.8;

    color:#17304f;

}

.article-content blockquote::before{

    content:"“";

    position:absolute;

    top:-10px;

    left:18px;

    font-size:80px;

    color:#c8a96b;

    opacity:.3;

}


/*====================================================
TABLE
====================================================*/

.article-content table{

    width:100%;

    border-collapse:collapse;

    margin:45px 0;

}

.article-content table th{

    background:#17304f;

    color:white;

    padding:15px;

}

.article-content table td{

    padding:15px;

    border:1px solid #eee;

}


/*====================================================
READING PROGRESS
====================================================*/

.reading-progress{

    position:fixed;

    top:0;

    left:0;

    width:0;

    height:5px;

    background:

    linear-gradient(

        90deg,

        #c8a96b,

        #f4d27f

    );

    z-index:999999;

}


/*====================================================
BACK TO TOP
====================================================*/

.back-top{

    position:fixed;

    bottom:30px;

    right:30px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:#17304f;

    color:white;

    cursor:pointer;

    opacity:0;

    visibility:hidden;

    transition:.35s;

    font-size:22px;

    box-shadow:

    0 15px 35px rgba(0,0,0,.2);

}

.back-top.show{

    opacity:1;

    visibility:visible;

}

.back-top:hover{

    transform:translateY(-6px);

    background:#c8a96b;

}


/*====================================================
FADE
====================================================*/

.fade-up{

    opacity:0;

    transform:translateY(40px);

    transition:

    opacity .8s,

    transform .8s;

}

.fade-up.show{

    opacity:1;

    transform:none;

}


/*====================================================
ZOOM
====================================================*/

.zoomed{

    transform:scale(1.08);

    cursor:zoom-out;

}

.article-body{

    background:
    linear-gradient(
        180deg,
        #fffaf1 0%,
        #ffffff 45%,
        #f8f4ee 100%
    );

    padding:0px 0;

}

.article-container{

    width:92%;

    max-width:1280px;

    margin:auto;

    display:grid;

    grid-template-columns:
        minmax(0,820px)
        320px;

    gap:60px;

    align-items:start;

}

.article-main{

    min-width:0;

}

.article-sidebar{

    position:sticky;

    top:110px;

    align-self:start;

}

@media(max-width:1100px){

.article-container{

    grid-template-columns:1fr;

}

.article-sidebar{

    position:static;

    margin-top:50px;

}

}

@media(max-width:768px){

.article-body{

    padding:45px 0;

}

.article-content{

    padding:35px 25px;

}

}

/*=========================================
AUTHOR
=========================================*/

.author-box{

    padding:40px 0 50px;

}

.author-inner{

    width:92%;

    max-width:900px;

    margin:auto;

    display:flex;

    align-items:center;

    gap:30px;

    background:#ffffff;

    padding:40px;

    border-radius:25px;

    box-shadow:
        0 20px 50px rgba(0,0,0,.08);

}

.author-inner img{

    width:90px;

    height:90px;

    border-radius:50%;

    object-fit:contain;

    background:#07101f;

    padding:10px;

    flex-shrink:0;

}

.author-content h3{

    font-size:28px;

    color:#17304f;

    margin-bottom:10px;

}

.author-content p{

    color:#64748b;

    line-height:1.8;

}

@media(max-width:768px){

.author-inner{

    flex-direction:column;

    text-align:center;

}

}

/*=====================================
SIDEBAR
=====================================*/

.sidebar-box{

    background:#ffffff;

    border-radius:24px;

    padding:30px;

    margin-bottom:30px;

    box-shadow:
        0 15px 35px rgba(0,0,0,.08);

}

.sidebar-box h3{

    color:#17304f;

    margin-bottom:20px;

}

.sidebar-post-list{

    list-style:none;

}

.sidebar-post-list li{

    padding:12px 0;

    border-bottom:1px solid #ececec;

}

.sidebar-post-list li:last-child{

    border-bottom:none;

}

.sidebar-post-list a{

    text-decoration:none;

    color:#17304f;

    font-weight:600;

}

.sidebar-post-list a:hover{

    color:#c8a96b;

}

.sidebar-cta{

    background:
    linear-gradient(
        135deg,
        #17304f,
        #244a76
    );

    color:#fff;

}

.sidebar-cta h3{

    color:#fff;

}

.sidebar-cta p{

    margin:20px 0;

}
/*=====================================
RELATED
=====================================*/

.related-posts{

     padding:50px 0;

}

.related-posts h2{

    text-align:center;

    margin-bottom:50px;

    color:#17304f;

}

.related-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(300px,1fr));

    gap:30px;

}

.related-card{

    background:#fff;

    border-radius:24px;

    overflow:hidden;

    box-shadow:
        0 15px 35px rgba(0,0,0,.08);

    transition:.35s;

}

.related-card:hover{

    transform:translateY(-8px);

}

.related-card img{

    width:100%;

    display:block;

}

.related-card h3{

    padding:25px;

    color:#17304f;

}

/*=====================================
CTA
=====================================*/

.article-cta{

    margin:0 !important;
    padding:70px 20px !important;

    background:
    linear-gradient(
        135deg,
        #07101f,
        #17304f
    );

    color:#fff;

}

.article-cta + .footer{

    margin-top:0 !important;

}

.article-cta .container{
    margin-bottom:0;
    padding-bottom:0;
}

.cta-label{

    display:inline-block;

    color:#c8a96b;

    letter-spacing:2px;

    margin-bottom:20px;

}

.article-cta h2{

    font-size:46px;

    margin-bottom:25px;

}

.article-cta p{

    max-width:700px;

    margin:auto auto 40px;

}

.cta-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

.article-wrapper,
.article-body,
.related-posts,
.author-box,
.article-cta{

    margin-bottom:0 !important;

}

.article-wrapper{

    padding-bottom:0 !important;

}

.article-body{

    padding-bottom:40px !important;

}

body.single-post article{

    margin-bottom:0 !important;

}

body.single-post section{

    margin-bottom:0 !important;

}

/*==================================================
DESCRIPTION
==================================================*/

.single-description{

    padding-top:40px;

}

.description-card{

    background:#fff;

    border-radius:24px;

    padding:40px;

    margin-bottom:35px;

    box-shadow:0 15px 35px rgba(0,0,0,.06);

}

.description-card h3{

    font-size:30px;

    color:#17304f;

    margin-bottom:25px;

    position:relative;

}

.description-card h3:after{

    content:"";

    width:70px;

    height:4px;

    background:#c8a96b;

    display:block;

    margin-top:12px;

    border-radius:20px;

}

.ebook-content{

    font-size:18px;

    line-height:2;

    color:#475569;

}

.ebook-content h2,

.ebook-content h3,

.ebook-content h4{

    color:#17304f;

    margin-top:35px;

}

.ebook-content ul{

    margin-left:25px;

}

.ebook-content li{

    margin-bottom:10px;

}

.description-text{

    font-size:17px;

    line-height:2;

    color:#64748b;

    white-space:pre-line;

}

.description-text strong{

    color:#17304f;

}

.description-text ul{

    margin-left:25px;

}

.description-text li{

    margin-bottom:12px;

}

@media(max-width:768px){

.description-card{

    padding:25px;

}

.description-card h3{

    font-size:24px;

}

.ebook-content{

    font-size:16px;

}

.description-text{

    font-size:16px;

}

}
