.blog-detail-page{
    background:#f7f8fc;
    padding:40px 0 70px;
}

.blog-detail-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 360px;
    gap:35px;
    align-items:start;
}

.blog-detail-content{
    background:#fff;
    border-radius:20px;
    padding:35px;
}

.blog-breadcrumb{
    font-size:14px;
    margin-bottom:20px;
}

.blog-breadcrumb a{
    color:#2563ff;
}

.blog-detail-category-badge{
    display:inline-block;
    background:#2563ff;
    color:#fff;
    padding:8px 18px;
    border-radius:30px;
    font-size:12px;
    font-weight:700;
    margin-bottom:20px;
}

.blog-detail-content h1{
    font-size:36px;
    line-height:1.15;
    color:#071C63;
    margin-bottom:20px;
}

.blog-detail-subtitle{
    font-size:18px;
    color:#667085;
    line-height:1.8;
    margin-bottom:30px;
}

.blog-detail-meta{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:22px;
    margin-bottom:35px;
}

.detail-author-box{
    display:flex;
    align-items:center;
    gap:14px;
}

.detail-author-avatar{
    width:56px;
    height:56px;
    border-radius:50%;
    background:#071C63;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    font-weight:700;
    flex-shrink:0;
}

.detail-author-info{
    display:flex;
    flex-direction:column;
}

.detail-author-info strong{
    color:#071C63;
    font-size:16px;
    font-weight:700;
    line-height:1.2;
}

.detail-author-info small{
    color:#667085;
    font-size:13px;
}

.meta-item{
    display:flex;
    align-items:center;
    gap:8px;
    color:#667085;
    font-size:15px;
    font-weight:500;
}

.meta-item i{
    color:#2563ff;
    font-size:15px;
}

.meta-divider{
    width:1px;
    height:32px;
    background:#e5e7eb;
}

.featured-image-detail{
    width:100%;
    border-radius:16px;
    margin-bottom:35px;
}

.blog-detail-body{
    color:#374151;
    line-height:1.9;
}

.blog-detail-body h2{
    color:#071C63;
    margin:30px 0 15px;
}

.blog-detail-body h3{
    color:#071C63;
    margin:25px 0 15px;
}

.blog-detail-body ul{
    padding-left:25px;
}

.blog-detail-body li{
    margin-bottom:10px;
}

.consultation-widget{
    background:#03277d;
    padding:25px;
    text-align:center;
    border-radius:20px;
    margin-bottom:25px;
}

.consultation-widget h2{
    color:#fff;
    font-size: 20px;
    margin-bottom:20px;
    font-weight:700;
}

.consultation-widget input,
.consultation-widget select,
.consultation-widget textarea{
    width:100%;
    margin-bottom:12px;
    padding:12px 15px;

    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.15);

    color:#fff;
    border-radius:10px;

    transition:all .3s ease;
}

.consultation-widget input::placeholder,
.consultation-widget textarea::placeholder{
    color:rgba(255,255,255,0.7);
}

.consultation-widget input:focus,
.consultation-widget select:focus,
.consultation-widget textarea:focus{
    outline:none;
    border-color:#4f7fff;
    box-shadow:0 0 0 3px rgba(79,127,255,.25);
}

/* Select */
.consultation-widget select{
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;
    cursor:pointer;
}

.consultation-widget select option{
    background:#03277d;
    color:#fff;
}

/* Textarea */
.consultation-widget textarea{
    resize:none;
    /*min-height:120px;*/
}

/* Button */
.consultation-widget button{
    width:100%;
    background:#2563ff;
    color:#fff;
    border:none;
    padding:14px;
    border-radius:10px;
    font-weight:700;
    cursor:pointer;
    transition:all .3s ease;
}

.consultation-widget button:hover{
    background:linear-gradient(
        135deg,
        #2563ff,
        #4f7fff
    );

    transform:translateY(-4px);

    box-shadow:
    0 15px 35px rgba(37,99,255,.40);
}

/* Chrome Autofill Fix */
.consultation-widget input:-webkit-autofill,
.consultation-widget textarea:-webkit-autofill,
.consultation-widget select:-webkit-autofill{
    -webkit-box-shadow:0 0 0 1000px #03277d inset !important;
    -webkit-text-fill-color:#fff !important;
}

.featured-image-detail{
    width:100%;
    height:250px;
    display:block;
    object-fit:cover;
    border-radius:16px;
}

.blog-detail-content{
    overflow:hidden;
}

.blog-detail-body img{
    max-width:100%;
    height:auto;
    border-radius:12px;
}

.blog-detail-body table{
    width:100%;
    overflow-x:auto;
    display:block;
}

/* ======================================
AUTHOR CARD
====================================== */

.blog-author-card{
    margin-top:50px;
    padding:25px;
    border:1px solid #e5eaf4;
    border-radius:18px;
    background:#fff;
    display:flex;
    gap:20px;
    align-items:flex-start;
}

.author-card-avatar{
    width:80px;
    height:80px;
    border-radius:50%;
    background:#071C63;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:32px;
    font-weight:700;
    flex-shrink:0;
}

.author-card-content{
    flex:1;
}

.author-card-content h4{
    color:#071C63;
    margin-bottom:10px;
    font-size:22px;
    font-weight:700;
}

.author{
    color:#071C63;
    margin-bottom:10px;
    font-size:22px;
    font-weight:700;
}

.author-card-content p{
    color:#667085;
    line-height:1.7;
    margin-bottom:15px;
}

.author-social{
    display:flex;
    gap:10px;
}

.author-social a{
    width:40px;
    height:40px;
    border-radius:50%;
    background:#f4f7fc;
    color:#071C63;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.3s;
}

.author-social a:hover{
    background:#2563ff;
    color:#fff;
}

/* ======================================
SHARE SECTION
====================================== */

.blog-share-section{
    margin-top:35px;
    padding-top:25px;
    border-top:1px solid #e5eaf4;

    display:flex;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
}

.blog-share-section span{
    font-size:22px;
    font-weight:700;
    color:#071C63;
}

.share-icons{
    display:flex;
    align-items:center;
    gap:12px;
}

.share-icons a{
    width:52px;
    height:52px;
    border-radius:50%;
    background:#fff;
    border:1px solid #e5eaf4;
    color:#071C63;

    display:flex;
    align-items:center;
    justify-content:center;

    transition:.3s ease;
}

.share-icons a:hover{
    background:#2563ff;
    color:#fff;
    transform:translateY(-3px);
}

/* ======================================
COPY TOAST
====================================== */

.copy-toast{

    position:fixed;

    right:25px;
    bottom:25px;

    background:#22c55e;
    color:#fff;

    padding:14px 20px;

    border-radius:12px;

    font-weight:600;

    display:flex;
    align-items:center;
    gap:10px;

    opacity:0;
    visibility:hidden;

    transform:translateY(20px);

    transition:.3s ease;

    z-index:99999;
}

.copy-toast.show{

    opacity:1;
    visibility:visible;

    transform:translateY(0);
}



/* ======================================================
3840px (4K)
====================================================== */
@media (min-width:3000px){

    .blog-detail-page{
        padding:80px 0 120px;
    }

    .blog-detail-layout{
        grid-template-columns:minmax(0,1fr) 500px;
        gap:60px;
    }

    .blog-detail-content{
        padding:50px;
    }

    .blog-detail-content h1{
        font-size:62px;
    }

    .blog-detail-subtitle{
        font-size:26px;
    }

    .blog-detail-body{
        font-size:22px;
    }

    .blog-detail-body h2{
        font-size:42px;
    }

    .blog-detail-body h3{
        font-size:34px;
    }

    .consultation-widget{
        padding:40px;
    }

    .consultation-widget h2{
        font-size:34px;
    }

    .featured-image-detail{
        height:450px;
    }
}

/* ======================================================
2560px
====================================================== */
@media (min-width:2200px) and (max-width:2999px){

    .blog-detail-layout{
        grid-template-columns:minmax(0,1fr) 450px;
    }

    .blog-detail-content{
        padding:45px;
    }

    .blog-detail-content h1{
        font-size:56px;
    }

    .blog-detail-subtitle{
        font-size:24px;
    }

    .featured-image-detail{
        height:380px;
    }
}

/* ======================================================
1920px
====================================================== */
@media (min-width:1600px) and (max-width:2199px){

    .blog-detail-content h1{
        font-size:46px;
    }

    .blog-detail-subtitle{
        font-size:22px;
    }

    .blog-detail-layout{
        grid-template-columns:minmax(0,1fr) 400px;
    }
}

/* ======================================================
1440px
====================================================== */
@media (max-width:1440px){

    .blog-detail-layout{
        grid-template-columns:minmax(0,1fr) 340px;
    }

    .blog-detail-content h1{
        font-size:42px;
    }
}

/* ======================================================
1366px
====================================================== */
@media (max-width:1366px){

    .blog-detail-content h1{
        font-size:40px;
    }

    .blog-detail-subtitle{
        font-size:18px;
    }
}

/* ======================================================
1280px
====================================================== */
@media (max-width:1280px){

    .blog-detail-layout{
        grid-template-columns:minmax(0,1fr) 320px;
        gap:25px;
    }

    .blog-detail-content{
        padding:28px;
    }

    .blog-detail-content h1{
        font-size:36px;
    }
}

/* ======================================================
1024px
====================================================== */
@media (max-width:1024px){

    .blog-detail-layout{
        grid-template-columns:1fr;
    }

    .blog-sidebar{
        order:2;
    }

    .blog-detail-content{
        order:1;
    }

    .featured-image-detail{
        height:300px;
    }
}

/* ======================================================
768px
====================================================== */
@media (max-width:768px){

    .blog-detail-page{
        padding:20px 0 40px;
    }

    .blog-detail-content{
        padding:22px;
    }

    .blog-detail-content h1{
        font-size:30px;
        line-height:1.25;
    }

    .blog-detail-subtitle{
        font-size:16px;
    }

    .featured-image-detail{
        height:240px;
    }

    .blog-detail-meta{
        gap:15px;
    }

    .meta-divider{
        display:none;
    }

    .blog-author-card{
        flex-direction:column;
        text-align:center;
        align-items:center;
    }

    .author-social{
        justify-content:center;
    }

    .blog-share-section{
        justify-content:center;
        text-align:center;
    }
}

/* ======================================================
576px
====================================================== */
@media (max-width:576px){

    .blog-detail-content{
        padding:18px;
    }

    .blog-detail-content h1{
        font-size:26px;
    }

    .blog-detail-subtitle{
        font-size:15px;
    }

    .featured-image-detail{
        height:220px;
    }

    .consultation-widget{
        padding:18px;
    }

    .share-icons a{
        width:46px;
        height:46px;
    }
}

/* ======================================================
480px
====================================================== */
@media (max-width:480px){

    .blog-detail-content h1{
        font-size:24px;
    }

    .featured-image-detail{
        height:200px;
    }

    .blog-detail-meta{
        gap:12px;
    }

    .meta-item{
        width:100%;
    }

    .share-icons{
        gap:8px;
    }

    .share-icons a{
        width:42px;
        height:42px;
    }
}

/* ======================================================
375px
====================================================== */
@media (max-width:375px){

    .blog-detail-content h1{
        font-size:22px;
    }

    .blog-detail-subtitle{
        font-size:14px;
    }

    .blog-detail-body{
        font-size:13px;
    }

    .blog-detail-body h2{
        font-size:20px;
    }

    .blog-detail-body h3{
        font-size:18px;
    }

    .featured-image-detail{
        height:180px;
    }
}

/* ======================================================
320px
====================================================== */
@media (max-width:320px){

    .blog-detail-content{
        padding:14px;
    }

    .blog-detail-content h1{
        font-size:20px;
    }

    .blog-detail-subtitle{
        font-size:13px;
    }

    .blog-detail-body{
        font-size:12px;
    }

    .blog-detail-body h2{
        font-size:18px;
    }

    .blog-detail-body h3{
        font-size:16px;
    }

    .featured-image-detail{
        height:160px;
    }

    .share-icons a{
        width:38px;
        height:38px;
    }
}

/* ======================================================
OVERFLOW FIXES
====================================================== */

.blog-detail-layout,
.blog-detail-content,
.blog-sidebar,
.consultation-widget{
    min-width:0;
}

.featured-image-detail,
.blog-detail-body img{
    max-width:100%;
    height:auto;
}

.blog-detail-page{
    overflow:hidden;
}

.blog-detail-content,
.blog-detail-body{
    word-wrap:break-word;
    overflow-wrap:break-word;
}