/* Scoped Boonyium reference layout: Bootstrap 5 compatible */
.by-site {
  font-family: Kanit, Arial, sans-serif;
  color: #26354c;
  font-size: 15px;
}
.by-site h1,
.by-site h2,
.by-site h3 {
  font-weight: 650;
  color: #072d89;
}
.by-site h2 {
  font-size: clamp(23px, 2.3vw, 33px);
  margin: 4px 0 8px;
}
.by-site p {
  line-height: 1.65;
}
.by-header {
  box-shadow: 0 2px 12px #0c2c6820;
}
.by-topbar {
  background: #092a7b;
  color: #fff;
  padding: 4px 0;
  font-size: 11px;
}
.by-topbar a {
  color: white;
  text-decoration: none;
}
.by-navbar {
  background: white;
  padding: 10px 0;
}
.by-logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: #00358f !important;
  line-height: 1;
}
.by-logo strong {
  font-size: 20px;
  letter-spacing: 0.1px;
}
.by-logo small {
  display: block;
  font-size: 7px;
  letter-spacing: 1px;
  margin-top: 4px;
}
.by-brandmark {
  font-size: 31px;
  color: #e51422;
  line-height: 1;
}
.by-navbar .nav-link {
  font-size: 13px;
  font-weight: 600;
  padding: 14px 9px !important;
  color: #172944;
}
.by-navbar .nav-link:hover,
.by-navbar .nav-link.active {
  color: #003aa9;
  border-bottom: 2px solid #0048c3;
}
.by-search {
  color: #0044ae;
}
.by-btn-red {
  background: #df1020 !important;
  border: 1px solid #df1020 !important;
  color: #fff !important;
  font-weight: 600;
  padding: 10px 19px;
  border-radius: 4px;
}
.by-btn-red:hover {
  background: #ae0815 !important;
}
.by-btn-outline {
  border: 1.5px solid #164bb4;
  background: white;
  color: #003b9a;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 4px;
}
.by-btn-outline:hover {
  background: #174cb4;
  color: white;
}
.by-hero {
  background-image: url("../../images/home/by-hero.webp");
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.by-hero-copy {
  position: relative;
  z-index: 2;
  padding: 70px 0;
}
.by-kicker {
  color: #0640a2;
  border: 1px solid #a5c0f5;
  border-radius: 16px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 600;
  background: #fff;
}
.by-hero h1 {
  font-size: clamp(29px, 3.15vw, 45px);
  line-height: 1.27;
  margin: 16px 0 13px;
}
.by-hero p {
  font-size: 16px;
  max-width: 610px;
}
.by-hero-photo {
  height: 430px;
  position: relative;
}
.by-hero-photo img {
  width: 115%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.by-home-search {
  border: 1px solid #ccdaed;
  align-items: center;
  background: white;
  border-radius: 5px;
  overflow: hidden;
  max-width: 630px;
  padding-left: 13px;
  box-shadow: 0 3px 14px #07318112;
}
.by-home-search > i {
  color: #214ca8;
}
.by-home-search input {
  border: 0;
  outline: 0;
  min-width: 0;
  flex: 1;
  padding: 14px 11px;
  font-size: 13px;
}
.by-home-search button {
  border-radius: 0;
  padding: 14px 19px;
  flex-shrink: 0;
}
.by-logo-strip {
  background: #fff;
  padding: 13px 0;
}
.by-logo-ticker {
  display: flex;
  gap: 22px;
  align-items: center;
  overflow: auto;
  scrollbar-width: none;
}
.by-logo-ticker a {
  font-weight: 800;
  color: #063891;
  white-space: nowrap;
  font-size: 13px;
  text-decoration: none;
}
.by-logo-ticker a:nth-child(3n) {
  color: #e01623;
}
.by-logo-ticker a:nth-child(4n) {
  color: #262626;
}
.by-section {
  padding: 47px 0;
}
.by-soft {
  background: linear-gradient(112deg, #edf6fc, #f8fbff);
}
.by-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 15px;
  margin-bottom: 18px;
}
.by-heading-row small,
.by-overline {
  font-size: 11px;
  font-weight: 700;
  color: #2458b9;
  letter-spacing: 0.5px;
}
.by-heading-row p {
  margin-bottom: 0;
}
.by-all {
  font-size: 13px;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  color: #00389d;
}
.by-brand-tile {
  height: 114px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 19px;
  background: white;
  border: 1px solid #dbe7f4;
  border-radius: 5px;
  text-decoration: none;
  padding: 10px;
  color: #12388d;
  text-align: center;
  transition: 0.2s;
}
.by-brand-tile strong {
  font-size: clamp(12px, 1vw, 16px);
  font-weight: 750;
  text-transform: uppercase;
  line-height: 1.2;
}
.by-brand-tile span {
  font-size: 10px;
  color: #2457b0;
}
.by-brand-tile:hover,
.by-product-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 25px #093b8e22;
}
.by-stats {
  padding: 22px 0;
  background: white;
}
.by-stat {
  display: flex;
  align-items: center;
  gap: 15px;
}
.by-stat > i {
  color: #1647b3;
  font-size: 36px;
}
.by-stat b {
  font-size: 21px;
  color: #06358c;
  display: block;
  line-height: 1.15;
}
.by-stat span {
  font-size: 12px;
  display: block;
}
.by-product-tile {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid #e0eaf5;
  border-radius: 5px;
  overflow: hidden;
  text-decoration: none;
  color: #193d83;
  transition: 0.2s;
}
.by-product-image {
  background: #f5f8fc;
  height: 125px;
  overflow: hidden;
}
.by-product-image .product-img {
  min-height: 125px;
  padding: 0;
  border: 0;
  border-radius: 0;
}
.by-product-image .by-product-photo {
  height: 125px;
  object-fit: contain;
}
.by-product-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.by-product-info strong {
  line-height: 1.3;
  font-size: 14px;
}
.by-product-info small {
  font-size: 11px;
  color: #607ba6;
}
.by-product-info span {
  font-size: 12px;
  margin-top: auto;
  color: #0e47b5;
  font-weight: 600;
  padding-top: 7px;
}
.by-industry-tile {
  background: #fff;
  border: 1px solid #e1ebf7;
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: center;
  padding: 16px 8px;
  color: #00369b;
  text-decoration: none;
  border-radius: 5px;
  text-align: center;
  height: 100%;
}
.by-industry-tile i {
  font-size: 25px;
}
.by-industry-tile strong {
  font-size: 12px;
}
.by-wide-photo {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 6px;
}
.by-service-tag {
  padding: 12px 9px;
  background: #fff;
  border: 1px solid #dce8f7;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #154092;
}
.by-service-tag i {
  font-size: 18px;
  margin-right: 7px;
}
.by-story {
  display: block;
  background: white;
  border: 1px solid #dce7f4;
  border-radius: 5px;
  overflow: hidden;
  text-decoration: none;
  height: 100%;
  color: #103a88;
}
.by-story-art {
  height: 140px;
  background: linear-gradient(120deg, #cfe6fb, #6d9bd1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.by-story-art i {
  font-size: 61px;
  color: #fff;
}
.by-story h3 {
  font-size: 16px;
}
.by-story span {
  font-size: 12px;
}
.by-spares-panel {
  min-height: 250px;
  border-radius: 7px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  gap: 12px;
}
.by-spares-panel i {
  font-size: 77px;
}
.by-spares-panel strong {
  font-size: 24px;
}
.by-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 16px;
  font-size: 12px;
}
.by-checks i {
  color: #e32224;
}
.by-bottom-cta {
  background: #00368e;
  color: white;
  padding: 17px 0;
}
.by-bottom-cta strong,
.by-bottom-cta small {
  display: block;
}
.by-bottom-cta small {
  font-size: 12px;
}
.by-support {
  border-radius: 50%;
  background: #176cf0;
  padding: 9px 14px;
  font-size: 26px;
}
.by-footer {
  background: #041d4f;
  color: #d7e6ff;
}
.by-footer strong {
  color: #fff;
}
.by-footer a {
  display: block;
  font-size: 12px;
  color: #d5e1f7;
  text-decoration: none;
  margin-top: 8px;
}
.by-logo-white {
  color: white !important;
}
.by-copyright {
  border-top: 1px solid #ffffff25;
  font-size: 11px;
  color: #8fa9cb;
  padding: 14px 0;
}
.by-footer .by-brandmark {
  color: #fff;
}
@media (max-width: 991px) {
  .by-hero-copy {
    padding: 46px 0 18px;
  }
  .by-hero-photo {
    height: 290px;
  }
  .by-hero-photo img {
    width: 100%;
  }
  .by-hero-photo:before {
    display: none;
  }
  .by-navbar .nav-link {
    padding: 7px 0 !important;
  }
  .by-heading-row {
    align-items: start;
  }
  .by-logo-strip .small {
    display: none;
  }
}
@media (max-width: 575px) {
  .by-hero h1 {
    font-size: 29px;
  }
  .by-hero-copy {
    padding: 30px 0 14px;
  }
  .by-hero-photo {
    height: 230px;
  }
  .by-heading-row {
    display: block;
  }
  .by-heading-row .by-all {
    display: inline-block;
    margin-top: 10px;
  }
  .by-section {
    padding: 32px 0;
  }
  .by-home-search input {
    font-size: 12px;
  }
  .by-home-search button {
    font-size: 12px;
    padding: 13px 9px;
  }
  .by-brand-tile {
    height: 95px;
  }
  .by-stat > i {
    font-size: 28px;
  }
  .by-stat b {
    font-size: 16px;
  }
  .by-stat span {
    font-size: 10px;
  }
}
