/* Home page: Latest Blogs. Light section: one large post on the left, the next posts small and stacked on the right. */
.hb-section { background: #f4f5f7; }
.hb-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.2rem; }
.hb-label { display: block; margin-bottom: .6rem; color: var(--brand-red); font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hb-head h2 { margin: 0 0 .5rem; color: #111; }
.hb-head p { max-width: 520px; margin: 0; color: #5b656b; line-height: 1.7; }
.hb-all { position: relative; padding-bottom: 3px; color: #111; font-weight: 700; text-decoration: none; }
.hb-all::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--brand-red); transform: scaleX(.4); transform-origin: left; transition: transform .3s ease; }
.hb-all i { margin-left: .3rem; color: var(--brand-red); transition: margin .2s ease; }
.hb-all:hover { color: var(--brand-red); }
.hb-all:hover::after { transform: scaleX(1); }
.hb-all:hover i { margin-left: .6rem; }

.hb-noimg { display: grid; place-items: center; width: 100%; height: 100%; color: rgba(255,255,255,.9); font-size: 3rem; background: linear-gradient(135deg, #1f1f22, #ed1c24); }
.hb-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; color: #7a838a; font-size: .8rem; }
.hb-meta i { margin-right: .3rem; color: var(--brand-red); }

/* Three equal cards in one row */
.hb-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #e3e6ea; transition: border-color .3s ease, transform .3s ease; }
.hb-card:hover { border-color: var(--brand-red); transform: translateY(-4px); }
.hb-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e6e9ec; }
.hb-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hb-card:hover .hb-media img { transform: scale(1.06); }
.hb-chip { position: absolute; top: 0; left: 0; padding: .35rem .8rem; color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--brand-red); }
.hb-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; min-height: 245px; padding: 1.4rem 1.5rem 1.5rem; }
.hb-body h3 { margin: .8rem 0 .7rem; font-size: 1.15rem; font-weight: 700; line-height: 1.4; }
.hb-excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; margin: 0 0 1.1rem; overflow: hidden; color: #5b656b; font-size: .92rem; line-height: 1.65; }
.hb-body h3 a { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: #111; text-decoration: none; transition: color .2s ease; }
.hb-card:hover .hb-body h3 a { color: var(--brand-red); }
.hb-read { margin-top: auto; color: var(--brand-red); font-size: .88rem; font-weight: 700; text-decoration: none; }
.hb-read i { margin-left: .3rem; transition: margin .2s ease; }
.hb-card:hover .hb-read i { margin-left: .7rem; }

@media (max-width: 575.98px) { .hb-body { min-height: 0; padding: 1.2rem 1.2rem 1.3rem; } }
@media (prefers-reduced-motion: reduce) { .hb-card, .hb-media img, .hb-all::after, .hb-all i, .hb-read i { transition: none; } }
@media (min-width: 768px) and (max-width: 991.98px) { .hb-body { min-height: 0; padding: 1.1rem 1.1rem 1.2rem; } .hb-body h3 { font-size: 1.02rem; } .hb-meta { font-size: .74rem; } }
