/* BHI Manufacturing — public site styles.
   Values measured from https://bhimanufacturing.com/ (Divi) on 2026-11-01. */
:root {
  --bhi-gold: #FCB238;
  --bhi-black: #000;
  --bhi-text: #666;
  --bhi-grey: #F7F7F7;
  --bhi-font-heading: 'Roboto', sans-serif;
  --bhi-font-body: 'Open Sans', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.bhi-site { margin: 0; font-family: var(--bhi-font-body); font-size: 14px; font-weight: 500; line-height: 1.7; color: var(--bhi-text); background: #fff; }
.bhi-site img { max-width: 100%; height: auto; }
.bhi-site a { color: inherit; }
/* 880px of content everywhere (920 incl. gutters) — same as the live site */
.bhi-container { width: 100%; max-width: 920px; margin: 0 auto; padding: 0 20px; }
.bhi-container--narrow { max-width: 920px; }
.bhi-center { text-align: center; }

/* ── Header ─────────────────────────────────────────────── */
.bhi-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.bhi-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 10px; padding-bottom: 10px; }
.bhi-header__logo img { display: block; height: auto; }
.bhi-header__right { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
.bhi-social { display: flex; gap: 8px; }
.bhi-social a { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; border-radius: 2px; color: #fff !important; font: 700 11px/1 var(--bhi-font-body); text-decoration: none; }
.bhi-social__li { background: #0e76a8; }
.bhi-social__yt { background: #a82400; }
.bhi-nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.bhi-nav a { font: 700 16px/1.2 var(--bhi-font-body); text-transform: uppercase; text-decoration: none; color: #000; padding: 4px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.bhi-nav a:hover, .bhi-nav a.is-active { color: var(--bhi-gold); }
.bhi-nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.bhi-nav-toggle span { display: block; width: 24px; height: 3px; background: #000; margin: 4px 0; }

/* ── Hero ───────────────────────────────────────────────── */
.bhi-hero { position: relative; color: #fff; background: #3a3a3a var(--hero-img, none) center/cover no-repeat; }
.bhi-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(40,40,40,.79), rgba(40,40,40,.86)); }
.bhi-hero { display: flex; align-items: center; }
.bhi-hero--page { min-height: var(--hero-h, 120px); padding: 40px 0; }
.bhi-hero--page::before { background: rgba(0,0,0,.18); }
.bhi-hero--home { min-height: var(--hero-h, 436px); padding: 56px 0; }
.bhi-hero > .bhi-container { position: relative; width: 100%; }
.bhi-hero__title { font: 900 54px/1.1 var(--bhi-font-heading); text-transform: uppercase; margin: 0 0 14px; padding-left: 14px; border-left: 6px solid var(--bhi-gold); color: #fff; }
.bhi-hero--page .bhi-hero__title { font-size: 42px; margin: 0; }
.bhi-hero__lead { font: 300 17px/1.45 var(--bhi-font-heading); max-width: 720px; margin: 0 0 22px; color: #fff; }
.bhi-hero--contact { min-height: var(--hero-h, 260px); }
.bhi-hero__split { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }

/* ── Sections, type ─────────────────────────────────────── */
.bhi-section { padding: 36px 0; }
.bhi-section--tight { padding: 0 0 40px; }
.bhi-section--grey { background: var(--bhi-grey); }
.bhi-h2 { font: 900 38px/1.2 var(--bhi-font-heading); text-transform: uppercase; color: #000; margin: 0 0 24px; padding-bottom: 14px; position: relative; }
.bhi-h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 50px; height: 3px; background: var(--bhi-gold); }
.bhi-center .bhi-h2::after, .bhi-center h2::after { left: 50%; transform: translateX(-50%); }
.bhi-prose p { margin: 0 0 14px; font-weight: 300; font-family: var(--bhi-font-heading); font-size: 14px; line-height: 1.7; color: #333; }
.bhi-prose ul { padding-left: 20px; font-family: var(--bhi-font-heading); font-weight: 300; color: #333; }
.bhi-center h2 { font: 900 32px/1.2 var(--bhi-font-heading); text-transform: uppercase; color: #333; position: relative; padding-bottom: 14px; margin: 0 0 16px; }
.bhi-center h2::after { content: ""; position: absolute; bottom: 0; width: 50px; height: 3px; background: var(--bhi-gold); }
.bhi-video { position: relative; aspect-ratio: 16/9; margin-top: 24px; background: #000; }
.bhi-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── Buttons ────────────────────────────────────────────── */
.bhi-btn { display: inline-block; background: var(--bhi-gold); color: #fff !important; border: 2px solid var(--bhi-gold); font: 700 14px/1.7 'Rubik', var(--bhi-font-body); letter-spacing: .06em; text-transform: uppercase; padding: 6px 16px; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.bhi-btn:hover { background: #000; border-color: #000; }
.bhi-btn--outline { background: transparent; color: var(--bhi-gold) !important; }
.bhi-btn--outline:hover { background: var(--bhi-gold); border-color: var(--bhi-gold); color: #fff !important; }
.bhi-btn--sm { font-size: 11px; padding: 3px 10px; }

/* ── Home cards ─────────────────────────────────────────── */
.bhi-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bhi-card { background: transparent; border: 0; }
.bhi-card img { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.bhi-card__body { border: 1px solid #e3e3e3; border-top: 0; padding: 22px 28px 26px; background: #fff; min-height: 214px; display: flex; flex-direction: column; align-items: flex-start; }
.bhi-card__body h3 { font: 700 14px/1.3 var(--bhi-font-heading); text-transform: uppercase; color: #000; margin: 0 0 12px; }
.bhi-card__body p { font: 300 14px/1.6 var(--bhi-font-heading); color: #333; margin: 0 0 18px; flex: 1; }

/* ── Accordion (About / Processes) ──────────────────────── */
.bhi-accordion { border-top: 1px solid var(--bhi-gold); }
.bhi-accordion__item { border-bottom: 1px solid rgba(252,178,56,.45); background: #fff; }
.bhi-accordion__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; font: 700 14px/1.3 var(--bhi-font-heading); text-transform: uppercase; color: #000; }
.bhi-accordion__item summary::-webkit-details-marker { display: none; }
.bhi-accordion__item summary::after { content: ""; width: 24px; height: 24px; border-radius: 50%; flex: none; margin-left: 16px;
  background: var(--bhi-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/16px 16px no-repeat; transition: transform .2s ease, background-color .15s; }
.bhi-accordion__item summary:hover::after { background-color: #000; }
.bhi-accordion__item[open] summary::after { transform: rotate(180deg); }
.bhi-accordion__body { padding: 8px 16px 22px; }
.bhi-accordion__body img { display: block; margin-bottom: 14px; }
.bhi-accordion__pdf { width: 100%; height: 560px; }

/* ── Gallery ────────────────────────────────────────────── */
.bhi-gallery { columns: 3 220px; column-gap: 14px; }
.bhi-gallery__item { display: block; break-inside: avoid; margin-bottom: 14px; overflow: hidden; }
.bhi-gallery__item img { display: block; width: 100%; transition: transform .25s; }
.bhi-gallery__item:hover img { transform: scale(1.04); }
.bhi-lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.9); display: flex; align-items: center; justify-content: center; }
.bhi-lightbox[hidden] { display: none; }
.bhi-lightbox img { max-width: 90vw; max-height: 88vh; }
.bhi-lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 44px; cursor: pointer; padding: 10px 18px; }
.bhi-lightbox__close { top: 10px; right: 14px; }
.bhi-lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.bhi-lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }

/* ── Contact ────────────────────────────────────────────── */
.bhi-contact-panel { background: var(--bhi-gold); color: #000; padding: 20px 28px; min-width: 300px; }
.bhi-contact-panel h2 { font: 900 22px/1.2 var(--bhi-font-heading); text-transform: uppercase; margin: 0 0 12px; }
.bhi-contact-panel__body p { margin: 0 0 12px; font-size: 12px; line-height: 1.6; }
.bhi-contact-panel__social { display: inline-block; background: #333; color: #fff !important; width: 24px; height: 24px; text-align: center; font: 700 13px/24px var(--bhi-font-body); text-decoration: none; }
.bhi-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 24px; align-items: start; }
.bhi-map { width: 100%; height: 360px; border: 0; }
.bhi-form { display: grid; gap: 12px; }
.bhi-form input, .bhi-form textarea { width: 100%; border: 1px solid #ddd; background: #fff; padding: 12px 14px; font: 400 14px var(--bhi-font-body); color: #333; }
.bhi-form input:focus, .bhi-form textarea:focus { outline: 2px solid var(--bhi-gold); border-color: var(--bhi-gold); }
.bhi-form .bhi-btn { justify-self: start; }
.bhi-alert { padding: 12px 16px; margin-bottom: 14px; }
.bhi-alert--ok { background: #e8f6e9; color: #1b5e20; }
.bhi-alert--err { background: #fdecea; color: #8a1c1c; }

/* ── Footer ─────────────────────────────────────────────── */
.bhi-footer { background: #fff; color: #333; padding-top: 40px; }
.bhi-footer__grid { display: grid; grid-template-columns: 2fr 1.2fr 1fr; gap: 40px; padding-bottom: 36px; }
.bhi-footer h3 { font: 700 18px/1.2 var(--bhi-font-heading); text-transform: uppercase; color: var(--bhi-gold); margin: 0 0 14px; padding-bottom: 8px; position: relative; }
.bhi-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 80px; height: 2px; background: var(--bhi-gold); }
.bhi-footer__about hr { border: 0; border-top: 2px solid var(--bhi-gold); width: 80px; margin: 14px 0; }
.bhi-footer__about p, .bhi-footer__contact p { font: 300 13px/1.6 var(--bhi-font-heading); margin: 0 0 8px; }
.bhi-footer__links { list-style: none; margin: 0; padding: 0; }
.bhi-footer__links li { margin: 0 0 6px; }
.bhi-footer__links a { font: 500 13px var(--bhi-font-heading); text-transform: uppercase; text-decoration: none; color: #000; }
.bhi-footer__links a:hover { color: var(--bhi-gold); }
.bhi-footer__bar { background: #000; color: #fff; text-align: center; font: 700 12px/1 var(--bhi-font-body); padding: 18px 12px; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 860px) {
  .bhi-cards, .bhi-contact-grid, .bhi-footer__grid { grid-template-columns: 1fr; }
  .bhi-hero__title { font-size: 34px; }
  .bhi-hero--page .bhi-hero__title { font-size: 30px; }
  .bhi-h2 { font-size: 28px; }
  .bhi-header__inner { flex-wrap: wrap; }
  .bhi-header__right { flex-direction: row; justify-content: flex-end; flex-wrap: wrap; }
  .bhi-nav-toggle { display: block; }
  .bhi-nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 10px; padding: 10px 0 6px; }
  .bhi-nav.is-open { display: flex; }
}

/* ═══ News (WEB2's news markup, BHI skin) ═══════════════════════════════════════
   Markup comes from Pages/Shared/_NewsListing.cshtml and _NewsDetail.cshtml. */
.bhi-site .container { width: 100%; max-width: 920px; margin: 0 auto; padding: 0 20px; }
.bhi-site .bell-about-page { background: #fff; }

/* page band (listing + article) = BHI page hero */
.bhi-site .na-heading-row { position: relative; color: #fff; padding: 40px 0; min-height: 120px; display: flex; align-items: center;
  background: #3a3a3a url("/media/bhi/2023/11/Bell_engineering-45.jpg") center/cover no-repeat; }
.bhi-site .na-heading-row::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.bhi-site .na-heading-row > .container { position: relative; }
.bhi-site .na-heading-row__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.bhi-site .na-heading-row h1, .bhi-site .na-heading-row h2 { font: 900 42px/1.1 var(--bhi-font-heading); text-transform: uppercase; color: #fff; margin: 0; padding-left: 14px; border-left: 6px solid var(--bhi-gold); }
.bhi-site .na-heading-row__spacer { display: none; }

/* breadcrumbs */
.bhi-site .bell-breadcrumbs { background: #fff; padding: 14px 0 0; }
.bhi-site .bell-breadcrumbs__inner { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; color: #888; }
.bhi-site .bell-breadcrumbs__item + .bell-breadcrumbs__item::before { content: "/"; margin-right: 6px; color: #bbb; }
.bhi-site .bell-breadcrumbs__link { color: #666; text-decoration: none; }
.bhi-site .bell-breadcrumbs__link:hover { color: var(--bhi-gold); }
.bhi-site .bell-breadcrumbs__current { color: #000; font-weight: 700; }

/* subscribe button (only shown when the News Subscribers module is on) */
.bhi-site .na-subscribe-row { padding: 18px 0 0; }
.bhi-site .na-subscribe-row .container { text-align: right; }
.bhi-site .na-subscribe-btn { background: transparent; color: var(--bhi-gold); border: 2px solid var(--bhi-gold); font: 700 12px/1.6 'Rubik', var(--bhi-font-body); letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; cursor: pointer; transition: background .15s, color .15s; }
.bhi-site .na-heading-row .na-subscribe-btn { color: #fff; border-color: #fff; }
.bhi-site .na-subscribe-btn:hover { background: var(--bhi-gold); border-color: var(--bhi-gold); color: #fff; }

/* listing */
.bhi-site .bell-about-intro { padding: 30px 0 50px; }
.bhi-site .news-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 0; text-decoration: none; color: inherit; border: 1px solid #e3e3e3; margin-bottom: 28px; background: #fff; }
.bhi-site .news-featured__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bhi-site .news-featured__body { padding: 26px 28px; }
.bhi-site .news-grid-2col { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 28px; }
.bhi-site .news-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; border: 1px solid #e3e3e3; background: #fff; transition: box-shadow .2s, transform .2s; }
.bhi-site .news-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.1); transform: translateY(-2px); }
.bhi-site .news-card__img img { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.bhi-site .news-card__body, .bhi-site .news-featured__body { display: flex; flex-direction: column; gap: 8px; }
.bhi-site .news-card__body { padding: 20px 24px 24px; }
.bhi-site .news-card__date { font: 500 12px/1 var(--bhi-font-body); color: #888; text-transform: uppercase; letter-spacing: .04em; }
.bhi-site .news-card h3, .bhi-site .news-featured h2 { font: 900 20px/1.25 var(--bhi-font-heading); text-transform: uppercase; color: #000; margin: 0; }
.bhi-site .news-card p, .bhi-site .news-featured p { font: 300 14px/1.65 var(--bhi-font-heading); color: #333; margin: 0; }
.bhi-site .news-read-more { margin-top: auto; padding-top: 6px; font: 700 12px/1 'Rubik', var(--bhi-font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--bhi-gold); }
.bhi-site .pagination { display: flex; gap: 6px; justify-content: center; }
.bhi-site .pagination__btn { min-width: 34px; text-align: center; padding: 6px 10px; border: 1px solid #ddd; color: #000; text-decoration: none; font-weight: 700; }
.bhi-site .pagination__btn.active, .bhi-site .pagination__btn:hover { background: var(--bhi-gold); border-color: var(--bhi-gold); color: #fff; }

/* article */
.bhi-site .na-title { padding: 26px 0 6px; }
.bhi-site .na-title__heading { font: 900 34px/1.15 var(--bhi-font-heading); text-transform: uppercase; color: #000; margin: 0; padding-bottom: 14px; position: relative; }
.bhi-site .na-title__heading::after { content: ""; position: absolute; left: 0; bottom: 0; width: 50px; height: 3px; background: var(--bhi-gold); }
.bhi-site .na-meta__inner { display: flex; flex-wrap: wrap; gap: 18px; font-size: 12px; color: #888; padding: 8px 0 14px; }
.bhi-site .na-meta__item { display: inline-flex; align-items: center; gap: 6px; }
.bhi-site .na-excerpt p { font: 300 17px/1.55 var(--bhi-font-heading); color: #333; margin: 0 0 18px; }
.bhi-site .na-hero-img { padding: 6px 0 22px; }
.bhi-site .na-hero-img img { display: block; width: 100%; height: auto; }
.bhi-site .na-hero-img__caption { font-size: 12px; color: #888; margin: 6px 0 0; }
.bhi-site .na-body { padding-bottom: 20px; }
.bhi-site .na-body__grid { display: grid; grid-template-columns: 1fr 260px; gap: 32px; align-items: start; }
.bhi-site .na-body__grid--full { grid-template-columns: 1fr; }
.bhi-site .na-body__text p { margin: 0 0 14px; font: 300 14px/1.75 var(--bhi-font-heading); color: #333; }
.bhi-site .na-body__text h2, .bhi-site .na-body__text h3 { font-family: var(--bhi-font-heading); font-weight: 900; text-transform: uppercase; color: #000; }
.bhi-site .na-gallery-figure { margin: 0 0 14px; }
.bhi-site .na-gallery-figure img { display: block; width: 100%; height: auto; }
.bhi-site .na-gallery-figure figcaption { font-size: 12px; color: #888; margin-top: 4px; }
.bhi-site .bell-about-back-top-row { padding: 10px 0 50px; }
.bhi-site .bell-about-back-top { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 'Rubik', var(--bhi-font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--bhi-gold); text-decoration: none; }
.bhi-site .bell-about-back-top svg { width: 10px; height: 14px; fill: currentColor; transform: rotate(-90deg); }
.bhi-site .bell-about-back-top:hover { color: #000; }

@media (max-width: 860px) {
  .bhi-site .news-featured, .bhi-site .na-body__grid { grid-template-columns: 1fr; }
  .bhi-site .news-grid-2col { grid-template-columns: 1fr; }
  .bhi-site .na-heading-row h1, .bhi-site .na-heading-row h2 { font-size: 30px; }
}
