/*==================================================
BLOG PAGE
==================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    color:#132238;
    background:#fff;
}

.blog-container{
    width:1320px;
    max-width:92%;
    margin:0 auto;
}

/*==================================================
HERO SECTION
==================================================*/

.blog-hero{
    position:relative;
    background:#fff;
    padding:110px 0 90px;
    overflow:hidden;
}

.blog-hero-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) 360px;
    gap:90px;
    align-items:flex-start;
}

.blog-left{
    width:100%;
}

.blog-category{
    display:inline-flex;
    align-items:center;
    gap:10px;
    margin-bottom:35px;
    color:#F58220;
    text-transform:uppercase;
    font-size:13px;
    font-weight:600;
    letter-spacing:1px;
}

.blog-category::before{
    content:"";
    width:8px;
    height:8px;
    border-radius:50%;
    background:#F58220;
}

.blog-title{
    font-size:64px;
    line-height:1.05;
    font-weight:500;
    color:#102A43;
    margin-bottom:35px;
    max-width:900px;
}

.blog-title .highlight{
    color:#F58220;
}

.blog-description{
    max-width:860px;
    font-size:20px;
    line-height:1.9;
    color:#5B6572;
}

/*==================================================
RIGHT META
==================================================*/

.blog-right{
    border-left:1px solid #E7E7E7;
    padding-left:40px;
}

.meta-item{
    margin-bottom:38px;
}

.meta-item:last-child{
    margin-bottom:0;
}

.meta-label{
    display:block;
    color:#F58220;
    text-transform:uppercase;
    font-size:12px;
    letter-spacing:1px;
    font-weight:600;
    margin-bottom:12px;
}

.meta-item strong{
    display:block;
    font-size:17px;
    color:#102A43;
    font-weight:600;
}

.key-takeaways{
    color:#5B6572;
    font-size:16px;
    line-height:1.9;
}

.key-takeaways p{
    margin-bottom:15px;
}

.key-takeaways ul{
    margin-top:10px;
    padding-left:20px;
}

.key-takeaways li{
    margin-bottom:10px;
}

/*==================================================
ORANGE DOTS
==================================================*/

.hero-dots{
    display:flex;
    gap:10px;
    margin-top:70px;
}

.hero-dots span{
    width:8px;
    height:8px;
    background:#F58220;
    border-radius:50%;
}

/*==================================================
HERO MEDIA
==================================================*/

.blog-media{
    background:#fff;
    padding-bottom:100px;
}

.blog-media img,
.blog-media video{
    width:100%;
    display:block;
    border-radius:18px;
}

.blog-media video{
    object-fit:cover;
    max-height:760px;
}

/*==================================================
BLOG BODY
==================================================*/

.blog-wrapper{
    background:#F7F3EE;
    padding:110px 0;
}

.blog-wrapper .blog-container{
    display:grid;
    grid-template-columns:90px 1fr;
    gap:80px;
    align-items:start;
}
/*==================================================
LEFT STICKY NAVIGATION
==================================================*/

.blog-navigation{
    position:relative;
}

.nav-sticky{
    position:sticky;
    top:140px;
}

.blog-nav-link{
    display:flex;
    align-items:center;
    gap:15px;
    text-decoration:none;
    margin-bottom:24px;
    transition:.35s;
}

.blog-nav-link:last-child{
    margin-bottom:0;
}

.blog-nav-link .line{
    width:40px;
    height:2px;
    background:#D8D8D8;
    transition:.35s ease;
}

.blog-nav-link .number{
    font-size:13px;
    font-weight:500;
    color:#9C9C9C;
    transition:.35s ease;
}

.blog-nav-link:hover .line{
    width:65px;
    background:#F58220;
}

.blog-nav-link:hover .number{
    color:#F58220;
}

.blog-nav-link.active .line{
    width:65px;
    background:#F58220;
}

.blog-nav-link.active .number{
    color:#F58220;
    font-weight:600;
}

/*==================================================
BLOG CONTENT
==================================================*/

.blog-content{
    width:100%;
}

.blog-content-section{
    margin-bottom:140px;
    scroll-margin-top:150px;
}

.blog-content-section:last-child{
    margin-bottom:0;
}

/*==================================================
SMALL TITLE
==================================================*/

.blog-small-title{
    display:flex;
    align-items:center;
    gap:12px;
    color:#F58220;
    text-transform:uppercase;
    font-size:13px;
    font-weight:600;
    letter-spacing:1px;
    margin-bottom:24px;
}

.blog-small-title span{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#F58220;
}

/*==================================================
SECTION TITLE
==================================================*/

.blog-section-title{
    max-width:900px;
    font-size:48px;
    line-height:1.15;
    color:#102A43;
    font-weight:500;
    margin-bottom:45px;
}

/*==================================================
RICH TEXT
==================================================*/

.blog-richtext{
    max-width:920px;
}

.blog-richtext p{
    font-size:18px;
    line-height:1.95;
    color:#59636F;
    margin-bottom:24px;
}

.blog-richtext h2{
    font-size:40px;
    color:#102A43;
    line-height:1.2;
    margin:60px 0 25px;
}

.blog-richtext h3{
    font-size:32px;
    color:#102A43;
    line-height:1.3;
    margin:55px 0 20px;
}

.blog-richtext h4{
    font-size:24px;
    color:#102A43;
    margin:40px 0 18px;
}

.blog-richtext strong{
    color:#102A43;
    font-weight:600;
}

.blog-richtext a{
    color:#F58220;
    text-decoration:none;
    transition:.3s;
}

.blog-richtext a:hover{
    text-decoration:underline;
}

/*==================================================
LISTS
==================================================*/

.blog-richtext ul{
    padding-left:22px;
    margin:30px 0;
}

.blog-richtext ol{
    padding-left:22px;
    margin:30px 0;
}

.blog-richtext li{
    margin-bottom:14px;
    color:#59636F;
    line-height:1.8;
}

/*==================================================
BLOCKQUOTE
==================================================*/

.blog-richtext blockquote{
    border-left:5px solid #F58220;
    padding-left:28px;
    margin:50px 0;
    font-size:28px;
    line-height:1.7;
    color:#102A43;
    font-style:italic;
}

/*==================================================
HORIZONTAL LINE
==================================================*/

.blog-richtext hr{
    border:none;
    height:1px;
    background:#E5E5E5;
    margin:60px 0;
}
/*==================================================
IMAGE TOP
==================================================*/

.blog-image-full{
    width:100%;
    margin-bottom:50px;
}

.blog-image-full img{
    width:100%;
    display:block;
    border-radius:18px;
    object-fit:cover;
}

/*==================================================
LARGE BANNER
==================================================*/

.blog-banner-image{
    margin:50px 0;
}

.blog-banner-image img{
    width:100%;
    display:block;
    border-radius:18px;
}

/*==================================================
TWO COLUMN
==================================================*/

.blog-two-column{
    display:grid;
    grid-template-columns:480px 1fr;
    gap:70px;
    align-items:center;
}

.blog-two-column.reverse{
    grid-template-columns:1fr 480px;
}

.blog-two-column.reverse .blog-image{
    order:2;
}

.blog-two-column.reverse .blog-richtext{
    order:1;
}

/*==================================================
IMAGE
==================================================*/

.blog-image{
    width:100%;
}

.blog-image img{
    width:100%;
    display:block;
    border-radius:18px;
}

.blog-image figure{
    margin:0;
}

.blog-image figcaption{
    margin-top:15px;
    text-align:center;
    color:#777;
    font-size:14px;
    font-style:italic;
}

/*==================================================
INLINE IMAGE
==================================================*/

.blog-richtext img{
    width:100%;
    display:block;
    border-radius:18px;
    margin:45px 0;
}

/*==================================================
TABLE
==================================================*/

.blog-richtext table{
    width:100%;
    border-collapse:collapse;
    margin:50px 0;
}

.blog-richtext table th{
    background:#F5F5F5;
    color:#132238;
    font-weight:600;
}

.blog-richtext table th,
.blog-richtext table td{
    border:1px solid #E4E4E4;
    padding:18px;
    text-align:left;
    font-size:16px;
}

/*==================================================
CODE
==================================================*/

.blog-richtext pre{
    background:#132238;
    color:#fff;
    padding:30px;
    border-radius:12px;
    overflow:auto;
    margin:40px 0;
}

.blog-richtext code{
    font-family:Consolas, monospace;
    font-size:15px;
}

/*==================================================
CALLOUT
==================================================*/

.blog-callout{
    padding:40px;
    background:#FFF8F1;
    border-left:5px solid #F58220;
    border-radius:12px;
    margin:45px 0;
}

.blog-callout h3{
    margin-top:0;
}

/*==================================================
SPACING
==================================================*/

.blog-content-section + .blog-content-section{
    padding-top:40px;
}
/*==================================================
RELATED BLOGS
==================================================*/

.related-blogs{
    padding:120px 0;
    background:#fff;
}

.related-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    margin-bottom:60px;
}

.related-header h2{
    font-size:48px;
    font-weight:500;
    color:#102A43;
}

.related-header p{
    max-width:500px;
    color:#666;
    line-height:1.8;
}

.related-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.related-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    transition:.35s;
    text-decoration:none;
    color:inherit;
    box-shadow:0 5px 20px rgba(0,0,0,.06);
}

.related-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,.12);
}

.related-card img{
    width:100%;
    height:250px;
    object-fit:cover;
    display:block;
}

.related-content{
    padding:28px;
}

.related-category{
    color:#F58220;
    text-transform:uppercase;
    font-size:12px;
    font-weight:600;
    letter-spacing:1px;
    display:block;
    margin-bottom:12px;
}

.related-content h3{
    font-size:24px;
    line-height:1.4;
    color:#132238;
    margin-bottom:15px;
}

.related-content p{
    color:#666;
    line-height:1.8;
    margin-bottom:20px;
}

.related-meta{
    display:flex;
    gap:12px;
    color:#999;
    font-size:14px;
}

/*==================================================
SCROLLBAR
==================================================*/

/* ::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-track{
    background:#f3f3f3;
}

::-webkit-scrollbar-thumb{
    background:#F58220;
    border-radius:20px;
} */

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:1200px){

.blog-hero-grid{
    grid-template-columns:1fr;
    gap:50px;
}

.blog-right{
    border-left:none;
    border-top:1px solid #E5E5E5;
    padding-left:0;
    padding-top:35px;
}

.blog-wrapper .blog-container{
    grid-template-columns:1fr;
}

.blog-navigation{
    display:none;
}

.blog-two-column,
.blog-two-column.reverse{
    grid-template-columns:1fr;
    gap:40px;
}

.blog-two-column.reverse .blog-image,
.blog-two-column.reverse .blog-richtext{
    order:unset;
}

.related-grid{
    grid-template-columns:1fr 1fr;
}

.blog-title{
    font-size:48px;
}

.blog-section-title{
    font-size:38px;
}

}

@media(max-width:768px){

.blog-hero{
    padding:70px 0;
}

.blog-media{
    padding-bottom:60px;
}

.blog-wrapper{
    padding:70px 0;
}

.blog-title{
    font-size:34px;
}

.blog-description{
    font-size:16px;
}

.blog-section-title{
    font-size:30px;
}

.blog-richtext p{
    font-size:16px;
}

.blog-richtext h2{
    font-size:28px;
}

.blog-richtext h3{
    font-size:24px;
}

.blog-richtext h4{
    font-size:20px;
}

.related-header{
    display:block;
}

.related-header h2{
    margin-bottom:20px;
}

.related-grid{
    grid-template-columns:1fr;
}

.related-card img{
    height:220px;
}

.blog-content-section{
    margin-bottom:90px;
}

.hero-dots{
    margin-top:40px;
}

}
.blog-layout{

    display:grid;

    grid-template-columns:300px 1fr;

    gap:70px;

}

.blog-sidebar{

    position:relative;

}

.blog-toc{

    position:sticky;

    top:140px;

}

.toc-link{

    display:flex;

    gap:15px;

    align-items:center;

    margin-bottom:22px;

    text-decoration:none;

    color:#666;

    transition:.3s;

}

.toc-link span{

    color:#F58220;

    font-weight:600;

    width:35px;

}

.toc-link.active{

    color:#132238;

    font-weight:600;

}

.toc-link.active span{

    color:#F58220;

}

@media(max-width:1200px){

.blog-layout{

    grid-template-columns:1fr;

}

.blog-sidebar{

    display:none;

}

}