/* Home option B: regrouped sections (tabs for products/industries, services + training, company + news) */

/* ---- Explore: products / industries tabs ---- */
.hb-explore .h54-section-heading{margin-bottom:22px}
.hb-tabs{display:inline-flex;gap:6px;padding:6px;border-radius:14px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);margin-bottom:26px}
.hb-tab{appearance:none;border:0;cursor:pointer;padding:12px 22px;border-radius:10px;background:transparent;color:#d5e1ea;font:700 15px/1 Inter,'Segoe UI',sans-serif;display:inline-flex;align-items:center;gap:9px}
.hb-tab b{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 6px;border-radius:999px;background:rgba(255,255,255,.12);font-size:12px}
.hb-tab[aria-selected="true"]{background:#fff;color:#142D52}
.hb-tab[aria-selected="true"] b{background:#E6F4FF;color:#0066B3}
.hb-tab:focus-visible{outline:3px solid #00B8F7;outline-offset:2px}
.hb-panel[hidden]{display:none}
.hb-panel-foot{display:flex;justify-content:flex-end;margin-top:22px}
.hb-explore .h54-product-card{border-color:transparent}

/* ---- Implement, support, learn ---- */
.hb-help-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:22px;align-items:stretch}
.hb-help-grid .h54-support-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.hb-train{display:flex;flex-direction:column;border:1px solid #dfe8ef;border-radius:12px;overflow:hidden;background:#fff}
.hb-train img{display:block;width:100%;height:150px;object-fit:cover}
.hb-train-body{display:flex;flex-direction:column;gap:12px;padding:20px;flex:1}
.hb-train-body small{font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#0066B3}
.hb-train-body h3{margin:0;font-size:19px;line-height:1.3;color:#142D52}
.hb-train-body p{margin:0;font-size:14.5px;line-height:1.55;color:#526276}
.hb-train-links{display:grid;gap:8px;margin-top:auto}
.hb-train-links a{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 14px;border:1px solid #dfe8ef;border-radius:10px;text-decoration:none;color:#142D52;font-weight:700;font-size:14.5px}
.hb-train-links a span{color:#0066B3;font-weight:600;font-size:13px}
.hb-train-links a:hover{border-color:#00B8F7}
.hb-train .btn{align-self:flex-start}

/* ---- Company + news ---- */
.hb-about{background:#f5f8fa}
.hb-about-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:stretch}
.hb-about-card{background:#fff;border:1px solid #dfe8ef;border-radius:14px;padding:30px;display:flex;flex-direction:column;gap:14px}
.hb-about-card h2{margin:0;font-size:clamp(24px,2.4vw,30px);line-height:1.2;color:#142D52}
.hb-about-card p{margin:0;font-size:15px;line-height:1.6;color:#526276}
.hb-offices{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.hb-offices a{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:999px;border:1px solid #dfe8ef;text-decoration:none;color:#142D52;font-weight:700;font-size:14px}
.hb-offices a span{color:#526276;font-weight:500}
.hb-about-card .btn{align-self:flex-start;margin-top:auto}
.hb-news{padding:0;overflow:hidden}
.hb-news img{display:block;width:100%;height:190px;object-fit:cover}
.hb-news-body{padding:24px 26px 28px;display:flex;flex-direction:column;gap:10px;flex:1}
.hb-news-body h3{margin:0;font-size:19px;line-height:1.35;color:#142D52}
.hb-news-body .hb-news-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:auto}

@media (max-width:1000px){.hb-help-grid{grid-template-columns:1fr}.hb-train{flex-direction:row}.hb-train img{width:40%;height:auto}}
@media (max-width:820px){.hb-about-grid{grid-template-columns:1fr}.hb-help-grid .h54-support-grid{grid-template-columns:1fr}.hb-train{flex-direction:column}.hb-train img{width:100%;height:150px}}
@media (max-width:600px){.hb-tabs{display:flex;width:100%}.hb-tab{flex:1;justify-content:center;padding:12px 10px}.hb-panel-foot{justify-content:flex-start}}

.hb-news img.hb-event{height:215px;object-fit:cover;object-position:50% 49%;background:#fff;border-bottom:1px solid #dfe8ef}
