@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');
/* ==========================================================================
   Betafence Theme — Global Stylesheet
   Matches Betafence 2.0 Figma design
   ========================================================================== */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-betafence-red:  #c8102e;
  --color-hesco-green:    #6ab023;
  --color-dark:           #051628;
  --color-dark-bg:        #2b2b2b;
  --color-teal:           #1e8a87;
  --color-teal-light:     #27a8a4;
  --color-grey-light:     #f5f5f5;
  --color-grey-mid:       #e0e0e0;
  --color-text:           #333333;
  --color-text-light:     #666666;
  --color-white:          #ffffff;

  --font-sans:   'Inter', 'Segoe UI', Arial, sans-serif;
  --font-weight-bold: 700;
  --font-weight-semi: 600;
  
  /* --container-max: 1280px; */
  --container-max: 1790px;
  --container-pad: 0 2rem;
  --section-gap:   5rem;
  --card-radius:   6px;
  --transition:    0.25s ease;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-pad);
}
body.logged-in .bf-login {
    display: none;
}
body.logged-out .bf-logout {
    display: none;
}
/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 { line-height: 1.2; font-weight: var(--font-weight-bold); }
h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
h2 { font-size: 44px; }
h3 { font-size: 32px; }

.bf-section-title {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--color-dark);
}
.bf-section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  max-width: 800px;
  margin: 0 auto 3rem;
}
/* ==========================================================================
   messages (success, warning, error) — used for contact form confirmations/errors, etc.
   ========================================================================== */


.message-success,
.message-warning,
.message-error {
    padding: 16px 20px;
    font-size: 16px;
    line-height: 1.6;
    /* margin: 20px auto; */
    border-radius: 6px;
}

.message-success {
    background: #e8f5e9;
    border-left: 4px solid #2e7d32;
    color: #1b5e20;
}

.message-warning {
    background: #fff8e1;
    border-left: 4px solid #f9a825;
    color: #8a6d00;
}

.message-error {
    background: #ffebee;
    border-left: 4px solid #c62828;
    color: #b71c1c;
}
/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  font-weight: var(--font-weight-semi);
  font-size: 0.95rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary   { background: var(--color-betafence-red); color: #fff; border-color: var(--color-betafence-red); }
.btn--primary:hover { background: #a50d25; border-color: #a50d25; }
.btn--dark      { background: var(--color-dark); color: #fff; border-color: var(--color-dark); }
.btn--dark:hover { background: #333; }
.btn--hero      { background: var(--color-dark); color: #fff; font-size: 1rem; padding: 1rem 2.5rem; }
.btn--teal      { background: var(--color-teal); color: #fff; }
.btn--teal:hover { background: var(--color-teal-light); }
.btn--outline   { background: #fff; color: var(--color-dark); border-color: var(--color-dark); }
.btn--outline:hover { background: var(--color-dark); color: #fff; }
.btn--outline-dark { background: transparent; color: var(--color-dark); border-color: var(--color-dark); }
.btn--outline-dark:hover { background: var(--color-dark); color: #fff; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.bf-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-grey-mid);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s ease;
}
.bf-header--scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.14); }
.bf-header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 100px;
}
.bf-header__logos { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.bf-logo img      { height: 36px; width: auto; }
.bf-logo__text    { font-weight: 800; font-size: 1.05rem; letter-spacing: 0.06em; }
.bf-logo__text--betafence { color: var(--color-betafence-red); }
.bf-logo__text--hesco     { color: var(--color-hesco-green); }

.bf-nav         { flex: 1; }
.bf-nav__list   { display: flex; align-items: center; gap: 0; }
.bf-nav__link   {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-dark);
  transition: color var(--transition);
}
.bf-nav__link:hover,
.bf-nav__link--active { color: var(--color-betafence-red); }
.bf-nav__link--highlight { color: var(--color-teal); font-weight: 600; }

.bf-header__cta { margin-left: auto; flex-shrink: 0; }

/* ── Drupal menu block wrappers — make inner div/nav transparent to flex layout ── */
.bf-nav > div,
.bf-nav > div > nav { display: contents; }

/* ── Drupal menu override — targets both hardcoded .menu and Drupal block <ul> ── */
.bf-nav ul,
.bf-nav .menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.bf-nav ul li,
.bf-nav .menu__item { margin: 0; }
.bf-nav ul li a,
.bf-nav .menu__link {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-dark);
  transition: color var(--transition);
  white-space: nowrap;
}

nav#block-betafence-main-menu ul li a{
    font-family: Manrope;
font-weight: 800;
font-style: ExtraBold;
font-size: 18px;
line-height: 28px;
letter-spacing: 0%;
text-transform: uppercase;

} 

.bf-nav ul li a:hover,
.bf-nav ul li a.is-active,
.bf-nav .menu__link:hover,
.bf-nav .menu__link.is-active { color: var(--color-betafence-red); }
/* Praesidiad highlight */
.bf-nav ul li a.bf-nav__praesidiad,
.bf-nav .menu__link.bf-nav__praesidiad { color: var(--color-teal); font-weight: 600; }

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */
.bf-hero {
  position: relative;
  min-height: 520px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
}
.bf-hero--home  { min-height: 620px; align-items: center; }
.bf-hero--listing { min-height: 360px; }

.bf-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 100%);
}
.bf-hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 3rem 2rem;
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
}
.bf-hero__label {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  opacity: 0.85;
}
.bf-hero__title {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  max-width: 700px;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.bf-hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  max-width: 550px;
  margin-bottom: 2rem;
  opacity: 0.95;
}
.bf-hero__brand--betafence { color: var(--color-betafence-red); }
.bf-hero__brand--hesco     { color: var(--color-hesco-green); }

/* Hero content box (dark overlay box like in Industry pages) */
.bf-hero--industry .bf-hero__content,
.bf-hero--solution .bf-hero__content {
  background: rgba(20, 20, 20, 0.7);
  display: inline-flex;
  flex-direction: column;
  max-width: 500px;
  padding: 2.5rem;
  margin-bottom: 3rem;
}

/* ==========================================================================
   TAGLINE STRIP
   ========================================================================== */
.bf-tagline {
  padding: 1.5rem 2rem;
  text-align: center;
}
.bf-tagline p {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-dark);
  font-weight: 500;
}

/* ==========================================================================
   QUICK LINKS (Homepage)
   ========================================================================== */
.bf-quick-links {
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 4rem 0;
}
.bf-quick-links::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.bf-quick-links__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.bf-quick-link-card {
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
  border-radius: var(--card-radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.bf-quick-link-card h3 { font-size: 1.2rem; color: var(--color-dark); }
.bf-quick-link-card p  { font-size: 0.9rem; color: var(--color-text-light); flex: 1; }

/* ==========================================================================
   FEATURE BANNER (Homepage)
   ========================================================================== */
.bf-feature-banner {
  position: relative;
  min-height: 480px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  margin: var(--section-gap) 0;
}
.bf-feature-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.bf-feature-banner__content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 560px;
  padding: 3rem 2rem;
}
.bf-feature-banner__content h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1.5rem; }
.bf-feature-banner__content p  { font-size: 0.95rem; margin-bottom: 2rem; opacity: 0.9; }

/* ==========================================================================
   RESOURCES SECTION (Homepage)
   ========================================================================== */
.bf-resources { padding: var(--section-gap) 2rem; }
.bf-resources__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.bf-resource-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}
.bf-resource-card__image { overflow: hidden; border-radius: var(--card-radius); aspect-ratio: 4/3; }
.bf-resource-card__image img { width: 100%; height: 100%; object-fit: cover; }
.bf-resource-card h3 { font-size: 1.1rem; }
.bf-resource-card p  { font-size: 0.88rem; color: var(--color-text-light); flex: 1; }

/* ==========================================================================
   CERTIFICATIONS SECTION
   ========================================================================== */
.bf-certifications { padding: var(--section-gap) 2rem; text-align: center; }
.bf-certifications__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
.bf-cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
}
.bf-cert-item__logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  border: 3px solid var(--color-dark);
}
.bf-cert-item__logo--iso       { border-color: #004494; color: #004494; }
.bf-cert-item__logo--lpcb      { border-color: #6f2c91; color: #6f2c91; }
.bf-cert-item__logo--astm      { border-color: #002d6e; color: #002d6e; }
.bf-cert-item__logo--guarantee { background: var(--color-betafence-red); color: #fff; border-color: var(--color-betafence-red); font-size: 1rem; }
.bf-cert-item__logo--pssa      { border-color: #003f87; color: #003f87; }

/* ==========================================================================
   CONTENT SECTION (text + image combos)
   ========================================================================== */
.bf-content-section { padding: var(--section-gap) 2rem; }
.bf-content-section__heading {
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.bf-content-section__grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}
.bf-content-section__grid--text-image { grid-template-columns: 1fr 1fr; }
.bf-content-section__grid--image-text { grid-template-columns: 1fr 1fr; }

.bf-content-section__text p   { margin-bottom: 1rem; font-size: 0.95rem; line-height: 1.7; }
.bf-content-section__text p:last-child { margin-bottom: 0; }
.bf-content-section__image img,
.bf-content-section__image .field--type-image img {
  width: 100%;
  border-radius: var(--card-radius);
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* ==========================================================================
   INDUSTRY LISTING CARDS
   ========================================================================== */
.bf-industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.bf-industry-card {
  background: var(--color-white);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}
.bf-industry-card:hover {
  /* transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.14); */
}
.bf-industry-card__image { aspect-ratio: 4/3; overflow: hidden; }
.bf-industry-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.bf-industry-card:hover .bf-industry-card__image img { transform: scale(1.05); }
.bf-industry-card__body {  display: flex; flex-direction: column; gap: 0.75rem; }
.bf-industry-card__icon .field--type-image img { width: 32px; height: 32px; object-fit: contain; }
.bf-industry-card__title { font-size: 1rem; color: var(--color-dark); }
.bf-industry-card__desc  { font-size: 0.85rem; color: var(--color-text-light); flex: 1; }

/* ==========================================================================
   SOLUTION LISTING CARDS
   ========================================================================== */
.bf-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.bf-solution-card {
  background: var(--color-white);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}
.bf-solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}
.bf-solution-card__image { aspect-ratio: 16/9; overflow: hidden; }
.bf-solution-card__image img { width: 100%; height: 100%; object-fit: cover; }
.bf-solution-card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.bf-solution-card__icon .field--type-image img { width: 28px; height: 28px; object-fit: contain; }
.bf-solution-card__title { font-size: 1rem; color: var(--color-dark); }
/* .bf-solution-card__desc  { font-size: 0.85rem; color: var(--color-text-light); flex: 1; } */

/* ==========================================================================
   BRAND CARDS (Solutions page)
   ========================================================================== */
.bf-brands { padding: var(--section-gap) 2rem; }
.bf-brands__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.bf-brand-card {
  border-radius: var(--card-radius);
  padding: 2rem;
  color: #fff;
}
.bf-brand-card--betafence { background: var(--color-betafence-red); }
.bf-brand-card--hesco     { background: var(--color-hesco-green); }
.bf-brand-card__header    { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.bf-brand-card__logo      { font-weight: 800; font-size: 1.2rem; letter-spacing: 0.1em; }
.bf-brand-card__arrow     { font-size: 1.5rem; }
.bf-brand-card p          { font-size: 1.05rem; line-height: 1.5; }

/* ==========================================================================
   RECOMMENDED SYSTEMS (Industry detail)
   ========================================================================== */
.bf-recommended { padding: var(--section-gap) 0; background: var(--color-dark-bg); }
.bf-recommended--dark { background: var(--color-dark-bg); }
.bf-recommended__title {
  color: #fff;
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
}
.bf-recommended__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

/* Product card */
.bf-product-card {
  background: #fff;
  border-radius: var(--card-radius);
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: background var(--transition);
}
.bf-product-card:hover { background: var(--color-grey-light); }
.bf-product-card__inner { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.bf-product-card__title { font-size: 0.9rem; font-weight: 600; color: var(--color-dark); }
.bf-product-card__arrow { color: var(--color-betafence-red); font-size: 1.2rem; }
.bf-product-card__brand { font-size: 0.75rem; color: var(--color-text-light); text-transform: uppercase; letter-spacing: 0.05em; }

/* ==========================================================================
   FEATURES SECTION (Industries listing)
   ========================================================================== */
.bf-features { padding: var(--section-gap) 2rem; }
.bf-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: center;
}
.bf-feature-item__icon { font-size: 2.5rem; margin-bottom: 1rem; }
.bf-feature-item h3    { margin-bottom: 0.75rem; }
.bf-feature-item p     { font-size: 0.9rem; color: var(--color-text-light); line-height: 1.6; }

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.bf-stats { background: var(--color-dark-bg); padding: 4rem 0; }
.bf-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  divider: var(--color-white);
}
.bf-stat { padding: 1rem 2rem; border-right: 1px solid rgba(255,255,255,0.2); }
.bf-stat:last-child { border-right: none; }
.bf-stat__number {
  display: block;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
}
.bf-stat__label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.25rem;
}

/* ==========================================================================
   BLOG LISTING
   ========================================================================== */
.bf-listing-section { padding: var(--section-gap) 2rem; }

.blog-listing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }


.bf-blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.14); }
.bf-blog-card__image {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.bf-blog-card__image-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  padding: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
}
.bf-blog-card__body  { padding: 30px; }
.bf-blog-card__date  { font-size: 0.8rem; color: var(--color-text-light); margin-bottom: 15px; }
.bf-blog-card__title { font-size: 1rem; margin-bottom: 0.6rem; }
.bf-blog-card__title a:hover { color: var(--color-betafence-red); }
.bf-blog-card__excerpt { font-size: 0.85rem; color: var(--color-text-light); line-height: 1.5; }

.bf-blog-post { padding: var(--section-gap) 2rem; max-width: 900px; }
.bf-blog-post__hero img { width: 100%; border-radius: var(--card-radius); margin-bottom: 2rem; }
.bf-blog-post__title { margin-bottom: 0.5rem; }
.bf-blog-post__date  { color: var(--color-text-light); font-size: 0.85rem; margin-bottom: 2rem; }
.bf-blog-post__body  { font-size: 1rem; line-height: 1.8; }
.bf-blog-post__body p { margin-bottom: 1.25rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.bf-footer { background: var(--color-dark); color: rgba(255,255,255,0.8); padding-top: 3rem; }
 .bf-footer__main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 4rem;
  padding-bottom: 3rem; 
} 
.bf-footer__col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin: 0 0 1rem;
}
.bf-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.bf-footer__col li { margin: 0; padding: 0; }
.bf-footer__col a  { font-size: 0.88rem; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.bf-footer__col a:hover { color: #fff; }
.bf-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 0;
}
.bf-footer__brand-logos { display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; }
.bf-footer__brand-logos img { height: 28px; filter: brightness(0) invert(1); opacity: 0.7; }
.bf-footer__social { display: flex; gap: 0.6rem; align-items: center; }
.bf-footer__social a,
.bf-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  color: rgba(255,255,255,0.65);
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.bf-footer__social a:hover,
.bf-social-btn:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.5); }
.bf-footer__copyright {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
  white-space: nowrap;
}

/* ==========================================================================
   HEADER — UPDATED with logo SVG styling
   ========================================================================== */
.bf-logo-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}
.bf-logo-icon--bf svg,
.bf-logo-icon--hesco svg { width: 32px; height: 32px; }
.bf-logo-name { font-weight: 800; font-size: 1rem; letter-spacing: 0.06em; }
.bf-logo-name--bf     { color: var(--color-betafence-red); }
.bf-logo-name--hesco  { color: var(--color-hesco-green); }

.bf-nav__praesidiad { color: var(--color-teal) !important; font-weight: 600; }

.btn--contact-us {
  background: #051628;
  color: #fff;
  border-radius: 6px;
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  margin-left: auto;
  flex-shrink: 0;
  transition: background var(--transition);
}
.btn--contact-us:hover { background: #333; }

/* Mobile hamburger */
.bf-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.bf-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.bf-nav-toggle--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.bf-nav-toggle--open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.bf-nav-toggle--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */
.bf-hero-slider {
  position: relative;
  overflow: hidden;
  height: 640px;
  background: var(--color-dark);
}
.bf-slider__track {
  display: flex;
  height: 100%;
  transition: none;
}
.bf-slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: none;
  align-items: flex-end;
  padding-bottom: 4rem;
}
.bf-slide--active { display: flex; }

.bf-slide__content {
  position: relative;
  z-index: 2;
  padding: 0 5%;
  display: flex;
  flex-direction: column;
  gap: 5rem;
  max-width: 700px;
}

/* The branded content box */
.bf-slide__box {
  background: rgba(20, 20, 20, 0.72);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  display: inline-flex;
  flex-direction: column;
  gap: 1rem;
}
.bf-slide__box--hesco {
  border: 2px solid var(--color-hesco-green);
}
.bf-slide__box--betafence {
  border: 2px solid var(--color-betafence-red);
}
/* Light variant for slide 4 */
.bf-slide__box--light {
  background: rgba(255, 255, 255, 0.82);
}
/* Grey variant for slide 5 */
.bf-slide__box--grey {
  background: rgba(120, 120, 120, 0.72);
}

.bf-slide__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.bf-slide__brand-icon { width: 36px; height: 36px; flex-shrink: 0; }

.bf-slide__headline {
  color: #fff;
  font-size: clamp(1.5rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}
/* Dark headline for light box (slide 4) */
.bf-slide__headline--dark { color: var(--color-dark); }
.bf-slide__box--light .bf-slide__brand { color: var(--color-dark); }

/* CTA button under the box */
.btn--slide-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-dark);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  border: 2px solid transparent;
  text-transform: uppercase;
  width: fit-content;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn--slide-cta:hover { background: #333; }
.btn--slide-cta-light {
  background: #fff;
  color: var(--color-dark);
  border-color: var(--color-dark);
}
.btn--slide-cta-light:hover { background: var(--color-dark); color: #fff; }

/* Prev / Next arrows */
.bf-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.35);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.bf-slider__arrow:hover { background: rgba(0,0,0,0.65); }
.bf-slider__arrow--prev { left: 1.5rem; }
.bf-slider__arrow--next { right: 1.5rem; }

/* Dot indicators */
.bf-slider__dots {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
.bf-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}
.bf-slider__dot--active,
.bf-slider__dot:hover { background: #fff; transform: scale(1.3); }

/* Slide fade animation */
@keyframes slideFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.bf-slide--active { animation: slideFadeIn 0.6s ease; }

/* ==========================================================================
   HERO — listing/inner pages
   ========================================================================== */
.bf-hero--listing { min-height: 360px; align-items: flex-end; }
.bf-hero__content-box {
  background: rgba(20,20,20,0.68);
  display: inline-block;
  padding: 2rem 2.5rem;
  margin-bottom: 3rem;
}
.bf-hero--listing .bf-hero__title { font-size: clamp(1.6rem, 3vw, 2.6rem); }

/* ==========================================================================
   RESOURCES PAGE
   ========================================================================== */
.bf-resource-section { padding: var(--section-gap) 0; }
.bf-resource-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.bf-resource-section__text { display: flex; flex-direction: column; gap: 1rem; }
.bf-resource-section__text p { font-size: 0.95rem; line-height: 1.7; color: var(--color-text); }
.bf-resource-section__image img { width: 100%; border-radius: var(--card-radius); aspect-ratio: 4/3; object-fit: cover; }

.bf-section-title--left { text-align: left; }

.bf-cert-logos-inline {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  align-items: center;
}
.bf-cert-inline-item { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 500; }

/* Guarantees section */
.bf-guarantees {
  background: var(--color-dark-bg);
  padding: var(--section-gap) 0;
  text-align: center;
}
.bf-guarantees .bf-section-title { color: #fff; }
.bf-guarantees .bf-section-subtitle { color: rgba(255,255,255,0.75); }
.bf-guarantees__badges {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}
.bf-guarantee-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 500;
}
.bf-guarantee-badge img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; }

/* Blog section on resources */
.bf-resource-blogs { padding: var(--section-gap) 0; }
.bf-resource-blogs .view-blog .view-content { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.bf-resource-blogs .views-element-container { width: 100%; }

/* View All Blogs link */
.bf-resource-blogs .bf-view-all { text-align: center; margin-top: 2rem; }

/* ==========================================================================
   FOOTER — logo text styling
   ========================================================================== */
.bf-footer__brand { font-weight: 800; font-size: 0.85rem; letter-spacing: 0.08em; }
.bf-footer__brand--bf         { color: var(--color-betafence-red); }
.bf-footer__brand--hesco      { color: var(--color-hesco-green); }
.bf-footer__brand--praesidiad { color: #00a0c8; }

.bf-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  font-weight: 700;
  transition: background var(--transition), color var(--transition);
}
.bf-social-btn:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ==========================================================================
   VIEWS OVERRIDES — remove Drupal wrappers chrome
   ========================================================================== */
.view .view-content { /* no extra margin */ }
.view-industries .view-content,
.view-solutions .view-content,
.view-blog .view-content { display: contents; }

/* Blog view wraps nodes in a list — make grid */
.view-blog .view-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ==========================================================================
   LOGIN PAGE
   ========================================================================== */

/* Full-viewport split layout */
.bf-login-page,
.bf-login-page body { margin: 0; padding: 0; }

.bf-login-layout {
  display: flex;
  min-height: 100vh;
}

/* ── LEFT BRAND PANEL ──────────────────────────────────────────────────────── */
.bf-login-panel--brand {
  flex: 1;
  position: relative;
  background: var(--color-dark);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.bf-login-panel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(10,10,20,0.88) 0%,
    rgba(200,16,46,0.35) 100%);
  z-index: 0;
}

.bf-login-panel__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem;
  width: 100%;
  color: #fff;
}

/* Brand logos row */
.bf-login-logos {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.bf-login-logo-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bf-login-logo-icon svg {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 5px;
}

.bf-login-logo-name {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.bf-login-logo-name--bf     { color: #fff; }
.bf-login-logo-name--hesco  { color: #6ab023; }

.bf-login-logo-sep {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.25);
}

/* Tagline */
.bf-login-tagline {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 0;
}

.bf-login-tagline h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: #fff;
}

.bf-login-tagline p {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.7);
  max-width: 380px;
  margin: 0;
}

/* Stats strip at bottom of brand panel */
.bf-login-stats {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.bf-login-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.bf-login-stat__number {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.bf-login-stat__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
}

/* ── RIGHT FORM PANEL ──────────────────────────────────────────────────────── */
.bf-login-panel--form {
  width: 100%;
  flex-shrink: 0;
  background: #f5f6f8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
  position: relative;
}

.bf-login-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.06);
  width: 100%;
  max-width: 380px;
  overflow: hidden;
}

/* Card header strip */
.bf-login-card__header {
  background: var(--color-dark);
  padding: 1.75rem 2rem 1.5rem;
  border-bottom: 3px solid var(--color-betafence-red);
}

.bf-login-card__logo-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.bf-login-card__logo-row svg {
  flex-shrink: 0;
}

.bf-login-card__brand {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #fff;
}

.bf-login-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.4rem;
  line-height: 1.3;
}

.bf-login-card__subtitle {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

/* Messages */
.bf-login-messages {
  padding: 0.75rem 1.5rem;
  background: #fff3f3;
  border-left: 3px solid var(--color-betafence-red);
  font-size: 0.85rem;
  color: #a00;
}

.bf-login-messages .messages { margin: 0; padding: 0; background: transparent; border: none; box-shadow: none; }

/* Form wrapper */
.bf-login-form-wrapper {
  padding: 1.75rem 2rem 1.5rem;
}

/* Style the Drupal user login form elements */
.bf-login-form-wrapper .user-login-form .form-item {
  margin-bottom: 1.25rem;
}

.bf-login-form-wrapper .user-login-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #555;
  margin-bottom: 0.4rem;
}

.bf-login-form-wrapper .user-login-form input[type="text"],
.bf-login-form-wrapper .user-login-form input[type="email"],
.bf-login-form-wrapper .user-login-form input[type="password"] {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #dde0e7;
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--color-dark);
  background: #fafbfc;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  outline: none;
}

.bf-login-form-wrapper .user-login-form input[type="text"]:focus,
.bf-login-form-wrapper .user-login-form input[type="email"]:focus,
.bf-login-form-wrapper .user-login-form input[type="password"]:focus {
  border-color: var(--color-betafence-red);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.10);
  background: #fff;
}

.bf-login-form-wrapper .user-login-form .description {
  display: none;
}

.bf-login-form-wrapper .user-login-form input[type="submit"],
.bf-login-form-wrapper .user-login-form .form-submit {
  width: 100%;
  padding: 0.8rem 1.5rem;
  background: var(--color-betafence-red);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s, transform 0.1s;
}

.bf-login-form-wrapper .user-login-form input[type="submit"]:hover {
  background: #a80d26;
  transform: translateY(-1px);
}

.bf-login-form-wrapper .user-login-form input[type="submit"]:active {
  transform: translateY(0);
}

/* Card footer */
.bf-login-card__footer {
  padding: 1rem 2rem 1.5rem;
  border-top: 1px solid #f0f2f5;
  text-align: center;
}

.bf-login-link {
  font-size: 0.82rem;
  color: var(--color-betafence-red);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.bf-login-link:hover {
  color: #a80d26;
  text-decoration: underline;
}

/* Copyright below the card */
.bf-login-copyright {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: #aaa;
  white-space: nowrap;
  margin: 0;
}

/* ==========================================================================
   RESPONSIVE — Tablets 1024px
   ========================================================================== */
@media (max-width: 1024px) {
  .bf-industries-grid    { grid-template-columns: repeat(2, 1fr); }
  .bf-solutions-grid     { grid-template-columns: repeat(2, 1fr); }
  .bf-recommended__grid  { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   RESPONSIVE — Mobile 768px
   ========================================================================== */
@media (max-width: 991px) {
  :root { --section-gap: 3rem; }

  .bf-header__inner { padding: 0 1rem; height: 60px; gap: 0.75rem; }
  .bf-nav-toggle { display: flex; }
  .bf-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--color-grey-mid);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    z-index: 200;
  }
  .bf-nav--open { display: block; }
  .bf-nav ul,
  .bf-nav .menu { flex-direction: column; padding: 0.5rem 0; }
  .bf-nav ul li a,
  .bf-nav .menu__link { padding: 0.85rem 1.5rem; width: 100%; display: block; border-bottom: 1px solid var(--color-grey-mid); }

  .bf-hero-slider { height: 420px; }
  .bf-slide__headline { font-size: 1.5rem; }
  .bf-slide__box { padding: 1.2rem 1.4rem; }
  .bf-slider__arrow { width: 36px; height: 36px; font-size: 1.3rem; }
  .bf-resource-section__grid { grid-template-columns: 1fr; }
  .bf-guarantees__badges { gap: 2rem; }

  .bf-hero { min-height: 340px; }
  .bf-hero--home { min-height: 480px; }

  .bf-quick-links__grid         { grid-template-columns: 1fr; }
  .bf-resources__grid           { grid-template-columns: 1fr; }
  .bf-content-section__grid--text-image,
  .bf-content-section__grid--image-text { grid-template-columns: 1fr; }
  .bf-content-section__grid--image-text .bf-content-section__image { order: -1; }
  .bf-industries-grid           { grid-template-columns: 1fr; }
  .bf-solutions-grid            { grid-template-columns: 1fr; }
  .bf-features__grid            { grid-template-columns: 1fr; gap: 2rem; }
  .bf-stats__grid               { grid-template-columns: 1fr; }
  .bf-stat                      { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .bf-brands__grid              { grid-template-columns: 1fr; }
  .bf-recommended__grid         { grid-template-columns: repeat(2, 1fr); }
  .bf-footer__main              { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .bf-footer__bottom            { flex-direction: column; align-items: center; gap: 1rem; text-align: center; padding: 1.25rem 0; }
  .bf-footer__brand-logos       { justify-content: center; }
  .bf-footer__social            { justify-content: center; }
  .bf-footer__copyright         { text-align: center; }
  .view-blog .view-content      { grid-template-columns: 1fr; }

  /* Login page */
  .bf-login-layout              { flex-direction: column; }
  .bf-login-panel--brand        { min-height: 280px; }
  .bf-login-panel--form         { padding: 2rem 1rem 3rem; }
  .bf-login-stats               { display: none; }
  .bf-login-tagline h1          { font-size: 1.5rem; }
}
 /* mayank changes */

 /* Hide all Drupal view rows */
.bf-slider__track .views-row {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
}

/* Show only the row containing the active slide */
.bf-slider__track .views-row:has(.bf-slide--active) {
  display: block;
}

/* Slide fills its row */
.bf-slide {
  width: 100%;
  display: flex;   /* always flex, visibility controlled by parent .views-row */
  
}
.bf-slide .bf-slide__content {
  align-items:center;
}

.views-row:first-child .bf-slide__content {
  width: 100%;
  max-width: none !important;
}

/* All other views-row */
.views-row:not(:first-child) .bf-slide__content {
  width: 1200px;
  max-width: none !important;
}
.bf-slide__box{
 width:100% ;
}

.bf-quick-links {
  height: 526px;
  /* background-size: cover; */
  /* background-position: center; */
  /* background-repeat: no-repeat; */

  display: flex;
  align-items:center;
}

.bf-quick-link-card p{
  /* font-family: Inter; */
font-weight: 400;
font-style: Regular;
font-size: 20px;
/* leading-trim: NONE; */
line-height: 34px;
letter-spacing: 0%;
color: #000000;

}
.bf-quick-link-card h3{
/* font-family: Inter; */
font-weight: 700;
font-style: Bold;
font-size: 28px;
/* leading-trim: NONE; */
line-height: 40px;
letter-spacing: 0%;
}
.bf-quick-link-card a{
  width:fit-content;
  text-align:center;
}
@media (min-width: 1600px) {
.bf-quick-link-card{
  /* height:320px; */
  /* width: 470px; */
}
}
.bf-quick-link-card{
  text-align:center;
  align-items: center;
}

.path-home .bf-quick-links::before {
  background: transparent;
}
.path-home .bf-tagline{
    height:110px;
    align-content:center; 
}
.path-home .bf-tagline p{
/* font-family: Inter; */
font-weight: 700;
font-style: Bold;
font-size: 18px;
line-height: 30px;
letter-spacing: 0%;
text-align: center;
text-transform: uppercase;
color: #010205;
}
.path-home .bf-tagline .container{
    max-width:100%;
}
.bf-resources .title-resources h3{
font-weight: 700;
font-style: Bold;
font-size: 44px;
line-height: 60px;
letter-spacing: 0%;
text-align: center;
color:#000000;

}

/* Separator between cards */
.bf-quick-links__grid .bf-quick-link-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1rem; /* half of 2rem gap */
  /* width: 16px; */
  height: 100%;
  transform: translateX(150%);
}

/* Alternate colors */
.bf-quick-links__grid .bf-quick-link-card:nth-child(odd):not(:last-child)::after {
  background: #B20932;
;
}

.bf-quick-links__grid .bf-quick-link-card:nth-child(even):not(:last-child)::after {
  background: #81BC26;
}
.bf-quick-links__grid{
  gap: 4rem;
}

section.bf-hero.bf-hero--listing {
    min-height:700px;
  align-items:center;
}

.bf-hero__content-box {
  /* position: absolute; */
  width: min(751px, 70.11vw);
  max-width: 751px;
  /* left: 5vw;
  top: 0; */
}
.btn--dark {
 width:fit-content;    
}

/* header responsive  */
@media (max-width:500px){
.bf-logo-name {
font-size:.8rem;
}
 a.btn.btn--contact-us {
        padding:0.4rem 1rem; 
    }
    .bf-header__inner{
      padding: 0 .5rem;
    }
}

@media(max-width:1250px){
.bf-nav ul li a, .bf-nav .menu__link{
font-size: 10px;
}
    .bf-header__logos{
        max-height:10px;
    }
    .bf-header__inner{
        gap:0.5rem
    }
    .btn--contact-us{
        font-size:15px;
    }
    .bf-nav ul{
        justify-content:center
    }
    
}

@media(max-width:950px){
  .bf-logo-name {
font-size:.6rem;
}
  .bf-nav ul li a{
        padding:0.25rem 0.5rem;
    }
  .bf-header__inner{
      gap:0.5rem
  }
  .bf-header__search input{
    display:none;
  }
}
@media (max-width:500px){

  
 a.btn.btn--contact-us {
        padding:0.4rem 1rem; 
    }
    .bf-header__inner{
      padding: 0 .5rem;
    }
  form.bf-search-form button{
    /* display:none;*/
    padding:5px;
    margin:5px;
  }
}
@media (max-width:920px){
/* span.bf-logo-icon.bf-logo-icon--bf {
    height:25px;
    width:25px
  }
  span.bf-logo-icon.bf-logo-icon--hesco {
    height:25px;
    width:25px
  } */
}

.bf-brand-card.bf-brand-card--betafence .bf-brand-card__header {
  background: #9D2235;
  padding: 1rem;
  margin-bottom:0;
}
.bf-brand-card.bf-brand-card--betafence{
    background: #F6FAFF;

}
.bf-brand-card.bf-brand-card--betafence p{
  padding: 1rem;
  background: #F6FAFF;
  color: #000000;
font-weight: 500;
font-style: Medium;
/* font-size: 26px; */
/* leading-trim: NONE; */
line-height: 36px;
letter-spacing: 0%;

}





.bf-brand-card.bf-brand-card--hesco .bf-brand-card__header {
  background: #6A9D00;

  padding: 1rem;
  margin-bottom:0;
}
.bf-brand-card.bf-brand-card--hesco{
     background: #F6FAFF;

}
.bf-brand-card.bf-brand-card--hesco p{
  padding: 1rem;
  background: #F6FAFF;
font-weight: 500;
color: #000000;
font-style: Medium;
/* font-size: 26px; */
/* leading-trim: NONE; */
line-height: 36px;
letter-spacing: 0%;

}

.path-solutions .bf-section-subtitle{
color: #000000;
}
.bf-brand-card{
  padding: 0;
  border: 1px solid #BAC7D5;
}
.bf-tagline {
    border-bottom: 1px solid #D1DBE6
}
body:not(:has(.path-home)) .bf-tagline{
font-weight: 700;
font-style: Bold;
font-size: 24px;
line-height: 34px;
letter-spacing: 0%;
text-align: center;

}
body:not(.path-home) .bf-tagline p {
  font-weight: 700;
  font-size: clamp(18px, 1vw, 24px);
  line-height: 1.4;
  letter-spacing: 0;
  text-align: center;
}

/* footer */
.bf-footer__col ul li a{
font-weight: 400;
font-style: Regular;
font-size: 20px;
line-height: 24px;
letter-spacing: 0%;
color: #FFFFFF;
}
span.bf-footer__brand {
font-weight: 600;
font-style: Semi Bold;
font-size: 20px;
line-height: 30px;
letter-spacing: 0%;
text-transform: uppercase;
color:#FFFFFF;
}


.bf-footer__copyright{
font-weight: 400;
font-style: Regular;
font-size: 20px;
line-height: 30px;
letter-spacing: 0%;
text-transform: uppercase;
display:flex;
    align-items:center;
    justify-content:center;
    background: #121519;
    height: 70px;
    color: #FFFFFF;

}


.bf-footer__bottom > :not(:first-child) {
  margin: auto;
}
.bf-footer__bottom > :first-child {
  margin-right: auto;
  margin-left:10px;
}
.bf-footer__bottom{
  padding:1.25rem 1.5rem;
  margin:auto;
}
.bf-footer {
    background: #051628;
}
.bf-footer__bottom{
  border-top:none ;
}


/* industries page */
.path-industries h2.bf-content-section__heading {
    max-width:1200px;
}
.path-industries .bf-content-section__grid--text-image {
    grid-template-columns: 5.5fr 4.5fr;
}
.path-industries .bf-content-section__text{
    padding:0 1rem;
}
.path-industries .bf-content-section__text p{/* font-family: Inter; */font-weight: 400;font-style: Regular;font-size: 20px;leading-trim: NONE;line-height: 34px;letter-spacing: 0%;}

.path-industries section.bf-listing-section .bf-section-title{
    max-width:1200px;
    margin:auto;
    padding: 2rem 0;
}

.path-industries section.bf-listing-section {
    /* background: #F6FAFF; */
    padding:0;
}
.path-industries .bf-tagline {
    background: #F6FAFF;

}
.bf-footer__col ul li a{
    font-size: clamp(16px, 2vw, 18px);
}
.bf-tagline p{
  text-transform: unset;
}
.path-industries .bf-content-section__image img {
    height: 366px;
}

.path-industries .bf-feature-item h3 {
    /* font-family: Inter; */
    font-weight: 700;
    font-style: Bold;
    font-size: clamp(1.4rem, 2vw, 1.62rem);
/* leading-trim: NONE; */
    line-height: 100%;
    letter-spacing: 0%;
}

.path-industries .bf-feature-item p{
    font-weight: 400;
    /* font-style: Regular; */
    font-size: clamp(17px, 2vw, 20px);
    line-height: 32px;
    letter-spacing: 0%;
    color: #000000;

}
.path-industries  .bf-features__grid{
    text-align:start;
}
.path-industries .bf-stat__number{
font-weight: 800;
font-style: Extra Bold;
font-size: 44px;
line-height: 100%;
letter-spacing: 0%;

}

.path-industries section.bf-stats {
    padding:32px;
}

.path-industries span.bf-stat__label {
    /* font-family: Inter; */
font-weight: 500;
font-style: Medium;
font-size: clamp(20px ,2vw , 26px);
/* leading-trim: NONE; */
line-height: 100%;
letter-spacing: 0%;
color: #FFFFFF;

}

@media (max-width: 1024px) {
  .path-industries .bf-content-section__grid--text-image{
    grid-template-columns: 1fr;
  }
  .path-resources .bf-resource-section__grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
.path-industries .bf-content-section{
        padding: var(--section-gap) 1rem;
}
.bf-tagline {
padding: 1.5rem 0rem;
}
}


.bf-industries-grid .bf-industry-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.bf-industry-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 25px 0;
}

.bf-industry-card__body .btn {
  margin-top: auto;
}
.path-industries .bf-industry-card__desc{
  flex: 0;
}
section.bf-listing-section .container {
    padding:0;
}
.bf-footer__social a{
  border: none;
}
.bf-footer__brand-logos img{
    opacity:1;
    filter:none;
}
.bf-footer__brand-logos img{
    /* height:52px;
    width:150px; */
}

.bf-footer__bottom {
    padding: 1.25rem .5rem;
}
.bf-logo-name--bf{
  color: #010205;
}
.bf-logo-name--hesco {
  color: #010205;
}





.path-resources .bf-resource-section:first-of-type .bf-resource-section__grid::before {
  content: "The Importance of Certification";
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 2rem;
  grid-column: 1 / -1;
  font-weight: 700;
font-style: Bold;
font-size: 44px;
line-height: 60px;
letter-spacing: 0%;

}
section.bf-resource-section .bf-resource-section__text p{
font-weight: 400;
font-size: 20px;
line-height: 34px;
letter-spacing: 0%;

}
.bf-resource-section__grid{
    align-items:start;
}
.bf-cert-item__logo--lpcb , .bf-cert-item__logo--astm{
    border:none;
}

#block-betafence-blog-resources .bf-view-pager {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
#block-betafence-blog-resources .bf-pager nav ul{
    display:flex;
    /* flex-direction:row; */
    gap:10px;
    justify-content:center;
}

#block-betafence-blog-resources .bf-view-pager .bf-blog-card{
    display: flex;
    flex-direction: column;
    width:100%;
    height:100%;
}
.bf-blog-card__body{
    display: flex;
  flex-direction: column;
  flex-grow: 1;
}
@media (max-width: 1024px) {
  #block-betafence-blog-resources .bf-view-pager { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  #block-betafence-blog-resources .bf-view-pager { grid-template-columns:  1fr; }
}
section.bf-resource-blogs {
    background: #F6FAFF;

}
section.bf-hero.bf-hero--industry {
  min-height:700px;
  align-items:center;
}
.bf-hero--industry .bf-hero__content{
  width:100%;
  max-width:var(--container-max);
  background:none;
}

/* .node-type-industry .bf-content-section__text p{
font-weight: 400;
font-style: Regular;
font-size: 20px;
line-height: 34px;
letter-spacing: 0%;
    margin-right:100px;

} */
/* .node-type-industry .bf-content-section__text p strong{
font-weight: 600;
font-style: Regular;
font-size: 26px;
line-height: 34px;
letter-spacing: 0%;
    margin-right:100px;

} */


.node-type-industry .bf-content-section__grid.bf-content-section__grid--text-image , .bf-content-section__grid.bf-content-section__grid--image-text{
    align-items:center;
    gap:20px;
    /* grid-template-columns:1.5fr 1fr */
}

/* .node-type-industry .bf-content-section__image img{
    aspect-ratio: 1.8/1;
    
} */

.node-type-industry .bf-content-section__grid--text-image{
    grid-template-columns:1.4fr 1fr
}
.node-type-industry .bf-content-section__grid--image-text{
    grid-template-columns:1fr 1.4fr;
}
.node-type-industry .bf-content-section{
    padding:2rem;
}

.bf-recommended__grid .bf-recommended_item{
    display:flex;
    flex-direction: column;
    /* min-height:112px; */
    background: #FFFFFF;
    border-radius:10px;
    border-left:5px solid;
    

}
.bf-recommended__grid .bf-recommended_item_bf{
border-color: #9D2235;
}
.bf-recommended__grid .bf-recommended_item_hs{
border-color: #7EBB00
}

.bf-recommended__grid a{
    margin:20px;
    /* width:100%; */
font-weight: 700;
font-style: Bold;
font-size: clamp(15px, 2vw , 20px);
line-height: 100%;
letter-spacing: 0%;

}
.bf-recommended_item a:first-child::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 8px;
  background-image: url('/themes/custom/betafence/images/logos/Vector.png');
  background-size: contain;
  background-repeat: no-repeat;
}
.bf-recommended_item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
h2.bf-recommended__title {
    
font-weight: 700;
font-style: Bold;
font-size:clamp( 30px, 3vw, 44px);
line-height: 54px;
letter-spacing: 0%;
text-align: center;
}
.bf-section-subtitle {
    max-width:1200px;
}



.node-type-industry h2.bf-section-title {
font-weight: 700;
font-style: Bold;
font-size: clamp(30px, 3vw, 44px);
line-height: 60px;
letter-spacing: 0%;
text-align: center;
}
.node-type-industry .bf-section-subtitle {
    font-weight: 400;
font-style: Regular;
font-size: clamp(15px, 2vw, 20px);
line-height: 34px;
letter-spacing: 0%;
text-align: center;
color: #1C222C;


}
@media(max-width:1279px){
    .node-type-industry .bf-content-section__grid.bf-content-section__grid--text-image,.node-type-industry .bf-content-section__grid.bf-content-section__grid--image-text {
    grid-template-columns: 1fr ;
}
.node-type-industry .bf-content-section__text p{
  margin:0;

}
}
@media(max-width:600px){
    .bf-recommended__grid {
    grid-template-columns:1fr;
}}



section.bf-feature-banner .bf-feature-banner__content{
    max-width:var(--container-max);
    width:100%;
}
section.bf-feature-banner.contact-us-common-block .bf-feature-banner__data{
    width:42%;
}
section.bf-feature-banner .bf-feature-banner__data{
    width:50%;
}
.independent_logo {
    display:flex;
    align-items:center;
    justify-content:space-around
}

.bf-feature-banner-solutions .bf-content-section.container{
    max-width:100%;
    background: #F6FAFF;


}
.independent-block-content {
    max-width:1122px;
    margin:auto;
    text-align:center;
}

.independent_logo {
    display:flex;
    align-items:center;
    justify-content:space-around;
    max-width:var(--container-max);
    margin:auto;
}
.independent-block-content p{
font-weight: 500;
font-style: Medium;
font-size: clamp(18px,2vw,22px);
line-height: 32px;
letter-spacing: 0%;
text-align: center;
}
.independent-block-content h2{
font-weight: 800;
font-style: Extra Bold;
font-size: clamp(35px, 3vw, 44px);
line-height: 100%;
letter-spacing: 0%;
text-align: center;
text-transform: capitalize;
color: #051628;


}

.bf_block_independent_content {
    display:flex;
    flex-direction:column;
    max-width:350px;
    align-items:center;
    background: #FFFFFF;
    width:100%;
    border-radius:10px;
    box-shadow: 0px 2px 8px 0px #0000000F;
    padding:20px 30px

}
section.bf-feature-banner {
    margin:0;
}
section.bf-feature-banner.contact-us-common-block .bf-feature-banner__data .btn{
    background: #FFFFFF;
    color: #051628;

}
section.bf-feature-banner.contact-us-common-block .bf-feature-banner__data h2{
/* font-family: Inter; */
font-weight: 800;
font-style: Extra Bold;
font-size: clamp(36px,3vw, 44px);
line-height: 125%;
letter-spacing: 0%;
text-transform: uppercase;
}
section.bf-feature-banner.contact-us-common-block .bf-feature-banner__data p{
font-weight: 500;
font-style: Medium;
font-size: clamp(18px,2vw, 22px);
line-height: 32px;
letter-spacing: 0%;

}


.independent_logo {
    display:flex;
    align-items:center;
    justify-content:space-between;
    max-width:var(--container-max);
    margin:auto;
    flex-wrap:wrap;
    padding:var(--container-pad);
  gap:10px;
}
.bf-solution-card{
    box-shadow:none;
    /* height:100%; */
    
}

.btn--dark{
    background:none;
    border:none;
    color: #051628;
    /* font-family: Inter; */
font-weight: 700;
font-style: Bold;
font-size: 20px;
line-height: 30px;
letter-spacing: 0%;
text-transform: uppercase;
    padding:0;
    text-decoration: underline;
}
.btn--dark:hover{
  background:none;
  
}
.bf-solution-card__body{
    padding:0;
}

.bf-solution-card__image {
    aspect-ratio:576/324;
    border-radius:20px
}

h3.bf-solution-card__title {
font-weight: 700;
font-style: Bold;
font-size: 32px;
line-height: 42px;
letter-spacing: 0%;
margin-top:20px;

}

.bf-solution-card__body div{
font-weight: 500;
font-style: Medium;
font-size: 22px;
line-height: 32px;
letter-spacing: 0%;
color: #051628;

}



.bf-solutions-grid .views-row {
  display: flex;
  height: 100%;
}

.bf-solution-card {
  display: flex;
  flex-direction: column;
  /* width: 100%; */
  /* height: 100%; */
}

.bf-solution-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* .bf-solution-card__desc {
  flex-grow: 1;
} */

.bf-solution-card .btn {
  margin-top: auto;
}


.bf-solution-card:hover{
    transform:none;
    box-shadow:none;
}

h2.bf-section-title {
font-weight: 800;
font-style: Extra Bold;
font-size: clamp(35px, 3vw, 44px);
line-height: 100%;
letter-spacing: 0%;
text-align: center;
text-transform: capitalize;

}

p.bf-section-subtitle {
font-weight: 500;
font-style: Medium;
font-size: clamp(18px, 2vw, 22px);
line-height: 28px;
letter-spacing: 0%;
text-align: center;

}


@media(max-width:768px){section.bf-feature-banner.contact-us-common-block .bf-feature-banner__data{
    width:100%;
  }

                        
}
@media(max-width:1600px){
  .bf_block_independent_content{
    max-width:300px;
  }

                        
}
.bf-footer__bottom.container {
    padding:1rem 1.5rem;
}

.bf-footer__main.container, .bf-footer__bottom.container {
    max-width:1500px
}
.bf-feature-banner__overlay {
    background:none;
}


.bf-footer__main_social.container {
    max-width:900px;
    padding:0 1rem;
}
.bf-footer__social{
    justify-content:end;
    
    
}
.bf-footer__copyright{
    background:inherit;
}

@media(max-width:768px){section.bf-feature-banner .bf-feature-banner__data{
    width:100%;
  }
}


form.bf-search-form input, form.bf-search-form button{
    border:none;
    background:none;
    margin:10px;
    padding:5px
}
form.bf-search-form {
    border: 1px,solid;
    border-radius:10px;
}

/* top header */
/* ==========================================================================
   TOP BAR
   ========================================================================== */
.bf-topbar {
  background: #051628;
  padding: 0.3rem 0;
  font-size: 0.8rem;
}

.bf-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.bf-topbar__btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.75);
  padding: 0.3rem 0.85rem;
  /* border-radius: 4px; */
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.bf-topbar__btn:hover {
  /* background: rgba(255,255,255,0.12); */
  /* color: #fff; */
}

.bf-topbar__btn--auth {
  /* border-color: var(--color-betafence-red); */
  /* color: rgba(255,255,255,0.85); */
}

.bf-topbar__btn--auth:hover {
  /* background: var(--color-betafence-red); */
  /* color: #fff; */
}

/* Mobile — hide topbar on small screens */
@media (max-width: 768px) {
  .bf-topbar { display: none; }
}

form.bf-search-form {
  display: flex;
  flex: 1 1 200px;
  min-width: 0;
  max-width: 300px;
  width: 100%;
}

form.bf-search-form input {
  width: 100%;
  min-width: 0;
}
@media(max-width:1250px){
    .bf-header__logos {
        width:30%;
    }
}
@media(max-width:950px){
    .bf-header__logos {
        width:27%;
    }
}

@media(max-width:768px){
    .bf-header__logos {
        width:50%;
    }
}
@media(max-width:991px){
    .bf-footer__bottom {
        flex-direction:column;
        align-content:center;
    }
    .bf-footer__social{
        
        /* display:flex; */
        justify-content:center;
        /* align-content:center; */
    }
}


.path-industries .bf-overlay-card {
  /* width: 100%; */
  max-width: 470px;
  /* min-height: 235px; */
  max-height: 235px;
  margin: 1.5rem;
  padding: 1.5rem;
  background: #1C222CE5;
  border-radius: .75rem;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.path-industries .bf-overlay-card img {
  width: clamp(32px, 3vw, 48px);
  height: clamp(32px, 3vw, 48px);
  object-fit: contain;
  flex-shrink: 0;
}

.path-industries .bf-overlay-card h3 {
  margin: 0;

  font-size: clamp(1rem, 1.3vw, 1.5rem);
  line-height: 1.2;
}

.path-industries .bf-overlay-card p {
  margin: 0;

  font-size: clamp(.875rem, 1vw, 1rem);
  line-height: 1.5;

  overflow: hidden;
}

.path-industries .bf-content-section__image-grid {
  display: grid;
grid-template-columns:1fr 1fr;
  gap: 1.5rem;
flex-wrap:wrap;
  justify-content: center;
   border-radius:20px;
}

.path-industries .bf-content-section__grid--text-image{
  grid-template-columns:2.5fr 4fr;
  align-items: center;
}

.bf-industries-grid {
    grid-template-columns: repeat(3,  1fr);
}
.bf-industry-card__image{
    aspect-ratio: 576 / 324;
    border-radius: 20px;
}
.bf-industry-card{
    background: none;
    box-shadow:none;
}
h3.bf-industry-card__title {
    font-family: Inter;
font-weight: 700;
font-style: Bold;
font-size: clamp(27px, 2vw, 32px);
line-height: 42px;
letter-spacing: 0%;

}

.bf-industry-card__body div{
    font-family: Inter;
font-weight: 500;
font-style: Medium;
font-size: clamp(18px, 2vw, 22px);
line-height: 32px;
letter-spacing: 0%;

}

@media(max-width:950px){
    .bf-content-section__grid.bf-content-section__grid--text-image {
        grid-template-columns:1fr;
    }
    .bf-industries-grid{
        grid-template-columns:2fr 2fr;
    }
}
@media(max-width:768px){
    .bf-industries-grid{
        grid-template-columns:1fr;
    }
}
.path-industries .bf-listing-section .container{
 padding:var(--container-pad) 2rem;
}


h2#block-betafence-footer-menu ,h2#block-betafence-footer-resources-menu, h2#block-betafence-footer-legal-menu {
font-family: Inter;
font-weight: 700;
font-style: Bold;
font-size: 20px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-transform: uppercase;
    padding-bottom:2rem;
    color: #FFFFFF;

}
#block-betafence-footer ul li a {
    font-weight: 400;
    font-style: Regular;
    font-size: clamp(16px, 2vw, 18px);
    line-height: 24px;
    letter-spacing: 0%;
    color: #FFFFFF;
}
#block-betafence-footer > ul{
    display:flex;
    flex-direction:column;
gap: 25px;
}

.bf-content-section__image-grid {
  background-size: cover;        /* or 'contain' if you want the full image visible */
  background-position: center;
}
.path-industries .bf-content-section__text h2{
    font-family: Inter;
    font-weight: 800;
    font-style: Extra Bold;
    font-size: 44px;
    line-height: 60px;
    letter-spacing: 0%;
    text-transform: capitalize;
}

.path-industries .bf-content-section__text p {
    font-family: Inter;
font-weight: 500;
font-style: Medium;
font-size: 22px;
line-height: 32px;
letter-spacing: 0%;
}
.bf-quick-link-card {
    background: #F9FCFF;
    border: 1px solid #D1DBE6;
    box-shadow: 0px 6px 10px 0px #D1DBE640;
    
}
.bf-quick-link-card {
    background: #F9FCFF;
    border: 1px solid #D1DBE6;
    box-shadow: 0px 6px 10px 0px #D1DBE640;
    
}



.bf-quick-links__grid1.container >h2{
font-family: Inter;
font-weight: 800;
font-style: Extra Bold;
font-size: clamp(35px, 3vw, 44px);
line-height: 100%;
letter-spacing: 0%;
text-align: center;
text-transform: capitalize;
padding-bottom:2rem;
    text-align: center;
    color:var(--color-dark);

}

.bf-quick-links__grid1.container .subtitle{
font-family: Inter;
font-weight: 500;
font-style: Medium;
font-size: clamp(18px, 2vw, 22px);
leading-trim: NONE;
line-height: 28px;
letter-spacing: 0%;
text-align: center;

    text-align: center;

}
.bf-quick-links__grid {
    padding-top:3rem;
}

.bf-quick-links__grid .bf-quick-link-card:not(:last-child)::after{
    border: 1.5px solid ;
}
.bf-quick-links__grid .bf-quick-link-card:nth-child(odd):not(:last-child)::after{
    border-color:#9D2235;
}
.bf-quick-links__grid .bf-quick-link-card:nth-child(even):not(:last-child)::after{
border-color: #7EBB00
}
.bf-quick-links__grid .bf-quick-link-card:not(:last-child)::after {
    /* content: ""; */
    /* position: absolute; */
    top: 50%;
    right: -1.5rem;
    height: 70%;
    /* border-right: 3px solid; */
    transform: translate(150%, -50%);
}
@media(max-width:1100px){
.bf-quick-links__grid {
    grid-template-columns: repeat(2, 1fr);
}
.bf-quick-links__grid .bf-quick-link-card:not(:last-child)::after{
    border: none ;
}
}
@media(max-width:768px){
.bf-quick-links__grid {
    grid-template-columns: repeat(1, 1fr);
}}
.bf-quick-links{
    height:auto;
}
.bf-home-grid {
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:1.5rem;
}
@media(max-width:950px){
.bf-home-grid {
    grid-template-columns: repeat(2, 1fr);
}}
@media(max-width:768px){
.bf-home-grid {
    grid-template-columns: repeat(1, 1fr);
}}

.view_homepage_content.container .bf-homecontent_title h2{
    font-family: Inter;
font-weight: 800;
font-style: Extra Bold;
font-size: clamp(35px, 3vw, 44px);
line-height: 100%;
letter-spacing: 0%;
text-align: center;
margin:2rem;
color: #051628;
}

.bf-home-grid .views-row .bf-home-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}
.bf-home-card__image {
    aspect-ratio: 576 / 324;
    border-radius: 20px;
}

.bf-home-card__body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.bf-home-card__body {
    padding: 1.25rem 0;
}
.bf-home-card__body > div{
    margin-bottom: 24px;
}
h3.bf-home-card__title {
    font-family: Inter;
font-weight: 700;
font-style: Bold;
font-size: clamp(30px, 3vw , 40px);
line-height: 56px;
letter-spacing: 0%;
color: #051628;


}

.bf-home-card__body > div{
    font-family: Inter;
font-weight: 500;
font-style: Medium;
font-size: clamp(18px, 2vw, 22px);
line-height: 32px;
letter-spacing: 0%;
    
}

.bf-home-card__body .btn {
    margin-top: auto;
}
.path-home .bf-feature-banners > div{
display: flex;
    flex-direction: column;
}

.path-home .contact-us-common-block {
    order: 2;
}

.path-home .bf-content-section {
    order: 1;
}

.path-home .bf-feature-banners .bf-content-section.container {
    margin:0;
    background: #F6FAFF;
    max-width: 100%;
margin-top:2rem;
}
.bf-hero__overlay{
  background: none;
}
.bf-hero__content-box{
  border-radius:20px;
  background: #1C222CE5;

}
.bf-hero__content-box .bf-hero__title{
    text-transform:uppercase;
}
nav#block-betafence-main-menu ul li a{
    font-family: Manrope;
font-weight: 800;
font-style: ExtraBold;
font-size:  18px;
line-height: 28px;
letter-spacing: 0%;
text-transform: uppercase;

} 
.btn--contact-us {
    font-family: Inter;
font-weight: 700;
font-style: Bold;
font-size: 18px;
line-height: 30px;
letter-spacing: 0%;
text-transform: uppercase;
    border-radius:10px;

}

@media(max-width:1400px){
    nav#block-betafence-main-menu ul li a{
font-size:  15px;
padding:0.5rem;
    } 
    
}
@media(max-width:1200px){
    .bf-header__logos{
        width:25%;
    }
    .bf-header__search form input{
        display:none;
    }
    .btn--contact-us{
        font-size:12px;
        padding:.5rem .6rem;
    }
}
@media(max-width:1200px){
    .bf-header__logos{
        width:25%;
    }
    .bf-header__search form input{
        display:none;
    }
    .btn--contact-us{
        font-size:12px;
        padding:.5rem .6rem;
    }
}
@media (max-width: 991px) {
    .bf-header__logos {
        width: 40%;
    }
}
.bf-topbar__btn {
    font-family: Inter;
font-weight: 400;
font-style: Regular;
font-size: 16px;
line-height: 100%;
letter-spacing: 0%;
    color: #FFFFFF;
    border-right:1px,solid #FFFFFF;

}

.bf-topbar__auth {
  border-right: 1px solid #3B5066;
}
.bf-quick-link-card .btn{
    border:none;
    padding:0;
    text-decoration:underline;
    font-family: Inter;
font-weight: 700;
font-style: Bold;
font-size: 20px;
line-height: 30px;
letter-spacing: 0%;
text-transform: uppercase;

    /* background:inherit; */
}
.bf-quick-link-card .btn:hover{
    background:none;
    /* color: #051628; */

}

.bf-quick-link-card {
    text-align:start;
    align-items:start;
}
.bf-quick-link-card p{
    font-family: Inter;
font-weight: 500;
font-style: Medium;
font-size: clamp(15px, 3vw, 22px);
line-height: 32px;
letter-spacing: 0%;

}
.bf-quick-link-card h3{
font-family: Inter;
font-weight: 700;
font-style: Bold;
font-size: clamp(30px, 3vw, 40px);
line-height: 56px;
letter-spacing: 0%;
}
section.bf-feature-banner.contact-us-common-block .btn {
    font-family: Inter;
font-weight: 700;
font-style: Bold;
font-size: 18px;
line-height: 30px;
letter-spacing: 0%;
text-transform: uppercase;
color: #051628;

}
span.bf-footer__brand.bf-footer__brand--bf img{
    width:193px;
    height:38px;
}
.bf-footer__brand.bf-footer__brand--hesco img{
    width:123px;
    height:38px;
}
.bf-footer__brand.bf-footer__brand--praesidiad img{
    width:168px;
    height:38px;
}
.bf-footer__brand.bf-footer__brand--hescoarmor img{
    width:134px;
    height:29px;
}
.bf-footer__main{
  padding-bottom: 0;
}
.bf-feature-banner.trusted-experience-global-reach {
    /* object-fit:contain; */
    /* position: relative; */
    /* background-color: #051628; */
    /* background-repeat: no-repeat; */
    /* background-position: center; */
    /* background-size: contain; */
    /* max-width:1478px; */
    /* align-self:end; */
    min-height: 720px;
    max-height: 720px;
    height: 70vh;
    /* margin-left: auto; */
    
}
.feature_banner_container{
    background-color: #051628;
}

section.bf-feature-banner.trusted-experience-global-reach .bf-feature-banner__content{
    display:flex;
    gap:72px;
    align-content:end;
    align-items:end;
}
section.bf-feature-banner.trusted-experience-global-reach .bf-feature-banner__data{
    background: #3797AE;
    border-radius:20px;
    width:33%;
    padding: 46px 36px;
    margin-bottom:54px;
}
section.bf-feature-banner.trusted-experience-global-reach .bf-feature-banner__data h2{
font-family: Inter;
font-weight: 800;
font-style: Extra Bold;
font-size: 44px;
line-height: 56px;
letter-spacing: 0%;
text-transform: uppercase;

}
section.bf-feature-banner.trusted-experience-global-reach .bf-feature-banner__data p{
font-family: Inter;
font-weight: 400;
font-style: Regular;
font-size: 22px;
line-height: 34px;
letter-spacing: 0%;
}
section.bf-feature-banner.trusted-experience-global-reach .field-description-right .stats-wrapper{
    display:flex;
    background: #051628;

    
}
section.bf-feature-banner.trusted-experience-global-reach .stat-item{
    display:flex;
    flex-direction:column;
    align-items:center;
    /* max-width:118px; */
    /* max-height:169px; */
    padding:30px 60px;
    
}
.bf-feature-banner.trusted-experience-global-reach{
    align-items:end;
    
}

.bf-feature-banner.trusted-experience-global-reach .stat-item h3.stat-number {
    font-family: Inter;
font-weight: 700;
font-style: Bold;
font-size: 44px;
line-height: 100%;
letter-spacing: 0%;
text-align: center;
text-transform: capitalize;

}
.bf-feature-banner.trusted-experience-global-reach .stat-item .stat-text{
font-family: Inter;
font-weight: 500;
font-style: Medium;
font-size: 22px;
line-height: 32px;
letter-spacing: 0%;
text-align: center;
}

.bf-feature-banner.trusted-experience-global-reach .stats-wrapper {
    max-height: 229px;
    max-width: 1018px;
}
.bf-feature-banner.trusted-experience-global-reach .stat-item {
    position: relative;
}

.bf-feature-banner.trusted-experience-global-reach .stat-item::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10%;
    width: 1px;
    height: 80%;
    background-color: #273E57;
}

.bf-feature-banner.trusted-experience-global-reach .stat-item:last-child::after {
    display: none;
}
.bf-feature-banner.trusted-experience-global-reach .field-description-right {
    width: 60%;
}

@media (max-width: 1700px) {
section.bf-feature-banner.trusted-experience-global-reach .bf-feature-banner__content {
    justify-content: space-between;
    gap: 30px;
    /* align-items: center; */
}

section.bf-feature-banner.trusted-experience-global-reach .field-description-right .stats-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100% !important;
    max-width: 100%;
    height: 100%;
    /* max-height: 100%; */
}

.bf-feature-banner.trusted-experience-global-reach .field-description-right{
    width: 64%;
}

section.bf-feature-banner.trusted-experience-global-reach .bf-feature-banner__data {
    width: 36%;
}

.bf-feature-banner.trusted-experience-global-reach .stat-item h3.stat-number,
section.bf-feature-banner.trusted-experience-global-reach .bf-feature-banner__data h2 {
    font-size: 32px;
    line-height: unset;
}

.bf-feature-banner.trusted-experience-global-reach .stat-item .stat-text,
section.bf-feature-banner.trusted-experience-global-reach .bf-feature-banner__data p {
    font-size: 18px;
    line-height: unset;
    
}

section.bf-feature-banner.trusted-experience-global-reach .stat-item {
    padding: 20px;
}

.bf-feature-banner__content p {
    margin-bottom: 7px;
}
}

@media (max-width: 1024px) {
    section.bf-feature-banner.trusted-experience-global-reach .field-description-right .stats-wrapper {
        grid-template-columns: repeat(2, 1fr);
        max-height: 100%;
    }

    .bf-feature-banner.trusted-experience-global-reach .field-description-right{
        width: 50%;
    }

    section.bf-feature-banner.trusted-experience-global-reach .bf-feature-banner__data {
        width: 50%;
    }
}

@media (max-width: 768px) {

    section.bf-feature-banner.trusted-experience-global-reach .bf-feature-banner__content {
    justify-content: space-between;
    gap: 30px;
        flex-direction: column;
}
    
    section.bf-feature-banner.trusted-experience-global-reach .field-description-right .stats-wrapper {
        grid-template-columns: repeat(2, 1fr);
        max-height: 100%;
    }

    .bf-feature-banner.trusted-experience-global-reach .field-description-right{
        width: 100%;
    }

    section.bf-feature-banner.trusted-experience-global-reach .bf-feature-banner__data {
        width: 100%;
    }

    section.bf-feature-banner.trusted-experience-global-reach .bf-feature-banner__data {
        margin-bottom: 0;
    }





}
@media (max-width: 991px) {
    section.bf-feature-banner.trusted-experience-global-reach {
        height: 100%;
        max-height: 100%;
    }
}
.path-home h1.bf-hero__title {
    font-size: clamp(25px, 3vw, 44px);
    padding-bottom :20px;
    border-bottom: 0.25px solid #FFFFFF;
}

.bf-hero--listing p.bf-hero__subtitle {
    font-size: clamp(15px, 1.8vw, 22px)
}

p.bf-hero__subtitle {
    max-width:100%;
}
.view_homepage_content.container {
    margin-top:100px;
}
.trusted-experience-global-reach .bf-feature-banner__content.container {
    padding:3rem 0;
}
section.bf-feature-banner.trusted-experience-global-reach .bf-feature-banner__content {
    max-width:98.5%;
}
@media(max-width:1400px){
    .independent_logo {
        justify-content:center;
    }
}
@media (max-width: 991px) {
    .bf-footer__main {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}
@media (max-width: 767px) {
    .bf-footer__main {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
         /* justify-items: center; */
        /* justify-content: center; */
        /* text-align: center; */
    }
}

.bf-footer__social {
    justify-content:start;
}
.bf-footer__main_social.container{
    padding:25px 0;
}
@media(min-width:1500px){
.bf-footer__bottom > :first-child{
    width:57%;
}
.bf-footer__bottom > :not(:first-child){
    width:40%;
}
}
@media(max-width:1499px){
.bf-footer__brand-logos,.bf-footer__copyright{
    width:100%;
    justify-content:center;
}
    
}
@media (max-width: 767px) {
    .bf-footer__social {
    justify-content:center;
}
   .bf-footer__col:nth-child(3)  {
    grid-column: span 2;
}

div#block-betafence-footersocial {
    margin: 20px 0;
}

.bf-footer__col ul,
#block-betafence-footer > ul {
    gap: 12px
}

.bf-footer__main.container, .bf-footer__bottom.container {
    row-gap: 40px;
}

h2#block-betafence-footer-menu, h2#block-betafence-footer-resources-menu, h2#block-betafence-footer-legal-menu {
    padding-bottom: 20px;
}
}
.bf_block_independent_text p strong{
    font-family: Inter;
font-weight: 600;
font-style: Semi Bold;
font-size: clamp(18px,3vw,22px);
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}
.bf-quick-link-card p:last-child {
    flex:0;
}

.bf-hero__kicker {
    font-family: Inter;
font-weight: 400;
font-style: Regular;
font-size: clamp(18px, 3vw, 22px);
line-height: 32px;
letter-spacing: 0%;
color: #CFD8DD;


}
.bf-hero--listing h1.bf-hero__title {
    font-size: clamp(25px, 3vw, 44px);
    padding-bottom :20px;
    border-bottom: 0.25px solid #FFFFFF;
}
.bf-solution-card__body .bf-solution-card__desc{
 padding-bottom:24px;
}
.bf_block_independent_text {
    color:var(--color-dark);
}
.bf-solution-card__desc ul {
    list-style-type: disc;
    padding-left:30px;
}

.bf-solution-card__desc li {
    display: list-item;
}
.path-industries .bf-content-section__image-grid .bf-overlay-card h3{
    font-family: Inter;
font-weight: 700;
font-size: 32px;
line-height: 42px;
letter-spacing: 0%;
color: #FFFFFF;

}
.path-industries .bf-content-section__image-grid .bf-overlay-card p{
    font-family: Inter;
font-weight: 500;
font-style: Medium;
font-size: 22px;
line-height: 32px;
letter-spacing: 0%;
color: #FFFFFF;
}
.bf-topfeature .independent-block-content {
    max-width:1488px;
}
.bf-home-grid .views-row .bf-home-card{
  justify-content: center;
  align-content:center;
  align-items:center;
}
.bf-industry-card__body ul {
    list-style-type: disc;
    padding-left:30px;
}

.bf-industry-card__body li {
    display: list-item;
}
.bf-industry-card__body{
  color:var(--color-dark);
}
.path-industries .bf-content-section__text{
  color:var(--color-dark);
}


.bf-resource1-section .guarantees-section .container {
  max-width: 1440px;
  margin: 0 auto;
  padding:0 ;
  /* padding: 0 60px;/ */
}

.bf-resource1-section .section-header {
  margin-bottom: 48px;
}

.bf-resource1-section .section-header h2 {
  font-family: Inter;
  font-weight: 800;
  font-style: Extra Bold;
  font-size: 44px;
  leading-trim: NONE;
  line-height: 85px;
  letter-spacing: 0%;
  text-transform: capitalize;
  color: var(--color-dark);
}

.bf-resource1-section .section-header p {
  font-family: Inter;
font-weight: 500;
font-style: Medium;
font-size: 22px;
line-height: 32px;
letter-spacing: 0%;
  color: var(--color-dark);
}

.bf-resource1-section .guarantees-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.bf-resource1-section .guarantee-card {
  background: #fff;
  border: 1px solid #d8e2ef;
  border-radius: 24px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  background: #F9FCFF;

}

.bf-resource1-section .guarantee-card__icon {
  margin-bottom: 15px;
}

.bf-resource1-section .guarantee-card__icon img {
  width: 89px;
  height: auto;
  display: block;
}

.bf-resource1-section .guarantee-card h3 {
  margin: 0 0 16px;
  font-size: 32px;
  font-weight: 700;
  color: var(--color-dark);
}

.bf-resource1-section .guarantee-card p {
  margin: 0;
  font-size: 22px;
  line-height: 1.6;
  color: var(--color-dark);
}
.bf-resource1-section .bf-content-section__image img{
  max-height:538px;
  max-width:880px;
}

.bf-resource1-section .bf-content-section__grid.bf-content-section__grid--text-image {
  gap:32px;
}

section.bf-resource1-section.bf-content-section {
  max-width:var(--container-max);
  margin:auto;
  /* padding:var(--section-gap) 0; */
}

.path-resources .bf-topfeature {
  background: #F6FAFF;

}
@media(max-width:1371px) and (min-width:1280px)
{
    .bf-resource1-section .guarantees-grid{
    grid-template-columns:1fr ;
}
}
@media(max-width:767px)
{
     .bf-resource1-section .guarantees-grid{
    grid-template-columns:1fr ;
}
}
@media(max-width:1279px)
{
    .bf-resource1-section .bf-content-section__grid{
        grid-template-columns:1fr;
    }
}

section.bf-resource1-section .bf-content-section__grid.bf-content-section__grid--text-image .bf-content-section__image{
    display:flex;
    justify-content:center;
    align-items:center;
    height:100% !important;
}

section.bf-resource1-section .bf-content-section__image img{
  border-radius:20px;
}
.resource-page-bim-objects .bf-feature-banner__data {
        width: min(751px, 70.11vw);
        max-width: 751px;
        padding:36px;
        background: #1C222CE5;
        border-radius:20px;
}
.resource-page-bim-objects .bf-feature-banner__buttons a{
background: #FFFFFF;
        color: #051628;
        font-family: Inter;
font-weight: 700;
font-size: 18px;
line-height: 30px;
letter-spacing: 0%;
text-transform: uppercase;
        padding:14px


}
.resource-page-bim-objects .bf-feature-banner__buttons{
        display:flex;
        gap:20px;
}
.resource-page-bim-objects .bf-feature-banner__buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: normal; /* allow text wrapping */
    max-width: 100%;
}

.resource-page-bim-objects .bf-feature-banner__data p{
font-family: Inter;
font-weight: 500;
font-style: Medium;
font-size: 22px;
line-height: 32px;
letter-spacing: 0%;
}
.resource-page-bim-objects .bf-feature-banner__data h2{
        font-family: Inter;
font-weight: 800;
font-size: 44px;
line-height: 56px;
letter-spacing: 0%;
text-transform: uppercase;

}

@media(max-width:991px){
        section.bf-feature-banner.resource-page-bim-objects .bf-feature-banner__data{
                width:100%;
                margin:auto;
        }
}
.bf-blog-card__image {
    border-radius:20px;
}
.bf-blog-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  /* transition: transform var(--transition), box-shadow var(--transition); */
}

.bf-blog-card__body {
  background: #F9FCFF;

}

p.bf-blog-card__date {
  font-family: Inter;
font-weight: 500;
font-size: 20px;
line-height: 100%;
letter-spacing: 0%;

}


h3.bf-blog-card__title {
  font-family: Inter;
font-weight: 700;
font-size: 22px;
line-height: 32px;
letter-spacing: 0%;
}

.bf-blog-card__body >div{
  font-family: Inter;
font-weight: 400;
font-size: 22px;
line-height: 30px;
letter-spacing: 0%;
display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 20px;
}

.bf-blog-card__body a{
  margin-top:auto;
}
#block-betafence-blog-resources .bf-more {
    display:flex;
    margin:10px;
    justify-content:center;
}
#block-betafence-blog-resources .bf-more a{
    padding:12px 26px;
    font-family: Inter;
font-weight: 700;
font-size: 18px;
line-height: 30px;
letter-spacing: 0%;
text-transform: uppercase;
background: #051628;    
color:#ffffff;
border-radius:10px
}
.path-resources nav.pager {
    display:none;
}
#block-betafence-blog-resources .bf-more {
    margin:40px;    
}

/* industry detail page starts here  */
.bf-industry-solutions__header ,.node-type-industry .bf-content-section__heading{
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 1350px;
    margin-left: auto;
    margin-right: auto;
}
.node-type-industry .bf-industry-content-section__subtitle{
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid layout for product groups */
.bf-industry-solutions__grid-wrapper,
.bf-industry-solutions .container .bf-industry-solutions__content-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  flex-wrap: wrap;
}

/* Each card */
.bf-product-group {
  background: #F9FCFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 35px 25px;
  display: flex;
  flex-direction: column;
  /* gap: 12px; */
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

/* Card hover */
.bf-product-group:hover {
  background: var(--color-dark);
  border-color: var(--color-dark);
}

/* Card title */
.bf-industry-solutions__title {
  font-family: Inter;
font-weight: 700;
font-size: 32px;
line-height: 42px;
letter-spacing: 0%;
text-transform: capitalize;
  color: #051628;
  margin: 0 0 8px 0;
  transition: color 0.2s ease;
}

.bf-product-group:hover .bf-industry-solutions__title {
  color: #ffffff;
}

/* Each product link row */
.bf-industry-solutions_item {
  display: flex;
  align-items: center;
  /* width: 100%; */
  justify-content: space-between;
  /* border-top: 1px solid #e8e8e8; */
  padding-top: 30px;
  transition: border-color 0.2s ease;
}

.bf-product-group:hover .bf-industry-solutions_item {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.bf-product-group:hover .bf-industry-solutions_item::after {
  color: #ffffff;
}

/* Product link */
.bf-product-link {
  display:flex;
  font-family: Inter;
font-weight: 500;
font-size: 22px;;
line-height: 100%;
letter-spacing: 0%;
color: #051628;
text-decoration: none;
transition: color 0.2s ease;
}
.bf-product-link img{
  max-height:26px;
}

.bf-product-link:hover {
  text-decoration: underline;
}

.bf-product-group:hover .bf-product-link,.bf-product-group:hover .bf-product-link img {
  color: #ffffff;
}

/* Active/selected card (dark by default like in screenshot) */
.bf-product-group--active {
  background: #0d1b2a;
  border-color: #0d1b2a;
}

.bf-product-group--active .bf-industry-solutions__title,
.bf-product-group--active .bf-product-link,
.bf-product-group--active .bf-industry-solutions_item::after {
  color: #ffffff;
}

.bf-product-group--active .bf-industry-solutions_item {
  border-top-color: rgba(255, 255, 255, 0.15);
}
h2.bf-content-section__heading {
    font-family: Inter;
font-weight: 800;
font-size: 44px;
line-height: 100%;
text-align: center;
text-transform: capitalize;
color: #051628;


}
.bf-industry-content-section__subtitle,.bf-industry-solutions__subtitle{
  font-family: Inter;
font-weight: 500;
font-size: 22px;
line-height: 32px;
letter-spacing: 0%;
text-align: center;
color: #051628;


}
h2.bf-industry-solutions__maintitle {
  font-family: Inter;
font-weight: 800;
font-size: 44px;
line-height: 100%;
text-align: center;
text-transform: capitalize;
  margin-bottom:20px;
  color: #051628;


}
/* Responsive */
@media (max-width: 1024px) {
  .bf-industry-solutions .container .bf-industry-solutions__content-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .bf-industry-solutions .container .bf-industry-solutions__content-grid {
    grid-template-columns: 1fr;
  }
}
.bf-industry-content-section__grid{
    padding :40px;
    background: #F4F5F7;
    border-radius:20px;

}
.node-type-industry .bf-content-section__grid--text-image{
    grid-template-columns:1fr 1.5fr;
}
.bf-industry-detailpage .service-solutions__title{
    font-family: Inter;
font-weight: 700;
font-size: 44px;
line-height: 54px;
letter-spacing: 0%;
text-transform: capitalize;
color:var(--color-dark);
}

.node-type-industry .bf-industry-detailpage .bf-content-section__text p{
    font-family: Inter;
    font-weight: 500;
    font-size: 22px;
    line-height: 32px;
    letter-spacing: 0%;
    color:var(--color-dark);
}


.bf-industry-detailpage .service-solutions__eyebrow{
    margin-bottom:15px;
    font-family: Inter;
font-weight: 800;
font-style: Extra Bold;
font-size: 22px;
line-height: 100%;
letter-spacing: 0%;
text-transform: uppercase;
    color:var(--color-dark);
}

.bf-industry-detailpage .service-solutions__item{
    display:flex;
    align-items:center;
    gap:20px;
    margin-top:15px;
    font-family: Inter;
font-weight: 600;
font-size: 22px;
line-height: 100%;
letter-spacing: 0%;
color:var(--color-dark);
}
.bf-content-section__text a{
    margin-top:40px;
    font-family: Inter;
font-weight: 700;
font-size: 18px;
line-height: 30px;
letter-spacing: 0%;
text-transform: uppercase;
    color:#ffffff;
padding:12px 22px;
    background:var(--color-dark);
}
.bf-content-section__text a img{
    filter: brightness(0) invert(1);
}
section.bf-default-section.bf-content-section.bf-industry-detailpage.container {
    background:none;
}
.bf-industry-detailpage .bf-content-section__grid.bf-content-section__grid--text-image .bf-content-section__image img{
    max-width:1000px;
    max-height:700px;
}
section.bf-default-section.bf-content-section.bf-industry-detailpage.container {
    /* margin-top:50px; */
    max-width: var(--container-max);
}
.node-type-industry .bf-content-section{
  margin-top:50px;
}
.bf-product-group:hover .bf-industry-solutions_item img{
    filter: brightness(0) invert(1);
}
.bf-hero--industry .bf-hero__title {
    font-family: Inter;
    font-weight: 800;
    font-size: 44px;
    line-height: 56px;
    letter-spacing: 0%;
    text-transform: uppercase;
    padding-bottom:20px;
    border-bottom: 0.25px solid #FFFFFF;
}

.bf-hero--industry span.bf-hero__label ,.bf-hero--industry .bf-hero__content-box > div {
    text-transform:none;
    font-family: Inter;
font-weight: 400;
font-style: Regular;
font-size: 22px;
line-height: 32px;
}
.node-type-industry .bf-content-section__text a:hover {
    color:var(--color-dark);
    
}
.node-type-industry .bf-content-section__text a:hover  img{
filter: brightness(100) invert();
}

/* header css  */
/* Parent menu item */
.bf-nav ul li {
    position: relative;
}

/* Hide submenu by default */
.bf-nav ul li > ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: #fff;
    z-index: 1000;
    padding: 0;
    margin: 0;
    list-style: none;
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

/* Show submenu on hover */
.bf-nav ul li:hover > ul {
    display: block;
}

/* Submenu links */
.bf-nav ul li > ul li {
    display: block;
    width: 100%;
}

.bf-nav ul li > ul li a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    white-space: normal;
}

.bf-nav ul li > ul li a:hover {
    background: #f5f5f5;
}

.menu-dropdown-icon {
    /* width: 12px; */
    /* height: 12px; */
    display: inline-block;
    vertical-align: middle;
}
article.bf-blog-card >a{
    display:flex;
    /* align-items:center; */
    
    /* padding:30px; */
    justify-content:center;
}
@media(max-width:500px){
    .resource-page-bim-objects .bf-feature-banner__data{
        padding:15px;
    }
    .resource-page-bim-objects .bf-feature-banner__buttons {
        gap:5px;
    }

}
a.btn:hover ,
section.bf-feature-banner.contact-us-common-block .bf-feature-banner__data .btn:hover,
#block-betafence-blog-resources .bf-more a:hover,
.bf-home-card__title a:hover,
.bf-solution-card__title a:hover,
.bf-industry-card__title a:hover{
    color:var(--color-betafence-red);
}
.bf-footer__main.container a:hover,#block-betafence-footer > ul li a:hover,.bf-hero__label a:hover,.bf-hero__kicker a:hover,.bf-feature-banner__kicker a:hover{
    color:var(--color-betafence-red);
}
#block-betafence-blog-resources .bf-more a:after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 8px;
    background-image: url('/themes/custom/betafence/images/logos/Frame.png');
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
        filter: brightness(0) invert(1);
}





/* p */

/* h2 */














/* media query for the responsive fonts */
@media (max-width: 1580px) {
  .bf-hero--listing h1.bf-hero__title{
  font-size: 40px;
}
  /* H2 = 38px */
  
  section.bf-feature-banner.contact-us-common-block .bf-feature-banner__data h2,
  .independent-block-content h2,
  .view_homepage_content.container .bf-homecontent_title h2,
  .bf-quick-links__grid1.container >h2,
  .path-industries .bf-content-section__text h2,
  .bf-resource1-section .section-header h2,
  .resource-page-bim-objects .bf-feature-banner__data h2,
.path-industries section.bf-listing-section .bf-section-title,
.bf-industry-detailpage .service-solutions__title,
h2.bf-content-section__heading,
h2.bf-industry-solutions__maintitle,
.bf-hero--industry .bf-hero__title,
  h2.bf-section-title{
    font-size: 38px;
    line-height: 1.3;
  }
  .bf-hero--listing p.bf-hero__subtitle,
.bf-quick-links__grid1.container .subtitle,
p.bf-section-subtitle{
  font-size: 20px;
}
  /* H3 = 28px */
  h3.bf-solution-card__title,
  h3.bf-industry-card__title,
  section.bf-feature-banner.contact-us-common-block .bf-feature-banner__data h3,
  .independent-block-content h3,
  .bf-quick-link-card h3,
  .path-industries .bf-content-section__image-grid .bf-overlay-card h3,
  .bf-resource1-section .guarantee-card h3,
  .bf-industry-solutions__title,
  h3.bf-home-card__title {
    font-size: 28px;
    line-height: 1.4;
  }

  /* P = 18px */
  
  .bf-section-subtitle,
  .bf-solution-card__desc,
  section.bf-feature-banner.contact-us-common-block .bf-feature-banner__data p,
  .independent-block-content p,
  .resource-page-bim-objects .bf-feature-banner__data p,
  .bf-quick-link-card p,
  .path-industries .bf-content-section__text p,
  .bf-solution-card__body div,
  h3.bf-blog-card__title , 
  .bf-blog-card__body >div,
  .bf-blog-card__body >a,
  .bf-product-link,
  .bf-content-section__text a,
  .node-type-industry .bf-industry-detailpage .bf-content-section__text p,
.bf-industry-detailpage .service-solutions__eyebrow,
.bf-industry-detailpage .service-solutions__item,
  .bf-industry-content-section__subtitle,
  .bf-industry-solutions__subtitle,
  .bf-resource1-section .section-header p,
  .bf-resource1-section .guarantee-card p,
  .path-industries .bf-content-section__image-grid .bf-overlay-card p,
  .bf-hero--industry span.bf-hero__label ,.bf-hero--industry .bf-hero__content-box > div,
  .view_homepage_content.container .bf-home-card__body > div {
    font-size: 18px;
    line-height: 1.7;
  }
  .resource-page-bim-objects .bf-feature-banner__buttons a{
    font-size: 16px;
  }

  /* Button = 18px */
  .bf-quick-link-card .btn {
    font-size: 18px;
  }
}
@media (max-width: 1279px) {
  .bf-hero--listing h1.bf-hero__title{
  font-size: 38px;
}
  
  h2.bf-section-title,
  section.bf-feature-banner.contact-us-common-block .bf-feature-banner__data h2,
  .independent-block-content h2,
  .view_homepage_content.container .bf-homecontent_title h2,
  .bf-quick-links__grid1.container >h2,
  .path-industries .bf-content-section__text h2,
  .bf-resource1-section .section-header h2,
  h2.bf-content-section__heading,
h2.bf-industry-solutions__maintitle,
.bf-hero--industry .bf-hero__title,
.bf-industry-detailpage .service-solutions__title,
  .resource-page-bim-objects .bf-feature-banner__data h2,
.path-industries section.bf-listing-section .bf-section-title,
  h2.bf-section-title{
    font-size: 38px;
  }
  /* subtitle */
  .bf-hero--listing p.bf-hero__subtitle,
.bf-quick-links__grid1.container .subtitle,
p.bf-section-subtitle{
  font-size: 18px;
}
  
  h3.bf-solution-card__title,
  h3.bf-industry-card__title,
  .independent-block-content h3,
  .bf-quick-link-card h3,
  .path-industries .bf-content-section__image-grid .bf-overlay-card h3,
  .bf-resource1-section .guarantee-card h3,
  .bf-industry-solutions__title,
  h3.bf-home-card__title {
    font-size: 24px;
  }

  .bf-hero--listing p.bf-hero__subtitle,
  .bf-section-subtitle,
  .bf-solution-card__desc,
  .bf-solution-card__body div,
  section.bf-feature-banner.contact-us-common-block .bf-feature-banner__data p,
  .independent-block-content p,
  .path-industries .bf-content-section__text p,
  .bf-quick-link-card p,
  .bf-product-link,
  .bf-content-section__text a,
  .node-type-industry .bf-industry-detailpage .bf-content-section__text p,
.bf-industry-detailpage .service-solutions__eyebrow,
.bf-industry-detailpage .service-solutions__item,
  .bf-industry-content-section__subtitle,
  .bf-industry-solutions__subtitle,
  .resource-page-bim-objects .bf-feature-banner__data p,
  .bf-resource1-section .section-header p,
  .bf-resource1-section .guarantee-card p,
  h3.bf-blog-card__title ,
  .bf-blog-card__body >div,
  .bf-blog-card__body > a,
  .path-industries .bf-content-section__image-grid .bf-overlay-card p,
  .bf-hero--industry span.bf-hero__label ,.bf-hero--industry .bf-hero__content-box > div,
  .view_homepage_content.container .bf-home-card__body > div {
    font-size: 18px;
  }
  .resource-page-bim-objects .bf-feature-banner__buttons a{
    font-size: 15px;
  }

  .bf-quick-link-card .btn {
    font-size: 18px;
  }
}

@media (max-width: 1024px) {

   .bf-hero--listing h1.bf-hero__title{
  font-size: 35px;
}
  
  h2.bf-section-title,
  section.bf-feature-banner.contact-us-common-block .bf-feature-banner__data h2,
  .independent-block-content h2,
  .view_homepage_content.container .bf-homecontent_title h2,
  .bf-quick-links__grid1.container >h2,
  .path-industries .bf-content-section__text h2,
  .bf-resource1-section .section-header h2,
  .resource-page-bim-objects .bf-feature-banner__data h2,
  .bf-industry-detailpage .service-solutions__title,
  h2.bf-content-section__heading,
h2.bf-industry-solutions__maintitle,
.bf-hero--industry .bf-hero__title,
.path-industries section.bf-listing-section .bf-section-title,
  h2.bf-section-title{
    font-size: 32px;
  }

  h3.bf-solution-card__title,
  h3.bf-industry-card__title,
  .independent-block-content h3,
  .bf-quick-link-card h3,
  .path-industries .bf-content-section__image-grid .bf-overlay-card h3,
  .bf-resource1-section .guarantee-card h3,
  .bf-industry-solutions__title,
  h3.bf-home-card__title {
    font-size: 22px;
  }

  /* subtitle */
  .bf-hero--listing p.bf-hero__subtitle,
.bf-quick-links__grid1.container .subtitle,
p.bf-section-subtitle{
  font-size: 17px;
}

  .bf-hero--listing p.bf-hero__subtitle,
  .bf-section-subtitle,
  .bf-solution-card__desc,
  .bf-solution-card__body div,
  section.bf-feature-banner.contact-us-common-block .bf-feature-banner__data p,
  .independent-block-content p,
  .path-industries .bf-content-section__text p,
  .bf-quick-link-card p,
  .bf-resource1-section .section-header p,
  .resource-page-bim-objects .bf-feature-banner__data p,
  .bf-resource1-section .guarantee-card p,
  h3.bf-blog-card__title ,
  .bf-blog-card__body >div,
  .bf-blog-card__body > a,
  .bf-product-link,
  .bf-content-section__text a,
  .node-type-industry .bf-industry-detailpage .bf-content-section__text p,
.bf-industry-detailpage .service-solutions__eyebrow,
.bf-industry-detailpage .service-solutions__item,
  .bf-industry-content-section__subtitle,
  .bf-industry-solutions__subtitle,
  .path-industries .bf-content-section__image-grid .bf-overlay-card p,
  .bf-hero--industry span.bf-hero__label ,.bf-hero--industry .bf-hero__content-box > div,
  .view_homepage_content.container .bf-home-card__body > div {
    font-size: 17px;
  }
.resource-page-bim-objects .bf-feature-banner__buttons a{
    font-size: 15px;
  }
  .bf-quick-link-card .btn {
    font-size: 17px;
  }
}

@media (max-width: 767px) {
  .path-industries .bf-overlay-card{
    margin:0.5rem;
  }
   .bf-hero--listing h1.bf-hero__title{
  font-size: 33px;
}
  
  .bf-section-title,
  section.bf-feature-banner.contact-us-common-block .bf-feature-banner__data h2,
  .independent-block-content h2,
  .view_homepage_content.container .bf-homecontent_title h2 ,
  .bf-quick-links__grid1.container >h2,
  .path-industries .bf-content-section__text h2,
  .bf-resource1-section .section-header h2,
  .bf-industry-detailpage .service-solutions__title,
  .resource-page-bim-objects .bf-feature-banner__data h2,
.path-industries section.bf-listing-section .bf-section-title,
h2.bf-content-section__heading,
h2.bf-industry-solutions__maintitle,
.bf-hero--industry .bf-hero__title,
  h2.bf-section-title{
    font-size: 28px;
  }
   h3.bf-solution-card__title,
   h3.bf-industry-card__title,
  .bf-hero--listing h1.bf-hero__title,
  .bf-solution-card__title,
  .independent-block-content h3,
  .bf-quick-link-card h3,
  .bf-resource1-section .guarantee-card h3,
  .path-industries .bf-content-section__image-grid .bf-overlay-card h3,
  .bf-industry-solutions__title,
  h3.bf-home-card__title {
    font-size: 20px;
  }

  .bf-hero--listing p.bf-hero__subtitle,
  .bf-section-subtitle,
  .bf-solution-card__desc,
  .bf-solution-card__body div,
  section.bf-feature-banner.contact-us-common-block .bf-feature-banner__data p,
  .independent-block-content p,
  .path-industries .bf-content-section__text p,
  .bf-quick-link-card p,
  h3.bf-blog-card__title ,
  .bf-blog-card__body >div,
  .node-type-industry .bf-industry-detailpage .bf-content-section__text p,
.bf-industry-detailpage .service-solutions__eyebrow,
.bf-industry-detailpage .service-solutions__item,
.bf-content-section__text a,
  .bf-blog-card__body > a,
  .bf-resource1-section .section-header p,
  .bf-resource1-section .guarantee-card p,
  .bf-product-link,
  .bf-industry-content-section__subtitle,
  .bf-industry-solutions__subtitle,
  .resource-page-bim-objects .bf-feature-banner__data p,
  .path-industries .bf-content-section__image-grid .bf-overlay-card p,
  .bf-hero--industry span.bf-hero__label ,.bf-hero--industry .bf-hero__content-box > div,
  .view_homepage_content.container .bf-home-card__body > div {
    font-size: 16px;
  }

  .bf-quick-link-card .btn {
    font-size: 16px;
  }
}
@media (max-width: 500px) {

    .path-industries .bf-content-section__image-grid .bf-overlay-card h3{
        font-size:18px;
    }
    .path-industries .bf-content-section__image-grid .bf-overlay-card p{
        font-size:14px;
    }
    .path-industries .bf-overlay-card{
        padding:0.5rem;
    }
}