/* === BidHawk Header === */
#bh-header {
  position: relative;
  top: 0;
  z-index: 1000;
  background: #117119;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
#bh-header-slot {
  position: sticky;
  top: 0;
  z-index: 1000;
}
#bh-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
}

/* LEFT: nav links */
#bh-nav-left {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-self: start;
}
#bh-nav-left a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  font-family: 'Roboto', Arial, sans-serif;
  opacity: 0.9;
  transition: opacity 0.2s;
  white-space: nowrap;
}
#bh-nav-left a:hover { opacity: 1; }

/* CENTER: logo */
#bh-logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff !important;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  justify-self: center;
  white-space: nowrap;
}
#bh-logo-link span { color: #fff; }
#bh-logo-link img { height: 40px; width: auto; }

/* RIGHT: social + CTA */
#bh-nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: end;
}
#bh-nav-right .bh-social-icon {
  display: flex;
  align-items: center;
  opacity: 0.85;
  transition: opacity 0.2s;
}
#bh-nav-right .bh-social-icon:hover { opacity: 1; }
#bh-nav-right svg { width: 26px; height: 26px; }

#bh-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: #ecd154;
  color: #000 !important;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Roboto', Arial, sans-serif;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}
#bh-nav-cta:hover { background: #61e463; color: #000 !important; }

/* Hamburger */
#bh-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
#bh-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile menu */
#bh-mobile-menu {
  display: none;
  flex-direction: column;
  background: #117119;
  padding: 12px 24px 16px;
  gap: 4px;
}
#bh-mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
#bh-mobile-menu a:last-child { border-bottom: none; }
#bh-mobile-menu.open { display: flex; }

/* Responsive */
@media screen and (max-width: 860px) {
  #bh-burger { display: flex; }
  #bh-nav-left > a { display: none; }
  #bh-nav-right .bh-social-icon { display: none; }
  #bh-nav { grid-template-columns: auto 1fr auto; height: 56px; }
  #bh-logo-link { font-size: 18px; }
  #bh-logo-link img { height: 32px; }
}
@media screen and (max-width: 480px) {
  #bh-nav-cta { padding: 6px 14px; font-size: 12px; }
  #bh-logo-link { font-size: 16px; gap: 6px; }
  #bh-logo-link img { height: 28px; }
}

/* === BidHawk Footer === */
#bh-footer {
  background: #fafafa;
  border-top: 1px solid #e5e5e5;
  padding: 48px 24px 32px;
  font-family: 'Roboto', Arial, sans-serif;
}
.bh-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.bh-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bh-footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #333;
  font-size: 20px;
  font-weight: 700;
}
.bh-footer__brand-logo img { height: 34px; width: auto; }
.bh-footer__brand-text {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  max-width: 320px;
}
.bh-footer__social {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
.bh-footer__social a {
  display: flex;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.bh-footer__social a:hover { opacity: 1; }
.bh-footer__social svg { width: 24px; height: 24px; }
.bh-footer__col h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #333;
  margin: 0 0 16px;
}
.bh-footer__col a {
  display: block;
  color: #555;
  text-decoration: none;
  font-size: 14px;
  padding: 4px 0;
  transition: color 0.2s;
}
.bh-footer__col a:hover { color: #117119; }
.bh-footer__copyright {
  margin-top: 16px;
  font-size: 12px;
  color: #999;
}
@media screen and (max-width: 768px) {
  .bh-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .bh-footer__brand { grid-column: 1 / -1; }
}
@media screen and (max-width: 480px) {
  .bh-footer__inner { grid-template-columns: 1fr; }
}


/* === T1107 How-It-Works: 2x2 grid on mobile ===
   Layout: [Step1] → [Step2]
           [Step3] → [Step4]
   Uses CSS grid with 3 columns: step | arrow | step */

@media screen and (max-width: 960px) {
  #rec1214678976 .t-container:last-of-type {
    display: grid !important;
    grid-template-columns: 1fr 50px 1fr;
    grid-template-rows: auto auto;
    align-items: start;
    justify-items: center;
    row-gap: 20px;
    max-width: 640px;
    margin: 0 auto;
  }

  #rec1214678976 .t1107__col.t-col.t-col_3 {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 10px 8px !important;
    box-sizing: border-box;
  }

  /* Hide all arrows inside columns */
  #rec1214678976 .t1107__col .t1107__arrow { display: none !important; }

  /* Place steps in grid cells */
  #rec1214678976 .t1107__col.t-col.t-col_3:nth-child(1) { grid-row: 1; grid-column: 1; }
  #rec1214678976 .t1107__col.t-col.t-col_3:nth-child(2) { grid-row: 1; grid-column: 3; }
  #rec1214678976 .t1107__col.t-col.t-col_3:nth-child(3) { grid-row: 2; grid-column: 1; }
  #rec1214678976 .t1107__col.t-col.t-col_3:nth-child(4) { grid-row: 2; grid-column: 3; }

  /* Arrows via pseudo-elements in the center column */
  #rec1214678976 .t-container:last-of-type::before,
  #rec1214678976 .t-container:last-of-type::after {
    content: "";
    display: flex;
    align-self: center;
    width: 50px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 18.7' fill='none' stroke='%23000'%3E%3Cpath d='M4.2 9.4h32.1'/%3E%3Cpath d='M31.3 13.4l5-4-5-4'/%3E%3C/svg%3E") no-repeat center center;
    background-size: 40px auto;
    grid-column: 2;
  }
  #rec1214678976 .t-container:last-of-type::before { grid-row: 1; }
  #rec1214678976 .t-container:last-of-type::after  { grid-row: 2; }

  /* Sizing */
  #rec1214678976 .t1107__bgimg { width: 60px !important; height: 60px !important; }
  #rec1214678976 .t1107__title { font-size: 16px !important; line-height: 1.3 !important; }
  #rec1214678976 .t1107__text  { font-size: 13px !important; line-height: 1.4 !important; }
}

@media screen and (max-width: 640px) {
  #rec1214678976 .t-container:last-of-type { grid-template-columns: 1fr 36px 1fr; }
  #rec1214678976 .t-container:last-of-type::before,
  #rec1214678976 .t-container:last-of-type::after { width: 36px; background-size: 30px auto; }
  #rec1214678976 .t1107__bgimg { width: 48px !important; height: 48px !important; }
  #rec1214678976 .t1107__title { font-size: 15px !important; }
  #rec1214678976 .t1107__text  { font-size: 12px !important; }
}

@media screen and (max-width: 480px) {
  #rec1214678976 .t-container:last-of-type { grid-template-columns: 1fr 28px 1fr; }
  #rec1214678976 .t-container:last-of-type::before,
  #rec1214678976 .t-container:last-of-type::after { width: 28px; background-size: 24px auto; }
  #rec1214678976 .t1107__title { font-size: 14px !important; }
  #rec1214678976 .t1107__text  { font-size: 11px !important; }
}

/* Section title wrapping fix */
#rec1214678976 .t-section__container.t-container {
  max-width: 100% !important;
  padding: 0 24px;
}
#rec1214678976 .t-section__container .t-col {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
#rec1214678976 .t-section__title { max-width: 100%; text-align: center; }

/* Center the 2x2 grid container */
#rec1214678976 .t-container:last-of-type {
  padding: 0 24px;
}
@media screen and (max-width: 960px) {
  #rec1214678976 .t-section__title { font-size: 26px !important; line-height: 1.3 !important; }
}
@media screen and (max-width: 768px) {
  #rec1214678976 .t-section__title { font-size: 22px !important; }
}
@media screen and (max-width: 640px) {
  #rec1214678976 .t-section__title { font-size: 19px !important; }
}
@media screen and (max-width: 480px) {
  #rec1214678976 .t-section__title { font-size: 16px !important; }
}

/* === Global responsive full-width fixes === */
@media screen and (max-width: 960px) {
  /* Containers: use full width */
  .t-container,
  .t-container_100,
  .t-section__container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }

  /* Columns: full width, no float, no side margins */
  .t-col,
  .t-col_3, .t-col_4, .t-col_6, .t-col_7, .t-col_8, .t-col_12 {
    max-width: 100% !important;
    width: 100% !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  /* Covers: full width */
  .t-cover,
  .t-cover__carrier,
  .t-cover__filter {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Card containers */
  .t-card__container,
  .t939__container,
  .t940__container,
  .t1072__row {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Records and recs */
  .t-records, .t-rec, .r {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden;
  }

  /* Images: never overflow */
  img, .t-bgimg, .t-img {
    max-width: 100% !important;
  }
}

/* Prevent horizontal scroll on all screen sizes */
html {
  overflow-x: clip;
  max-width: 100vw;
}
body {
  overflow-x: clip;
  max-width: 100vw;
}

/* === Pricing cards: 2x2 grid on smaller screens === */
@media screen and (max-width: 960px) {
  #rec1214679001 .t1072__row {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center;
    gap: 16px;
  }
  #rec1214679001 .t1072__col.t-col.t-col_3 {
    float: none !important;
    width: calc(50% - 16px) !important;
    max-width: calc(50% - 16px) !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  #rec1214679001 .t1072__wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  #rec1214679001 .t1072__content {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  #rec1214679001 .t1072__footer {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}

@media screen and (max-width: 480px) {
  #rec1214679001 .t1072__col.t-col.t-col_3 {
    width: calc(50% - 8px) !important;
    max-width: calc(50% - 8px) !important;
  }
  #rec1214679001 .t1072__row { gap: 8px; }
  #rec1214679001 .t1072__price { font-size: 22px !important; }
  #rec1214679001 .t-card__title { font-size: 14px !important; }
  #rec1214679001 .t-card__uptitle { font-size: 14px !important; }
  #rec1214679001 .t-card__descr { font-size: 13px !important; }
  /* Override inline font-size on the inner div */
  #rec1214679001 .t-card__descr div[style] {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }
  #rec1214679001 .t-card__descr ul {
    padding-left: 16px;
    margin: 4px 0;
  }
  #rec1214679001 .t1072__buttonwrapper .t-btnflex__text {
    font-size: 12px !important;
  }
}

/* Pricing card font taming for mid-range screens */
@media screen and (max-width: 960px) and (min-width: 481px) {
  #rec1214679001 .t-card__descr div[style] {
    font-size: 15px !important;
    line-height: 1.4 !important;
  }
}

/* === Carousel/testimonial card images: anchor to top === */
.t939__image,
.t940__image,
.t728__image,
.t-card__col .t-bgimg {
  background-position: center top !important;
}
@media screen and (max-width: 960px) {
  .t939__image,
  .t940__image,
  .t728__image,
  .t-card__col .t-bgimg {
    background-position: center top !important;
  }
}

/* === T165 sections: image + text with alternating float ===
   Desktop: image floats left/right (alternating), text wraps around it
   Mobile: image full-width above text */

.t165 .t-container {
  display: block !important;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}
.t165 .t-col {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.t165__textwrapper {
  overflow: hidden;
}
.t165__img.t-img {
  width: 260px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 12px;
  object-fit: cover;
}

/* Default: float left */
.t165__img.t-img {
  float: left;
  margin-right: 24px;
  margin-left: 0;
}
/* Alternate sections: float right */
#rec1471606251 .t165__img.t-img,
#rec1779469541 .t165__img.t-img {
  float: right;
  margin-left: 24px;
  margin-right: 0;
}

/* Mobile: full width above text */
@media screen and (max-width: 768px) {
  .t165__img.t-img,
  #rec1471606251 .t165__img.t-img,
  #rec1779469541 .t165__img.t-img {
    float: none;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 20px 0;
  }
}

/* Also fix T177 (Tom Peters quote section) */
@media screen and (max-width: 960px) {
  .t177 .t-container {
    display: flex !important;
    flex-direction: column !important;
  }
  .t177 .t-col.t-col_8,
  .t177 .t-col.t-col_4 {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 16px !important;
  }
  .t177__img {
    max-width: 250px;
    margin: 20px auto !important;
    display: block;
  }
}

/* T165 images handled above */

/* T396 about page artboards replaced with T165-style HTML */

/* === Carousel centering fix === */
.t-slds__items-wrapper {
  position: relative;
}
.t-slds__item {
  display: none;
  width: 100%;
}
.t-slds__item_active {
  display: block !important;
}
.t-slds__container {
  position: relative;
  overflow: hidden;
}
.t-slds__arrow_container {
  list-style: none;
  padding: 0;
  margin: 0;
}
.t-slds__arrow_wrapper {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}
.t-slds__arrow_wrapper-left { left: 0; }
.t-slds__arrow_wrapper-right { right: 0; }
.t-slds__arrow {
  cursor: pointer;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.t-slds__arrow-left .t-slds__arrow_body { transform: rotate(180deg); }
.t-slds__bullet_wrapper {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 0;
  list-style: none;
  margin: 0;
}

/* === Hero background image height fix === */
/* The .tn-elem has height:100% but .tn-atom inside needs to match */
.tn-elem[data-elem-id="1595514275004"] .tn-atom {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: auto !important;
  height: auto !important;
}
/* General fix for all t-bgimg atoms inside positioned elements */
.t396__elem .tn-atom.t-bgimg,
.tn-elem .tn-atom.t-bgimg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

/* === "In Closing" section fix - allow content to expand === */
#rec1470851181 .t-cover {
  height: auto !important;
  min-height: 25vh;
}
#rec1470851181 .t-cover__wrapper {
  height: auto !important;
  min-height: 25vh;
  padding: 40px 0;
}
#rec1470851181 .t203__textwrapper {
  position: relative;
  z-index: 2;
}

/* === Contact Form Wizard === */
#bh-contact-form label {
  font-size: 20px;
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
  font-family: 'Roboto', Arial, sans-serif;
}
#bh-contact-form input[type="text"],
#bh-contact-form input[type="email"],
#bh-contact-form input[type="tel"],
#bh-contact-form select {
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
  box-sizing: border-box;
  background: #fff;
}
#bh-contact-form input:focus,
#bh-contact-form select:focus {
  outline: none;
  border-color: #117119;
}
.bh-form-step .bh-field-error {
  color: #e74c3c;
  font-size: 13px;
  margin-top: 6px;
  display: none;
}
#bh-form-nav button {
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  font-family: inherit;
}
#bh-prev {
  border: 2px solid #ccc;
  background: #fff;
  color: #333;
}
#bh-prev:disabled { opacity: 0.4; cursor: default; }
#bh-next {
  border: none;
  background: #117119;
  color: #fff;
}
#bh-next:hover { background: #0d5c14; }
.bh-step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  display: inline-block;
  transition: background 0.2s;
}
.bh-step-dot--active { background: #117119; }
.bh-step-dot--done { background: #44cb00; }
#bh-form-success {
  text-align: center;
  padding: 40px;
  background: #117119;
  color: #fff;
  border-radius: 10px;
}
