.han-bg-wrap,
.han-bg-wrap * {
    box-sizing: border-box;
}

.han-bg-wrap {
    width: 100%;
    background: #fff;
    font-family: 'Poppins', Arial, sans-serif;
    overflow: hidden;
}

.han-bg-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.han-bg-head {
    max-width: 760px;
    text-align: left;
}

.han-bg-heading {
    margin: 0 0 12px;
    color: #111;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.han-bg-desc {
    margin: 0;
    color: #646464;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
}

.han-bg-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

.han-bg-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(16, 16, 16, 0.08);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    isolation: isolate;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.han-bg-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.11);
    border-color: rgba(211, 29, 29, 0.28);
}

.han-bg-image-link {
    display: block;
    width: 100%;
    height: 230px;
    overflow: hidden;
    background: #f4f4f4;
    text-decoration: none !important;
}

.han-bg-image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    transition: transform .55s ease;
}

.han-bg-card:hover .han-bg-image {
    transform: scale(1.06);
}

.han-bg-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 15%, rgba(211, 29, 29, .16), transparent 28%),
        linear-gradient(135deg, #f5f5f5, #eaeaea);
}

.han-bg-content {
    padding: 20px 20px 22px;
}

.han-bg-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin: 0 0 10px;
    color: #d31d1d;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.han-bg-author {
    position: relative;
    padding-left: 12px;
}

.han-bg-author::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    transform: translateY(-50%);
    opacity: .7;
}

.han-bg-title {
    margin: 0;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.015em;
}

.han-bg-title a {
    color: #101010;
    text-decoration: none !important;
    transition: color .22s ease;
}

.han-bg-title a:hover {
    color: #d31d1d;
}

.han-bg-excerpt {
    margin: 12px 0 0;
    color: #606060;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
}

.han-bg-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.han-bg-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: transform .22s ease, background .22s ease, opacity .22s ease;
}

.han-bg-load-more:hover {
    background: #d31d1d;
    transform: translateY(-2px);
}

.han-bg-load-more:disabled {
    cursor: wait;
    opacity: .7;
    transform: none;
}

.han-bg-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 30px;
    border: 1px dashed rgba(0,0,0,.18);
    border-radius: 16px;
    color: #555;
    font-family: 'Poppins', Arial, sans-serif;
}

@media (max-width: 1024px) {
    .han-bg-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .han-bg-image-link {
        height: 220px;
    }
}

@media (max-width: 767px) {
    .han-bg-wrap {
        padding-left: 0;
        padding-right: 0;
    }

    .han-bg-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .han-bg-heading {
        font-size: 28px;
    }

    .han-bg-desc {
        font-size: 14px;
        line-height: 1.7;
    }

    .han-bg-image-link {
        height: 210px;
    }

    .han-bg-title {
        font-size: 17px;
    }
}

.elementor-editor-active .han-bg-wrap {
    overflow: visible;
}
