/* BlOG INDIVIDUAL PAGE */
/*==============*/
/* 1. PAGE BACKGROUND */
.aht-page__content-wrapper{background:#f8fbff;padding:20px 20px 80px}
.aht-page__content{max-width:1500px;margin:auto}
/* 2. HERO */
.aht-page__post-head{max-width:1200px !important;margin:0 auto 55px;text-align:center}
.post-cats{

    display:flex;

    justify-content:center;

    margin-bottom:24px;

}

.post-cats-item{

    display:inline-flex !important;

    padding:0 !important;

    margin:0 !important;

    background:none !important;

    border:none !important;

    box-shadow:none !important;

}

.post-cats-item::before,
.post-cats-item::after{

    display:none !important;

}

.post-cats-item a{

display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 6px 14px !important;
    min-height: 30px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff !important;
    background: linear-gradient(135deg, #0B2C5E 0%, #1E5AA8 100%) !important;
    border: none !important;
    border-radius: 8px !important;
    box-shadow: 0 6px 16px rgba(11, 44, 94, .18);
    transition: all .3s ease;

}

.post-cats-item a:hover{

    background:#0B2C5E;

    color:#fff !important;

    transform:translateY(-2px);

    box-shadow:0 10px 25px rgba(11,44,94,.18);

}.post-title{font-size:48px;font-weight:700;line-height:1.2;color:#172042;margin:0 0 18px}
.post-date{font-size:16px;color:#6b7280;margin-bottom:36px}
.post-head__main-img{width:100%;display:block;border-radius:24px;box-shadow:0 18px 45px rgba(0,0,0,.08)}
/* 3. ARTICLE CARD */
.aht-page__content-post{max-width:1200px !important;margin:0 auto 50px;background:#fff;border:1px solid #e8edf5;border-radius:24px;padding: 55px 15px 55px 55px !important;box-shadow:0 15px 40px rgba(15,23,42,.05)}
/* 4. TYPOGRAPHY */
.aht-page__content-post h2{font-size:34px;font-weight:600;color:#172042;margin:48px 0 18px;line-height:1.3}
.aht-page__content-post h2:first-child{margin-top:0}
.aht-page__content-post h3{font-size:26px;font-weight:600;color:#172042;margin:34px 0 14px}
.aht-page__content-post p{font-size:17px;line-height:1.9;color:#556070;margin:0 0 22px}
.aht-page__content-post ul{list-style:none;padding:0;margin:22px 0 28px}
.aht-page__content-post li{position:relative;padding-left:34px;margin-bottom:14px;font-size:17px;line-height:1.8; color: #556070}
.aht-page__content-post li:before{content:'✓';position:absolute;left:0;top:2px;width:22px;height:22px;border-radius:50%;background:#1E5AA8;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px}
.aht-page__content-post img{max-width:100%;border-radius:18px;margin:28px 0}
/* 5. META */
.aht-page__post-meta{max-width:900px;margin:0 auto 35px;padding:24px 0;border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb}
.tags a,.likes{display:inline-block;padding:8px 16px;border-radius:999px;background:#eef5ff;color:#1E5AA8!important;text-decoration:none}
/* 6. SHARE */
.aht-page__socials{max-width:900px;margin:0 auto 60px}
.aht-page__socials__share{display:flex;justify-content:center;gap:14px}
.aht-page__socials__share__link{width:46px;height:46px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fff;box-shadow:0 8px 20px rgba(0,0,0,.08)}
/* 7. RELATED */
.aht-page__related-posts{background:#fff;padding:70px 0}
.aht-page__recent-posts__info-wrap{background:#fff;border:1px solid #e8edf5;border-radius:18px;overflow:hidden}
.aht-page__recent-posts__text{padding:20px}
/* 8. COMMENTS */
.aht-page__comments-area{max-width:900px;margin:70px auto;background:#fff;border:1px solid #e8edf5;border-radius:24px;padding:45px}
.comment-form textarea{width:100%;border:1px solid #d8dee9;border-radius:14px;padding:16px}
.comment-form .submit{background:linear-gradient(135deg,#0B2C5E,#1E5AA8);color:#fff;border:none;border-radius:10px;padding:14px 28px}
/* 9. TABLET */
@media(max-width:992px){.post-title{font-size:40px}.aht-page__content-post{padding:40px}.aht-page__content-post h2{font-size:30px}.aht-page__content-post h3{font-size:24px}}
/*10. MOBILE*/
@media(max-width:767px){.aht-page__content-wrapper{padding:40px 15px}.post-title{font-size:30px}.aht-page__content-post{padding:28px}.aht-page__content-post h2{font-size:28px}.aht-page__content-post h3{font-size:22px}.aht-page__content-post p,.aht-page__content-post li{font-size:16px}}

/* Override theme spacing & fix flex responsiveness */
.blog--single__sidebar .aht-page__content {
    padding: 30px 0 !important;
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
}

/*==============*/
/* BlOG INDIVIDUAL PAGE END*/

/* BlOG PILLAR PAGE */
/*==============*/
/*  FEATURED POST SECTION */
*,
*::before,
*::after{box-sizing:border-box;}

.blog-homepage{
max-width:1200px;
margin:0 auto;
padding:70px 20px;
position:relative;
background:
radial-gradient(circle at top right,rgba(30,90,168,.08),transparent 45%),
linear-gradient(180deg,#f8fbff 0%,#fff 100%);
}

.blog-homepage h2{
display:inline-flex;
align-items:center;
gap:10px;
padding:10px 18px;
border-radius:999px;
background:rgba(30,90,168,.08);
color:#0B2C5E;
font-size:13px;
font-weight:700;
letter-spacing:2px;
text-transform:uppercase;
margin:0 0 40px;
}
.blog-homepage h2:before{
content:"";
width:10px;height:10px;border-radius:50%;
background:linear-gradient(135deg,#0B2C5E,#1E5AA8);
}

.blog-homepage .wts-eae-pl-wrapper ul{margin:0;padding:0;list-style:none;}

.blog-homepage .wts-eae-pl-wrapper li{
display:flex;
align-items:center;
gap:50px;
padding:50px;
position:relative;
overflow:hidden;
background:#fff;
border:1px solid rgba(11,44,94,.08);
border-radius:24px;
box-shadow:0 20px 55px rgba(15,23,42,.08);
transition:.35s;
}
.blog-homepage .wts-eae-pl-wrapper li:hover{
transform:translateY(-8px);
box-shadow:0 28px 65px rgba(15,23,42,.12);
}
.blog-homepage .wts-eae-pl-wrapper li:before{
content:"";
position:absolute;
left:0;top:0;
width:100%;
height:6px;
background:linear-gradient(135deg,#0B2C5E,#1E5AA8);
}
.blog-homepage .wts-eae-pl-wrapper li:after{
content:"";
position:absolute;
right:-150px;
top:-150px;
width:380px;
height:380px;
border-radius:50%;
background:radial-gradient(circle,rgba(30,90,168,.12),transparent 70%);
}

.blog-homepage .eae-pl-image-wrapper{flex:0 0 42%;z-index:2;}
.blog-homepage .eae-pl-image-wrapper img{
width:100%;
display:block;
aspect-ratio:16/10;
object-fit:cover;
border-radius:18px;
transition:.45s;
}
.blog-homepage .wts-eae-pl-wrapper li:hover img{
transform:translateY(-5px) scale(1.03);
}

.blog-homepage .eae-pl-content-box-wrapper{flex:1;z-index:2;}
.blog-homepage .eae-pl-title{margin:0 0 22px;padding-bottom:18px;position:relative;}
.blog-homepage .eae-pl-title:after{
content:"";
position:absolute;
left:0;bottom:0;
width:80px;height:4px;
background:linear-gradient(135deg,#0B2C5E,#1E5AA8);
border-radius:99px;
}
.blog-homepage .eae-pl-title a{
text-decoration:none;
font-size:42px;
font-weight:800;
line-height:1.15;
color:#0B2C5E;
}
.blog-homepage .eae-pl-content-box{
font-size:18px;
line-height:1.85;
color:#667085;
margin-bottom:30px;
}
.blog-homepage .eae-pl-content-box p{margin:0;}
.blog-homepage .eae-pl-readmore a{
display:inline-flex;
align-items:center;
justify-content:center;
min-width:190px;
padding:16px 30px;
border-radius:12px;
text-decoration:none;
font-weight:600;
color:#fff!important;
background:linear-gradient(135deg,#0B2C5E,#1E5AA8);
box-shadow:0 15px 35px rgba(11,44,94,.25);
transition:.3s;
}
.blog-homepage .eae-pl-readmore a:hover{
transform:translateY(-3px);
}

/* Tablet */
@media (max-width:1024px){
.blog-homepage{padding:50px 24px;}
.blog-homepage .wts-eae-pl-wrapper li{gap:30px;padding:35px;}
.blog-homepage .eae-pl-image-wrapper{flex:0 0 40%;}
.blog-homepage .eae-pl-title a{font-size:30px;}
.blog-homepage .eae-pl-content-box{font-size:16px;line-height:1.75;}
}
.ue-grid-item-category a{    background: linear-gradient(135deg, #0B2C5E 0%, #1E5AA8 100%) !important;}
/* Mobile */
@media (max-width:767px){
.blog-homepage{padding:40px 16px;}
.blog-homepage h2{display:flex;justify-content:center;margin:0 auto 30px;}
.blog-homepage .wts-eae-pl-wrapper li{
flex-direction:column;
text-align:center;
gap:22px;
padding:24px;
}
.blog-homepage .eae-pl-image-wrapper{width:100%;flex:none;}
.blog-homepage .eae-pl-image-wrapper img{
max-width:300px;
margin:auto;
aspect-ratio:auto;
object-fit:contain;
}
.blog-homepage .eae-pl-title:after{left:50%;transform:translateX(-50%);}
.blog-homepage .eae-pl-title a{font-size:26px;}
.blog-homepage .eae-pl-content-box{font-size:15px;}
.blog-homepage .eae-pl-readmore{display:flex;justify-content:center;}
.blog-homepage .eae-pl-readmore a{width:100%;max-width:240px;}
}

/* Small Mobile */
@media (max-width:480px){
.blog-homepage .wts-eae-pl-wrapper li{padding:20px;}
.blog-homepage .eae-pl-title a{font-size:22px;}
.blog-homepage .eae-pl-content-box{font-size:14px;}
.blog-homepage .eae-pl-readmore a{max-width:none;}
}
/* LATEST ARTICLE */


#scmhrd-blog-tabs{
    position:relative;
    padding:90px 0;
    overflow:hidden;
    background:
        radial-gradient(circle at top right, rgba(30,90,168,.08), transparent 40%),
        linear-gradient(180deg,#f8fbff 0%,#ffffff 100%);
}

/*  HEADING */

#scmhrd-blog-tabs
.elementor-widget-heading
.elementor-widget-container
h2.elementor-heading-title.elementor-size-default{

    display:inline-flex;
    align-items:center;
    gap:10px;

    padding:10px 18px;

    border-radius:50px;

    background:rgba(30,90,168,.08);

    color:#1e2024 !important;
    font-size: 36px !important;

    font-weight:700 !important;

    letter-spacing:2px !important;

    text-transform:uppercase;

    margin-bottom:40px;

}

#scmhrd-blog-tabs
.elementor-widget-heading
.elementor-widget-container
h2.elementor-heading-title::before{

    content:"";

    width:10px;
    height:10px;

    border-radius:50%;

    background:linear-gradient(135deg,#0B2C5E,#1E5AA8);

}

#scmhrd-blog-tabs
.elementor-widget-heading
.elementor-widget-container
h2.elementor-heading-title::after{

    display:none;

}
#scmhrd-blog-tabs .elementor-heading-title::after{

    display:none;

}

/* CATEGORY FILTERS*/

#scmhrd-blog-tabs .e-n-tabs-heading{

    display:flex;
    flex-wrap:wrap;
    gap:14px;

    margin-bottom:60px;

}

#scmhrd-blog-tabs .e-n-tab-title{

    border:none !important;

    background:#fff;

    color:#667085;

    padding:14px 24px;

    border-radius:100px;

    font-weight:600;

    transition:.35s ease;

    box-shadow:
        0 8px 24px rgba(15,23,42,.05);

}

#scmhrd-blog-tabs .e-n-tab-title:hover{

    color:#0B2C5E;

    transform:translateY(-3px);

    box-shadow:
        0 18px 35px rgba(15,23,42,.08);

}

#scmhrd-blog-tabs .e-n-tab-title[aria-selected="true"]{

    color:#fff;

    background:
        linear-gradient(135deg,#0B2C5E,#1E5AA8);

    box-shadow:
        0 15px 35px rgba(11,44,94,.25);

}

/* GRID */

.ue_post_blocks{

    display:grid !important;

    grid-template-columns:
    repeat(auto-fit,minmax(330px,1fr));

    gap:34px;

}

/*CARD=*/

.ue_post_blocks_box{

    position:relative;

    display:flex;
    flex-direction:column;

    height:100%;

    overflow:hidden;

    background:#fff;

    border-radius:22px;

    border:1px solid rgba(11,44,94,.08);

    box-shadow:
        0 18px 45px rgba(15,23,42,.06),
        0 5px 12px rgba(15,23,42,.04);

    transition:.4s ease;

}

.ue_post_blocks_box:hover{

    transform:translateY(-10px);

    box-shadow:
        0 35px 75px rgba(15,23,42,.10),
        0 10px 25px rgba(15,23,42,.05);

}

.ue_post_blocks_box::before{

    content:"";

    position:absolute;

    left:0;
    top:0;

    width:100%;
    height:5px;

    background:
        linear-gradient(135deg,#0B2C5E,#1E5AA8);

}

/*  IMAGE*/

.ue_post_blocks_image{

    overflow:hidden;

}

.ue_post_blocks_image img{

    width:100%;
    display:block;

    transition:.65s ease;

}

.ue_post_blocks_box:hover img{

    transform:scale(1.08);

}

/*  CONTENT*/

.ue_post_blocks_content{

    display:flex;
    flex-direction:column;

    flex:1;

    padding:30px;

}

/* TITLE*/

.ue_post_blocks_title{

    margin-bottom:18px;

}

.ue_post_blocks_title a{

    color:#0B2C5E;

    text-decoration:none;

    font-size:28px;

    font-weight:700;

    line-height:1.3;

    transition:.3s;

}

.ue_post_blocks_box:hover .ue_post_blocks_title a{

    color:#1E5AA8;

}

/*  EXCERPT*/

.ue_post_blocks_text{

    color:#667085;

    font-size:16px;

    line-height:1.8;

    margin-bottom:30px;

}

/*  READ MORE*/

.ue_post_blocks_link{

    margin-top:auto;

}

.ue_post_blocks_link a{

 display:inline-flex;
    align-items:center;
    justify-content:center;

    gap:10px;

    padding:16px 32px;

    min-width:190px;

    border-radius:12px !important;

    text-decoration:none !important;

    font-size:15px;
    font-weight:600;
    letter-spacing:.2px;

    color:#fff !important;

    background:linear-gradient(135deg,#0B2C5E 0%,#1E5AA8 100%);

    box-shadow:
        0 15px 35px rgba(11,44,94,.28);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background-position .4s ease;

}

.ue_post_blocks_link a::after{

    content:"→";

    transition:.3s;

}

.ue_post_blocks_box:hover .ue_post_blocks_link a{

  
    transform:translateY(-4px);

    box-shadow:
        0 22px 45px rgba(11,44,94,.35);

    color:#fff !important;

}

.ue_post_blocks_box:hover .ue_post_blocks_link a::after{

    transform:translateX(6px);

}

/*  GLOW*/

.ue_post_blocks_box::after{

    content:"";

    position:absolute;

    right:-100px;
    top:-100px;

    width:220px;
    height:220px;

    border-radius:50%;

    background:
        radial-gradient(circle,
        rgba(30,90,168,.10),
        transparent 70%);

    opacity:0;

    transition:.5s;

}

.ue_post_blocks_box:hover::after{

    opacity:1;

}

/*  MOBILE*/

@media(max-width:768px){

    #scmhrd-blog-tabs{

        padding:60px 18px;

    }

    #scmhrd-blog-tabs .elementor-heading-title{

        font-size:14px;

        margin-bottom:35px;

    }

    #scmhrd-blog-tabs .e-n-tabs-heading{

        gap:10px;

        margin-bottom:40px;

    }

    #scmhrd-blog-tabs .e-n-tab-title{

        padding:11px 18px;

        font-size:14px;

    }

    .ue_post_blocks{

        grid-template-columns:1fr;

        gap:24px;

    }

    .ue_post_blocks_content{

        padding:22px;

    }

    .ue_post_blocks_title a{

        font-size:23px;

    }

    .ue_post_blocks_text{

        font-size:15px;

    }

}
/*  PAGINATION*/

.uc-posts-pagination{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:14px;

    margin-top:70px;

}

.uc-posts-pagination .page-numbers{

    display:flex;

    align-items:center;

    justify-content:center;

    width:48px;
    height:48px;

    border-radius:50%;

    text-decoration:none;

    font-size:16px;
    font-weight:600;

    color:#0B2C5E;

    background:#fff;

    border:1px solid rgba(11,44,94,.08);

    box-shadow:
        0 10px 25px rgba(15,23,42,.06);

    transition:.35s ease;

}

.uc-posts-pagination a.page-numbers:hover{

    transform:translateY(-4px);

    color:#fff;

    background:
        linear-gradient(135deg,#0B2C5E,#1E5AA8);

    box-shadow:
        0 18px 35px rgba(11,44,94,.25);

}

.uc-posts-pagination .current{

    color:#fff;

    background:
        linear-gradient(135deg,#0B2C5E,#1E5AA8);

    box-shadow:
        0 18px 35px rgba(11,44,94,.28);

}
.aht-page__content-post .elementor-widget-text-editor ul li::marker{

    content:"" !important;

    font-size:0 !important;

}
/* ==========================================================
   BLOG HERO - Persistent Style
   ========================================================== */

.aht-page__post-head {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    min-height: 600px;
    padding: 70px;

    overflow: hidden;
    border-radius: 20px;
    background: #000;

    text-align: left !important;
}

/* Featured Image */
.aht-page__post-head .post-head__main-img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 1;

    margin: 0 !important;
    display: block;
}

/* Gradient Overlay */
.aht-page__post-head::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;

    background:
        linear-gradient(
            to right,
            rgba(4, 15, 35, 0.82) 0%,
            rgba(4, 15, 35, 0.58) 40%,
            rgba(4, 15, 35, 0.25) 70%,
            rgba(4, 15, 35, 0.10) 100%
        ),
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.55) 0%,
            rgba(0, 0, 0, 0.10) 55%,
            rgba(0, 0, 0, 0) 100%
        );
}

/* Content */
.aht-page__post-head > *:not(img) {
    position: relative;
    z-index: 3;
}

.aht-page__post-head .post-cats,
.aht-page__post-head .post-title,
.aht-page__post-head .post-date {
    max-width: 760px;
}

/* Blog Tag */
.aht-page__post-head .post-cats {
    margin-bottom: 18px;
}

.aht-page__post-head .post-cats-item {
    display: inline-flex;
    align-items: center;

    background: #0d6efd;
    border-radius: 30px;

    padding: 8px 18px;
}

.aht-page__post-head .post-cats-item a {
    color: #fff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
}

/* Title */
.aht-page__post-head .post-title {

    color: #fff !important;

    font-size: 54px;
    font-weight: 700;
    line-height: 1.08;

    margin: 0 0 24px;

    text-align: left !important;

    text-shadow: 0 3px 18px rgba(0,0,0,.35);
}

/* Date */
.aht-page__post-head .post-date {

    color: rgba(255,255,255,.95);

    font-size: 20px;
    font-weight: 500;

    margin: 0;

    text-align: left !important;
}

/* Remove unwanted spacing */
.aht-page__post-head .post-title,
.aht-page__post-head .post-date,
.aht-page__post-head .post-cats {
    position: relative;
}
.aht-page__post-head.text-center{
    text-align:left !important;
    align-items:flex-start !important;
}
/* Hide breadcrumbs on single blog posts */
.blog--single__sidebar .aht-page__breadcrumbs {
    display: none !important;
	 	margin: 0 !important;
    padding: 0 !important;
}
/* ==========================================================
   Tablet
   ========================================================== */

@media (max-width: 1199px){

    .aht-page__post-head{

        min-height:520px;
        padding:50px;

    }

    .aht-page__post-head .post-title{

        font-size:44px;

    }

}

/* ==========================================================
   Mobile
   ========================================================== */

@media (max-width:767px){

    .aht-page__post-head{

        min-height:360px;
        padding:24px;

        border-radius:14px;

    }

    .aht-page__post-head .post-cats{

        margin-bottom:14px;

    }

    .aht-page__post-head .post-cats-item{

        padding:6px 14px;

    }

    .aht-page__post-head .post-cats-item a{

        font-size:12px;

    }

    .aht-page__post-head .post-title{

        font-size:30px;
        line-height:1.2;
        margin-bottom:14px;

    }

    .aht-page__post-head .post-date{

        font-size:15px;

    }

}
/* =========================================================
   BLOG TABS - POST VISIBILITY FIX
   ========================================================= */

.e-n-tabs .ue_post_blocks .ue_post_blocks_box {
    opacity: 1;
    visibility: visible;
}
/* BlOG PILLAR PAGE END */

/* ===== Enhanced TOC ===== */
.blog-toc{width:320px!important;min-width:320px}
.blog-toc .elementor-widget-container{background:#fff;border:1px solid #e7edf5;border-radius:18px;box-shadow:0 10px 30px rgba(0,0,0,.06);overflow:hidden;padding: 28px 18px !important; } 
.blog-toc .elementor-toc__header{padding:22px 24px;border-bottom:1px solid #edf2f7;background:#fff}
.blog-toc .elementor-toc__header-title{font-size:23px;font-weight:700;color:#062a63;margin:0}
.blog-toc .elementor-toc__body{padding:18px;max-height:70vh;overflow-y:auto}
.blog-toc .elementor-toc__body::-webkit-scrollbar{width:6px}
.blog-toc .elementor-toc__body::-webkit-scrollbar-thumb{background:#c9d5e6;border-radius:20px}
.blog-toc .elementor-toc__list-wrapper{margin:0;padding:0}
.blog-toc .elementor-toc__list-item{margin-bottom:10px}
.blog-toc .elementor-toc__list-item-text{display:block;padding:10px 14px;border-radius:8px;color:#556070;font-size:14px;line-height:1.5;text-decoration:none;transition:.25s}
.blog-toc .elementor-toc__list-item-text:hover{background:#f5f9ff;color:#0d6efd}
.blog-toc .elementor-item-active{background:#edf4ff;border-left:4px solid #0d6efd;font-weight:600}
