.home-link,
.home-link--small,
.home-main__item--link {
  font-size: 1rem;
  font-weight: normal;
  color: var(--az-link-primary-color);
  cursor: pointer !important;
  background: none;
  border: none;
  padding: 0;
  outline: none !important;
  -webkit-text-decoration: underline 2px rgba(0, 0, 0, 0) !important;
  -moz-text-decoration: underline 2px rgba(0, 0, 0, 0) !important;
  text-decoration: underline 2px rgba(0, 0, 0, 0) !important;
  -webkit-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}

.home-main__item--link {
  display: inline-block;
}

.home-link--small {
  font-size: 0.875rem;
  -webkit-text-decoration: none !important;
  text-decoration: none !important;
}

.home-link:hover,
.home-link--small:hover,
.home-main__item--link:hover {
  color: var(--az-link-primary-hover-color);
  text-decoration-color: var(--az-link-primary-hover-underline) !important;
}

.home-link:focus,
.home-link--small:focus,
.home-main__item--link:focus {
  color: var(--az-link-primary-focus-color);
  text-decoration-color: var(--az-link-primary-focus-underline) !important;
}

.home {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  -moz-box-orient: horizontal;
  -moz-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  gap: 1rem;
  font-size: inherit;
  color: var(--az-body-color);
}

.home-main-wrapper {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -moz-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  /* BS container-xl: 1140px, advertisement: 230px, gap: 1rem; BS5 gutter: 1.5rem */
  max-width: calc(1140px - 230px - (1rem + 1.5rem));
}

.home-main__state--wrapper,
.home-main__category--wrapper {
  width: 100%;
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(-webkit-calc(25% - 1rem), 1fr));
  grid-template-columns: repeat(auto-fill, minmax(-moz-calc(25% - 1rem), 1fr));
  grid-template-columns: repeat(auto-fill, minmax(calc(25% - 1rem), 1fr));
  gap: 1rem;
}

.home-main__state--wrapper ul,
.home-main__category--wrapper ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.home-main__top-forty--subheading {
  font-size: 0.875rem;
  font-weight: normal;
  line-height: normal;
  color: var(--az-body-color);
}

.home-main__top-forty--wrapper {
  position: relative;
}

.home-main__top-forty--view-all-images {
  width: 25%;
  position: absolute;
  bottom: 0;
  right: 0;
  height: 50%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.home-main__top-forty--view-all-images--link {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.home-main__top-forty--view-all-images--icon {
  font-size: 3rem;
}

.home-main__top-forty--view-all-images--text {
  display: block;
  text-align: center;
  font-size: 1rem;
  padding: 1rem 2rem;
}

.home-main--top-five ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/* Ad */
.home-right-Ads {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 230px;
  -moz-box-flex: 0;
  -ms-flex: 0 0 230px;
  flex: 0 0 230px;
  max-width: 230px;
}

.home-right-Ads__online {
  padding: 0.5rem 0 0 0;
  margin: 0.25rem 0;
  background-color: var(--az-body-bg-darker);
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  border-radius: 0.25rem;
}

[data-bs-theme="dark"] .home-right-Ads__online {
  background-color: var(--az-body-bg-light);
}

.home-right-Ads__online a {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

.home-right-Ads__advertise,
.home-bottom-Ads__advertise {
  margin: 0 auto 0.5rem auto;
  text-align: center;
}

.home-right-Ads__online h3,
.home-bottom-Ads__online h3 {
  font-size: 1.125rem !important;
}

.home-bottom-Ads__online {
  margin: 0.25rem 0;
  text-align: center;
}

.home-right-Ads img {
  width: 230px;
  display: inline-block;
}

.home-bottom-Ads {
  display: none;
}

@media only screen and (max-width: 1199px) {
  .home-main-wrapper {
    /* BS container-lg: 960px, advertisement: 230px, gap: 1rem; BS5 gutter: 1.5rem */
    max-width: calc(960px - 230px - (1rem + 1.5rem));
  }

  .home-main__state--wrapper,
  .home-main__category--wrapper {
    gap: 0.5rem;
  }
}

@media only screen and (max-width: 991px) {
  .home {
    gap: 1rem;
  }

  .home-main-wrapper {
    /* BS container-md: 720px, advertisement: 220px, gap: 1rem; BS5 gutter: 1.5rem */
    max-width: calc(720px - 220px - (1rem + 1.5rem));
  }

  .home-right-Ads {
    max-width: 220px;
  }

  .home-right-Ads img {
    width: 220px;
    display: inline-block;
  }

  .home-main__top-forty--view-all-images {
    width: 50%;
    height: 25%;
  }

  .home-main__top-forty--view-all-images--text {
    padding: 1rem 1rem;
  }

  .home-main__state--wrapper,
  .home-main__category--wrapper {
    gap: 1rem;
  }

  .home-main__item--link {
    display: inline;
  }

  .home-main__item {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Home bottom zone50(Ad) override */
  .zone50 > div > table {
    width: 100% !important;
  }

  .zone50 > div > table > tbody > tr > td:nth-child(odd) {
    width: unset !important;
  }

  .zone50 > div > table > tbody > tr > td > img {
    max-width: 100% !important;
    max-height: 100% !important;
  }
}

@media only screen and (max-width: 767px) {
  .home-main-wrapper {
    max-width: 100%;
  }

  .home-bottom-Ads {
    display: block;
  }

  .home-right-Ads {
    display: none;
  }
}

@media only screen and (max-width: 575px) {
  .home-main__state--wrapper,
  .home-main__category--wrapper {
    grid-template-columns: repeat(auto-fill, minmax(-webkit-calc(50% - 1rem), 1fr));
    grid-template-columns: repeat(auto-fill, minmax(-moz-calc(50% - 1rem), 1fr));
    grid-template-columns: repeat(auto-fill, minmax(calc(50% - 1rem), 1fr));
    -webkit-column-gap: 1rem;
    -moz-column-gap: 1rem;
    column-gap: 1rem;
    row-gap: 0;
  }

  .home-main__state--col-one,
  .home-main__category--col-one {
    -webkit-box-ordinal-group: 2;
    -webkit-order: 1;
    -moz-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
  }

  .home-main__state--col-two,
  .home-main__category--col-two {
    -webkit-box-ordinal-group: 4;
    -webkit-order: 3;
    -moz-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
  }

  .home-main__state--col-three,
  .home-main__category--col-three {
    -webkit-box-ordinal-group: 3;
    -webkit-order: 2;
    -moz-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
  }

  .home-main__state--col-four,
  .home-main__category--col-four {
    -webkit-box-ordinal-group: 5;
    -webkit-order: 4;
    -moz-box-ordinal-group: 5;
    -ms-flex-order: 4;
    order: 4;
  }

  .home-main-heading--two {
    text-align: center;
  }

  .home-main__prices-realized h2 a,
  .home-main__auc-of-the-week h2 a {
    display: block;
    margin: 0 !important;
  }
}