.home-header {
  position: relative;
  display: flex;

  flex-direction: column;

  width: 100%;
  min-height: 300px;

  padding: 60px 0;
}

.home-header-bg {
  pointer-events: none;
  position: absolute;
  display: flex;

  top: 0;
  right: 0;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 100%;
}

.home-header-bgimage {
  position: relative;
  display: flex;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;
}
.home-header-bgoverlay {
  position: absolute;
  display: flex;
  z-index: 1;

  top: 0;
  right: 0;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 100%;

  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.home-header-content {
  position: relative;
  display: flex;
  z-index: 1;

  align-items: center;
  justify-content: center;

  flex-direction: column;

  width: 100%;
  height: 100%;

  color: white;
}
.home-header-content > .container {
  align-items: center;
  justify-content: center;
}

.home-header-title {
  position: relative;

  font-weight: 600;
  font-size: 28px;
}

.home-header-subtitle {
  position: relative;

  font-weight: 500;
  font-size: 16px;
}

.home-header-buttons {
  position: relative;
  display: flex;
  gap: 10px;

  align-items: center;
  justify-content: center;

  flex-direction: row;

  margin: 20px 0;

  width: 100%;
}

.home-header-button {
  position: relative;
  display: flex;

  align-content: center;
  justify-content: center;

  flex-direction: row;

  padding: 10px 20px;
  padding-top: 13px;

  text-decoration: none;

  font-size: 14px;
  font-weight: 600;

  border-radius: 4px;

  border: 2px solid rgba(20, 90, 210, 1);

  color: white;
  background: rgba(20, 90, 210, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);

  transition: 0.3s all ease-out;
}
.home-header-button--outlined {
  border-color: rgba(20, 90, 210, 1);
  color: rgba(20, 90, 210, 1);
  background: white;
}
.home-header-button:hover,
.home-header-button:focus {
  filter: brightness(1.15);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* Home banners. */
.home-banners {
  position: relative;
  display: flex;

  --home-banner-height: 160px;

  margin: 20px 0;
}
.home-banner {
  position: relative;
  display: flex;

  flex-direction: column;

  height: var(--home-banner-height);
  min-height: var(--home-banner-height);
  max-height: var(--home-banner-height);

  background: rgba(0, 0, 0, 0.2);
}
.home-banner-image {
  position: relative;
  display: flex;

  width: 100%;
  height: var(--home-banner-height);

  object-fit: cover;
  object-position: center center;
}

/* Home Values. */
.home-values {
  position: relative;
  display: flex;
  gap: 10px;

  align-items: center;
  justify-content: center;

  flex-direction: row;
  flex-wrap: wrap;

  margin: 20px 0;

  width: 100%;

  padding: 0 20px;
}
.home-value {
  position: relative;
  display: flex;
  gap: 10px;
  flex: 1;
  flex-shrink: 0;

  align-items: center;
  justify-content: center;

  flex-direction: column;

  min-width: 80px;

  padding: 20px 0;

  font-size: 18px;
  font-weight: 500;

  border-radius: 6px;

  color: #145ad2;
  background: rgba(20, 90, 210, 0.05);
}
.home-value i {
  position: relative;

  font-size: 40px;
}

/* Partners. */
.home-partners {
  position: relative;
  display: flex;

  --home-partner-height: 80px;

  margin: 20px 0;

  padding: 0 20px;
}
.home-partner {
  position: relative;
  display: flex;

  flex-direction: column;

  height: var(--home-partner-height);
  min-height: var(--home-partner-height);
  max-height: var(--home-partner-height);
}
.home-partner-image {
  position: relative;
  display: flex;

  width: 100%;
  height: var(--home-partner-height);

  object-fit: contain;
  object-position: center center;
}

/* Auction Types. */
.auctionstypes {
  position: relative;
  display: flex;
  flex-shrink: 0;
  gap: 0;

  overflow: hidden;
  overflow-x: auto;

  align-items: center;
  justify-content: flex-start;

  flex-direction: row;

  width: 100%;
}

.auctionstypes-type {
  position: relative;
  display: flex;
  flex: 1;
  flex-shrink: 0;

  align-items: center;
  justify-content: center;

  flex-direction: row;

  padding: 15px 20px;

  font-size: 18px;
  font-weight: 500;

  text-decoration: none;
  outline: 0;

  border-bottom: 2px solid rgba(0, 0, 0, 0);

  color: #145ad2;
  background: rgba(20, 90, 210, 0.05);
  transition: 0.3s all ease-out;
}
.auctionstypes-type.active {
  border-bottom: 2px solid #145ad2;
}

/* Cars. */
.auctions {
  position: relative;
  display: flex;
  gap: 0;

  align-items: flex-start;
  justify-content: flex-start;

  flex-direction: row;
  flex-wrap: wrap;

  width: 100%;

  /* padding: 20px 20px; */

  --cars-per-row: 3;
}

.auctions-item {
  position: relative;
  display: flex;
  flex-shrink: 0;

  flex-direction: column;

  --car-item-width: calc((100% - (20px * (var(--cars-per-row) - 1))) / var(--cars-per-row));
  width: var(--car-item-width);
  min-width: var(--car-item-width);
  max-width: var(--car-item-width);

  min-height: 70px;

  /* border-radius: 8px; */

  text-decoration: none;

  border-bottom: 1px solid rgba(0, 0, 0, 0.1);

  color: inherit;
  background: white;
  /* box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05); */
}

.auctions-item-image {
  position: relative;
  display: flex;

  width: 100%;
  height: 150px;

  padding: 10px 10px;

  border-radius: 4px;
}

.auctions-item-image img {
  position: relative;
  display: flex;

  width: 100%;
  height: 100%;

  border-radius: 8px;

  object-fit: cover;
  object-position: center center;

  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.auctions-item-info {
  position: relative;
  display: flex;

  align-items: flex-start;
  justify-content: flex-start;

  flex-direction: column;

  width: 100%;

  padding: 10px 10px;
}
.auctions-item-info-title {
  position: relative;

  font-size: 18px;
  font-weight: 600;
}
.auctions-item-info-description {
  position: relative;

  margin-top: 5px;

  font-size: 12px;
  font-weight: 500;

  color: rgba(0, 0, 0, 0.4);
}

.auctions-item-info-row {
  position: relative;
  display: flex;

  align-items: flex-start;
  justify-content: space-between;

  flex-direction: row;

  margin-top: 10px;

  width: 100%;
}
.auctions-item-info-row > div {
  position: relative;
  display: flex;

  flex-direction: row;
  flex-wrap: wrap;
}

.auctions-item-info-row-details {
  gap: 3px;
}
.auctions-item-info-icongroup {
  position: relative;
  display: flex;
  gap: 2px;

  align-items: center;

  flex-direction: row;

  font-size: 12px;

  color: rgba(0, 0, 0, 0.5);
}
.auctions-item-info-icongroup span {
  padding-top: 4px;
}

.auctions-item-info-icongroup.lightblue {
  color: rgba(35, 100, 160, 1);
}
.auctions-item-info-icongroup.green {
  color: rgba(3, 180, 40, 1);
}


.auctions-item-info-row-timer {
  flex-wrap: nowrap;
  flex-shrink: 0;
  gap: 5px;
}

.auctions-item-info-row-timer-group {
  position: relative;
  display: flex;
  gap: 2px;

  align-items: center;
  justify-content: center;

  flex-direction: column;

  font-size: 12px;

  color: rgba(25, 30, 40, 1);
}

.auctions-item-info-row-timer-group-value {
  position: relative;
  display: flex;

  align-items: center;
  justify-content: center;

  flex-direction: row;

  padding: 3px 15px;
  padding-top: 6px;

  font-size: 12px;
  font-weight: 600;

  border: 1px solid rgba(25, 30, 40, 1);
  border-radius: 4px;

  background: rgba(25, 30, 40, 0.05);
}
.auctions-item-info-row-timer-group-title {
  font-size: 12px;
  font-weight: 400;
}

@media (max-width: 1030px) {
  .auctions {
    --cars-per-row: 2;
  }
}
@media (max-width: 700px) {
  .auctions {
    --cars-per-row: 1;
  }
  .auctions-item {
    flex-direction: row;
  }
  .auctions-item-image {
    width: 150px;
    min-width: 150px;
    height: 150px;
    min-height: 150px;
  }
  .auctions-item-info {
    padding-left: 20px;
  }
}
@media (max-width: 500px) {
  .auctions-item-image {
    width: 100px;
    min-width: 100px;
    height: 100px;
    min-height: 100px;
  }
}
