/* RS Form Field Widths */
.form-control {
  max-width: 100%;
}

.navbar-brand.logo-control img.logo-img {
  display: none;
  max-height: 70px;
}

.t4-palette-blue {
  background-color: #6e5749;
}

/* =========================
   BLACK & BROWN BUSINESS HOME PAGE HERO
========================= */

.bbb-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 78vh;
  padding: 90px 20px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(18, 18, 18, 0.82) 0%, rgba(55, 28, 11, 0.72) 45%, rgba(0, 0, 0, 0.72) 100%),
    url("/images/hero/black-brown-business-owners-hero.jpg") center center / cover no-repeat;
}

.bbb-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(210, 140, 56, 0.18), transparent 35%),
    radial-gradient(circle at bottom left, rgba(125, 74, 36, 0.24), transparent 40%);
  pointer-events: none;
}

.bbb-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.bbb-hero-content {
  max-width: 760px;
  color: #ffffff;
}

.bbb-hero-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #f0d7be;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.bbb-hero-title {
  margin: 0 0 22px;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.bbb-hero-subtitle {
  margin: 0 0 32px;
  max-width: 640px;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.65;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.bbb-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.bbb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none !important;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  transition: all 0.28s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.bbb-btn:hover,
.bbb-btn:focus {
  transform: translateY(-2px);
  text-decoration: none !important;
}

.bbb-btn-primary {
  background: linear-gradient(135deg, #d1913c 0%, #b86d1f 100%);
  border-color: #d1913c;
  color: #ffffff !important;
}

.bbb-btn-primary:hover,
.bbb-btn-primary:focus {
  background: linear-gradient(135deg, #e0a252 0%, #c67623 100%);
  box-shadow: 0 14px 28px rgba(0,0,0,0.24);
  color: #ffffff !important;
}

.bbb-btn-secondary {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.42);
  color: #ffffff !important;
  backdrop-filter: blur(6px);
}

.bbb-btn-secondary:hover,
.bbb-btn-secondary:focus {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.7);
  box-shadow: 0 14px 28px rgba(0,0,0,0.24);
  color: #ffffff !important;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px) {
  .bbb-hero {
    min-height: auto;
    padding: 80px 20px;
    background-position: center center;
  }

  .bbb-hero-content {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .bbb-hero {
    padding: 70px 18px;
  }

  .bbb-hero-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.13em;
  }

  .bbb-hero-subtitle {
    margin-bottom: 26px;
  }

  .bbb-hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .bbb-btn {
    width: 100%;
  }
}

/* Home Grid for Main Categories */
.bbb-category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  width: 100%;
  margin: 0 auto;
}

.bbb-category-card {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  text-decoration: none;
}

.bbb-category-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.bbb-category-card:hover img {
  transform: scale(1.04);
  filter: brightness(1.05);
}

/* 3 across on tablets */
@media (max-width: 1200px) {
  .bbb-category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 2 across on smaller screens */
@media (max-width: 766px) {
  .bbb-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bbb-category-card img {
    height: 190px;
  }
}

/* 1 across on phones */
@media (max-width: 460px) {
  .bbb-category-grid {
    grid-template-columns: 1fr;
  }

  .bbb-category-card img {
    min-height: 280px;
  }
}