/* Reusable blog section (same visual language as home popular blogs block) */
.home-blogs-section {
    padding-top: var(--home-space-regular, clamp(50px, 7vw, 70px));
    padding-bottom: var(--home-space-regular, clamp(50px, 7vw, 70px));
    background: var(--off-white, #f8fafc);
}

.home-blogs-section .section-header {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.home-blogs-section .section-header-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 560px;
}

.home-blogs-section .section-header-left .section-eyebrow {
    justify-content: center;
}

.home-blogs-section .section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}

.home-blogs-section .section-eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.home-blogs-section .section-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.home-blogs-section .section-subtitle {
    margin-top: 14px;
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.home-blogs-section .section-footer-center {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.home-blogs-section .btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-600);
    background: #fff;
    transition: all var(--duration-fast);
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}

.home-blogs-section .btn-view-all:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.home-blogs-section .btn-view-all svg {
    transition: transform var(--duration-fast) var(--ease-spring);
}

.home-blogs-section .btn-view-all:hover svg {
    transform: translateX(3px);
}

.home-blogs-viewport {
    width: 100%;
    overflow: hidden;
}

.home-blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.home-blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.home-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(234, 88, 12, 0.08);
}

.hb-image-wrap {
    display: block;
    position: relative;
    height: 240px;
    overflow: hidden;
}

.hb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.home-blog-card:hover .hb-image {
    transform: scale(1.08);
}

.hb-category {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hb-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hb-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.hb-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hb-meta svg {
    color: var(--primary);
}

.hb-title {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
}

.hb-title a {
    color: var(--navy);
    text-decoration: none;
    background: linear-gradient(to right, var(--primary), var(--primary)) no-repeat;
    background-size: 0 2px;
    background-position: 0 100%;
    transition: background-size 0.3s cubic-bezier(0.2, 1, 0.3, 1), color 0.3s ease;
}

.home-blog-card:hover .hb-title a {
    background-size: 100% 2px;
    color: var(--primary);
}

.hb-desc {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

.hb-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--navy);
    text-decoration: none;
    transition: color 0.2s ease;
}

.hb-read-more svg {
    transition: transform 0.3s cubic-bezier(0.2, 1, 0.3, 1);
}

.hb-read-more:hover {
    color: var(--primary);
}

.hb-read-more:hover svg {
    transform: translateX(4px);
}

@media (max-width: 992px) {
    .home-blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .home-blogs-grid {
        grid-template-columns: 1fr;
    }

    .home-blogs-section .section-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }
}
