/* ─── HNDev Featured Post Banner v2 ──────────────────────── */

.hndev-fpb {
    display: flex;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: #fff;
    margin: 0 0 32px;
    transition: box-shadow .2s ease;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(228, 228, 228, 1);
}

.hndev-fpb:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, .10);
}

/* ── Cột trái ── */
.hndev-fpb__left {
    width: 50%;
    min-height: 220px;
    background: #e9ddd6 no-repeat center center / cover;
    position: relative;
    flex-shrink: 0;
}


/* ── Cột phải ── */
.hndev-fpb__right {
    width: 50%;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Breadcrumb */
.hndev-fpb__breadcrumb {
    font-weight: 500;
    font-size: 16px;
    color: rgba(153, 153, 153, 1);
}

/* Tiêu đề */
.hndev-fpb__title {
    font-family: "HY Sunora";
    font-size: 24px;
    line-height: 1.45;
    margin: 0;
    color: rgba(51, 51, 51, 1);
    font-weight: 500;
}

/* Excerpt */
.hndev-fpb__excerpt {
    font-size: 16px;
    color: rgba(153, 153, 153, 1);
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Bullets */
.hndev-fpb__bullets {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hndev-fpb__bullets li {
    font-size: 14px;
    color: rgba(51, 51, 51, 1);
    padding-left: 22px;
    position: relative;
    line-height: 1.4;
    margin-left: 0 !important;
    margin-bottom: 15px;
}

.hndev-fpb__bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background: url("/wp-content/uploads/2026/08/icon-tick.svg") no-repeat center / contain;
}

/* Meta dưới cùng */
.hndev-fpb__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 8px;
    font-size: 14px;
    color: rgba(153, 153, 153, 1);
}

.hndev-fpb__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fde8e8;
    color: rgba(211, 6, 67, 1);
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(211, 6, 67, 0.4);
}

.hndev-fpb__sep {
    color: #ccc;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hndev-fpb {
        flex-direction: column;
    }

    .hndev-fpb__left {
        width: 100%;
    }

    .hndev-fpb__right {
        width: 100%;
        padding: 18px 16px;
    }

  .hndev-fpb__excerpt {
    display: block;
}
.hndev-fpb__bullets li{
        padding-left: 30px;
}
.hndev-fpb__meta {
    padding-top: 0;
}
}

/* ── Top Posts Grid ── */
.hndev-top-posts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.hndev-tp-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border: 1px solid #ede8e4;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .2s;
}

.hndev-tp-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}

.hndev-tp-num {
    min-width: 50px;
    width: 50px;
    height: 50px;
    text-align: center;
    border: 1px solid rgba(51, 51, 51, 0.4);
    margin: auto;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    border-radius: 10px;
    background: rgba(153, 153, 153, 0.1);

}
span.hndev-tp-num-khungg {
    font-size: 32px;
    color: rgba(51, 51, 51, 1);
    font-family: "HY Sunora";
}
.hndev-tp-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hndev-tp-cat {
       font-size: 14px;
    color: rgba(153, 153, 153, 1);
}

.hndev-tp-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    color: rgba(51, 51, 51, 1);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hndev-tp-desc {
    font-size: 14px;
    color:rgba(153, 153, 153, 1);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 80%;
}

@media (max-width: 768px) {
    .hndev-top-posts {
        grid-template-columns: 1fr;
    }
}