/* --- WRAPPER CHÍNH --- */
.p-detail-4 {
    margin: 0 auto;
    color: #1f2937;;
    padding: 20px 15px;
}

/* --- TIÊU ĐỀ BÀI VIẾT --- */
.p-detail-4 .p_title {
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.3;
    margin: 0 0 15px 0;
    letter-spacing: -0.5px;
    color: #0f172a;
}

/* --- THÔNG TIN META (Ngày tháng) --- */
.p-detail-4 .p_info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: black;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}
.p-detail-4 .p_item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 20px;
}
.p-detail-4 .p_item i {
    color: #3bb64a;
    font-size: 13px;
}

/* --- MÔ TẢ NGẮN (SAPO) --- */
.p-detail-4 .p_desc {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.6;
    color: #334155;
    background-color: #f8fafc;
    border-left: 4px solid #3bb64a;
    padding: 20px 25px;
    margin-bottom: 30px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

/* --- NỘI DUNG CHÍNH --- */
.ht-format-detail {
    font-size: 16px;
    line-height: 1.8; /* Giãn dòng tốt hơn cho việc đọc */
    color: #334155;
}
.ht-format-detail p {
    margin-bottom: 1.5em;
}
.ht-format-detail img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

/* --- BÀI VIẾT LIÊN QUAN (p_other) --- */
.p-detail-4 .p_other {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px dashed #e2e8f0;
}
.p-detail-4 .p_other > ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}
.p-detail-4 .p_other > ul > li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    line-height: 1.5;
}
.p-detail-4 .p_other > ul > li::before {
    content: '\f105';
    font-family: "Font Awesome 5 Free", FontAwesome;
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #3bb64a;
}
.p-detail-4 .p_other > ul > li a {
    color: #334155;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}
.p-detail-4 .p_other > ul > li a:hover {
    color: #3bb64a;
    padding-left: 5px; /* Hiệu ứng đẩy chữ nhẹ sang phải khi hover */
}

/* --- ĐÁP ỨNG TRÊN MOBILE (Responsive) --- */
@media screen and (max-width: 767px) {
    .p-detail-4 .p_title {
        font-size: 24px;
    }
    .p-detail-4 .p_desc {
        font-size: 15px;
        padding: 15px;
    }
    .ht-format-detail {
        font-size: 15px;
    }
}