/* Homepage "Latest from the blog": a rounded white panel with notched image cards. */
.hb { width: 100%; background: #f8fafc; padding: 4.5rem 1.5rem 5rem; display: flex; justify-content: center; --hb-accent-0: #ffd6a8; --hb-accent-1: #c7e8c2; --hb-accent-2: #d6d2f2; }
.hb-inner { width: 100%; max-width: 1180px; }
.hb-head { max-width: 46rem; margin: 0 auto 2.5rem; text-align: center; }
.hb-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .8rem; font-weight: 600; color: #00A896; }
.hb-eyebrow i { display: block; width: 34px; height: 1px; background: currentColor; }
.hb-title { margin: 16px 0 0; font-family: 'Inter Tight', 'Inter', system-ui, sans-serif; font-size: clamp(26px, min(4.3vw, 6.2vh), 46px); font-weight: 500; color: #0f172a; letter-spacing: -0.022em; line-height: 1.08; text-wrap: balance; }
.hb-sub { margin: 14px auto 0; max-width: 36rem; font-size: 1.02rem; line-height: 1.6; color: #475569; }
.hb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.hb-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; min-width: 0; }
.hb-media { position: relative; display: block; aspect-ratio: 5 / 4; border-radius: 16px; overflow: hidden; background: #eef2f7; margin-bottom: 10px; }
.hb-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.hb-card:hover .hb-media img { transform: scale(1.04); }
.hb-media-empty { position: absolute; inset: 0; background: linear-gradient(135deg, #e2e8f0, #f8fafc); }
/* the notch: a white rounded square sits in the corner under the circle, and two tiny
   quarter-circles bend its edges back into the image corner */
.hb-media::after { content: ''; position: absolute; right: -2px; bottom: -2px; width: 76px; height: 76px; background: #f8fafc; border-top-left-radius: 22px; }
.hb-go { position: absolute; right: 8px; bottom: 8px; z-index: 2; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--hb-accent); color: #0f172a; transition: transform .25s, background .25s; }
.hb-go svg { width: 18px; height: 18px; }
.hb-card:hover .hb-go { transform: scale(1.06); background: #0f172a; color: #fff; }
.hb-card-title { margin: 0; font-family: 'Inter Tight', 'Inter', system-ui, sans-serif; font-weight: 500; font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.25; color: #0f172a; }
.hb-card-text { margin: 0; font-size: .9rem; line-height: 1.55; color: #475569; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hb-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.hb-tag { display: inline-block; padding: 4px 9px; border-radius: 6px; font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #0f172a; }
.hb-tag--0 { background: #ffd6a8; } .hb-tag--1 { background: #c7e8c2; } .hb-tag--2 { background: #d6d2f2; }
.hb-actions { display: flex; justify-content: center; margin-top: 44px; }
.hb-all { display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border-radius: 999px; background: #0f172a; color: #fff; font-size: .9rem; font-weight: 600; text-decoration: none; transition: transform .15s, background .2s; }
.hb-all svg { width: 14px; height: 14px; }
.hb-all:hover { background: #1e293b; transform: translateY(-1px); }

@media (max-width: 1000px) {
    .hb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}
@media (max-width: 640px) {
    .hb { padding: 3.5rem 1rem 3.5rem; }
    .hb-head { margin-bottom: 2rem; }
    .hb-grid { grid-template-columns: 1fr; gap: 26px; }
    .hb-actions { margin-top: 32px; }
}
