/* ========================================
   DETAIL BLOG - PREMIUM SPA STYLE (FINAL)
   CLEAN • NO SIDEBAR • CENTER LAYOUT
======================================== */

.detail-blog{
    padding-bottom:100px;
    background:#f8f9fb;
    font-family:'DM Sans',sans-serif;
}


/* ========================================
   HERO (NO IMAGE - CLEAN CARD)
======================================== */

.db-hero{
    padding:90px 20px 60px;
    background:linear-gradient(135deg,#f8f9ff,#eef2f7);
    border-bottom:1px solid #eee;
}

.db-hero-content{
    max-width:900px;
    margin:auto;
    background:#fff;
    padding:55px 50px;
    border-radius:24px;
    box-shadow:0 25px 70px rgba(0,0,0,.07);
    text-align:center;
}

/* badge */

.db-badge{
    display:inline-block;
    background:#d4a373;
    color:#fff;
    padding:6px 18px;
    border-radius:30px;
    font-size:12px;
    letter-spacing:.6px;
    font-weight:600;
    margin-bottom:14px;
}

/* title */

.db-hero h1{
    font-size:38px;
    font-weight:700;
    color:#0c1451;
    margin-bottom:14px;
    line-height:1.3;
}

/* meta */

.db-meta{
    display:flex;
    justify-content:center;
    gap:22px;
    font-size:14px;
    color:#777;
}

.db-meta i{
    color:#d4a373;
    margin-right:6px;
}


/* ========================================
   LAYOUT (FULL WIDTH - NO SIDEBAR)
======================================== */

.db-wrap{
    margin-top:70px;
    padding:0 20px;
}

.db-content{
    max-width:900px;
    margin:auto;
    background:#fff;
    padding:55px 50px;
    border-radius:24px;
    box-shadow:0 25px 70px rgba(0,0,0,.07);
}


/* ========================================
   TYPOGRAPHY
======================================== */

.db-content p{
    color:#555;
    line-height:1.9;
    margin-bottom:18px;
    font-size:16px;
}

.lead{
    font-size:18px;
    font-weight:500;
    color:#333;
}

.db-content h2{
    font-size:28px;
    margin:40px 0 18px;
    color:#0c1451;
    font-weight:700;
}

.db-content h3{
    font-size:22px;
    margin:28px 0 14px;
    color:#0c1451;
}


/* ========================================
   IMAGES
======================================== */

.db-main-img,
.db-inline-img{
    width:100%;
    border-radius:18px;
    margin:25px 0 35px;
    object-fit:cover;
}


/* ========================================
   BLOCKQUOTE
======================================== */

blockquote{
    border-left:4px solid #d4a373;
    padding-left:18px;
    font-style:italic;
    margin:30px 0;
    color:#444;
    background:#fafafa;
    padding:16px 20px;
    border-radius:12px;
}


/* ========================================
   LIST
======================================== */

.db-list{
    margin-left:20px;
    line-height:2;
}

.db-list li{
    margin-bottom:6px;
}


/* ========================================
   TAGS
======================================== */

.db-tags{
    margin-top:40px;
}

.db-tags a{
    background:#eee;
    padding:7px 14px;
    border-radius:20px;
    margin-right:8px;
    font-size:13px;
    transition:.3s;
    text-decoration:none;
    color:#444;
}

.db-tags a:hover{
    background:#d4a373;
    color:#fff;
}


/* ========================================
   AUTHOR BOX
======================================== */

.db-author{
    display:flex;
    align-items:center;
    gap:18px;
    margin-top:50px;
    padding:20px;
    background:#fafafa;
    border-radius:16px;
}

.db-author img{
    width:70px;
    height:70px;
    border-radius:50%;
}

.db-author h5{
    margin:0;
    font-size:16px;
    font-weight:600;
}

.db-author p{
    font-size:14px;
    color:#777;
    margin:4px 0 0;
}


/* ========================================
   REMOVE OLD SIDEBAR COMPLETELY
======================================== */

.db-sidebar,
.db-card,
.db-mini-post{
    display:none !important;
}


/* ========================
   RELATED HEADING STYLE
======================== */

.db-related h3{
    text-align:center;
    font-size:26px;
    font-weight:700;
    color:#0c1451;
    margin-bottom:40px;
    position:relative;
    display:inline-block;
    left:50%;
    transform:translateX(-50%);
    padding-bottom:16px;
}

/* line dưới */
.db-related h3::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:0;
    transform:translateX(-50%);
    width:90px;
    height:3px;
    border-radius:10px;
    background:#d4a373;
}

/* optional: line 2 bên mảnh hơn (nếu muốn sang hơn) */
.db-related h3::before{
    content:"";
    position:absolute;
    left:50%;
    bottom:1px;
    transform:translateX(-50%);
    width:180px;
    height:1px;
    background:#eee;
}

.db-related-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:26px;
}


/* ========================
   CARD
======================== */

.db-related-card{
    display:block;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 12px 40px rgba(0,0,0,.06);
    transition:.35s;
    text-decoration:none;
    color:#222;
}


/* ========================
   IMAGE
======================== */

.db-related-thumb{
    height:190px;
    overflow:hidden;
}

.db-related-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s;
}

.db-related-card:hover img{
    transform:scale(1.06);
}


/* ========================
   BODY
======================== */

.db-related-body{
    padding:18px 20px 22px;
}


/* ========================
   META (UPDATED ✨)
======================== */

.db-related-meta{
    display:flex;
    align-items:center;
    gap:16px;
    font-size:13px;
    color:#888;
    margin-bottom:10px;
}

/* icon style */
.db-related-meta i{
    color:#d4a373;
    margin-right:6px;
    font-size:13px;
}

/* optional: dấu chấm giữa */
.db-related-meta span{
    display:flex;
    align-items:center;
    white-space:nowrap;
}


/* ========================
   TITLE
======================== */

.db-related-body h4{
    font-size:18px;
    font-weight:600;
    margin-bottom:8px;
    color:#0c1451;
    transition:.3s;
}


/* ========================
   DESC
======================== */

.db-related-body p{
    font-size:14px;
    color:#666;
    line-height:1.6;
}


/* ========================
   HOVER
======================== */

.db-related-card:hover{
    transform:translateY(-8px);
    box-shadow:0 25px 60px rgba(0,0,0,.12);
}

.db-related-card:hover h4{
    color:#d4a373;
}


/* ========================
   MOBILE
======================== */

@media(max-width:992px){
    .db-related-grid{
        grid-template-columns:1fr;
    }
}
/* ========================================
   MOBILE
======================================== */

@media(max-width:992px){

    .db-hero-content,
    .db-content{
        padding:35px 25px;
    }

    .db-hero h1{
        font-size:28px;
    }

    .db-related-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:576px){

    .db-meta{
        flex-direction:column;
        gap:6px;
    }

    .db-hero{
        padding:60px 15px 40px;
    }
}