/* ================= ARTICLE PAGE START ================= */
*,
*::before,
*::after{
    box-sizing: border-box;
}

html,
body{
    width:100%;
    overflow-x:hidden;
}

img{
    max-width:100%;
    height:auto;
    display:block;
}

.article-page{
    width:100%;
    max-width:1450px;
    margin:0 auto;
    padding:180px 40px 90px;
    display:grid;
    grid-template-columns:minmax(0,1fr) 380px;
    gap:45px;
}

/* ================= LEFT SIDE ================= */

.article-main{
    width: 100%;
    min-width:0;
}

/* breadcrumb */

.article-breadcrumb{
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 28px;

    font-size: 14px;
}

.article-breadcrumb a{
    text-decoration: none;

    color: #777;
}

.article-breadcrumb p{
    margin: 0;

    color: #111;

    font-weight: 600;
}

/* title area */

.article-topbar{
    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 30px;

    margin-bottom: 30px;
}

.article-topbar h1{
    font-size: 52px;

    line-height: 1.15;

    font-weight: 700;

    color: #111;

    max-width: 760px;
}

/* share buttons */

.article-actions{
    display: flex;
    align-items: center;

    gap: 14px;
    padding-top: 12px;
}

.article-actions button{
    width: 56px;
    height: 56px;

    border-radius: 50%;

    border: 1px solid #f0c39d;

    /* background: white; */

    background: rgba(255,255,255,0.88);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    box-shadow:
        0 10px 28px rgba(0,0,0,0.10),
        inset 0 1px 0 rgba(255,255,255,0.85);

    cursor: pointer;

    transition: 0.3s ease;

    color: #e77b1f;

    font-size: 20px;

    display: flex;

    align-items: center;

    justify-content: center;
}

.article-actions button:hover{
    transform: translateY(-3px);

    box-shadow:
    0 18px 38px rgba(231,123,31,0.18),
    inset 0 1px 0 rgba(255,255,255,0.95);
}


.article-actions button i{
    transition: 0.35s ease;
}

.article-actions button:hover i{
    transform: scale(1.08);
}

/* featured image */

.article-banner{
    width:100%;
    max-width:100%;
    height:auto;
    object-fit:cover;
    border-radius:20px;
}

/* article content */

.article-content h2{
    font-size: 34px;

    margin-bottom: 18px;

    color: #111;

    font-weight: 700;
}

.article-content p{
    font-size: 17px;

    line-height: 1.95;

    color: #444;

    margin-bottom: 32px;
}

/* ================= SIDEBAR ================= */

.article-sidebar{
    display: flex;
    flex-direction:column;
    min-width:0;
}

.sidebar-block{
    /* background: white; */

    /* border-radius: 22px;

    padding: 24px;

    box-shadow:
    0 12px 30px rgba(0,0,0,0.06); */
    display: flex;

    flex-direction: column;

    gap: 18px;
}

.sidebar-block h3{
    font-size: 26px;

    margin-bottom: 22px;

    font-weight: 700;

    color: #111;
}

/* recent blog */

.recent-blog-card{
    display: flex;

    flex-direction: column;

    gap: 14px;

    margin-bottom: 28px;
}

.recent-blog-card img{
    width: 100%;

    height: auto;

    border-radius: 16px;

    object-fit: cover;
}

.recent-blog-card h4{
    font-size: 18px;

    line-height: 1.4;

    margin-bottom: 10px;

    font-weight: 700;
}

.recent-blog-card p{
    font-size: 14px;

    color: #666;

    line-height: 1.7;
}

/* sidebar featured */

.sidebar-featured img{
    width: 100%;

    border-radius: 16px;

    margin-bottom: 18px;
}

.sidebar-featured h4{
    font-size: 20px;

    line-height: 1.5;

    margin-bottom: 14px;

    font-weight: 700;
}

.sidebar-featured p{
    color: #666;

    line-height: 1.8;
}

.recent-blog-card,
.sidebar-featured{
    background: white;

    border-radius: 22px;

    padding: 18px;

    box-shadow:
    0 12px 30px rgba(0,0,0,0.06);
}


/* ================= ARTICLE FOOTER META ================= */

.article-footer-meta{
    margin-top: 60px;

    display: flex;

    flex-direction: column;

    gap: 24px;
}

.article-footer-meta p{
    margin: 0;

    font-size: 18px;

    color: #555;

    font-weight: 600;
}

.article-footer-actions{
    display: flex;

    gap: 16px;
}

.article-footer-actions button{
    width: 62px;

    height: 62px;

    border-radius: 50%;

    border: 1.5px solid #eea86d;

    background: #fff;

    color: #e67a1f;

    font-size: 24px;

    cursor: pointer;

    transition: 0.3s ease;

    box-shadow:
    0 6px 18px rgba(0,0,0,0.08);
}

.article-footer-actions button:hover{
    transform: translateY(-4px);

    box-shadow:
    0 10px 24px rgba(0,0,0,0.12);
}



/* ================= RESPONSIVE ================= */

@media(max-width:1100px){

    .article-page{
        grid-template-columns: 1fr;
    }

    .article-sidebar{
        width: 100%;
    }

}

@media(max-width:768px){

    .article-page{
        grid-template-columns:1fr;
        padding:110px 16px 50px;
        gap:30px;
    }

    .article-topbar{
        flex-direction:column;
        gap:20px;
    }

    .article-topbar h1{
        font-size:32px;
        line-height:1.2;
        max-width:100%;
        word-break:break-word;
    }

    .article-actions{
        flex-wrap:wrap;
    }

    .article-banner{
        width:100%;
        height:auto;
    }

}

@media(max-width:580px){

    .article-topbar h1{
        font-size: 32px;
    }

    .article-content h2{
        font-size: 26px;
    }

    .article-content p{
        font-size: 15px;
    }

}

/* ================= BLOG CONTENT MOBILE FIX ================= */

.article-content{
    width:100%;
    overflow:hidden;
}

.article-content *{
    max-width:100% !important;
    box-sizing:border-box;
    word-wrap:break-word;
    overflow-wrap:break-word;
}

.article-content img{
    max-width:100% !important;
    height:auto !important;
    display:block;
    margin:20px auto;
}

.article-content iframe,
.article-content video,
.article-content table{
    max-width:100% !important;
}

.article-content table{
    display:block;
    overflow-x:auto;
}

.article-content pre,
.article-content code{
    white-space:pre-wrap;
    word-break:break-word;
}

/* ================= ARTICLE PAGE END ================= */