/* @font-face {
  font-family: 'Proxima Nova';
  src: url('fonts/ProximaNova-Regular.woff2') format('woff2'),
       url('fonts/ProximaNova-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Proxima Nova';
  src: url('fonts/ProximaNova-Semibold.woff2') format('woff2'),
       url('fonts/ProximaNova-Semibold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Proxima Nova';
  src: url('fonts/ProximaNova-Bold.woff2') format('woff2'),
       url('fonts/ProximaNova-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
} */

/* body {
  font-family: 'Proxima Nova', sans-serif;
  background-color: #F8F7FC;
  margin: 0;
  padding: 0;
} */

a {
  text-decoration: none;
}

.adv-wrapper {
  width: 1520px;
  max-width: 100%;
  margin: 0 auto;
  padding: 48px 16px;
  box-sizing: border-box;
  background-color: #F8F7FC;
}

.adv-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.adv {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.adv:hover {
  text-decoration: none;
}

.adv-photo {
  position: relative;
  height: 300px;
  background-position: center;
  background-size: cover;
}

.adv-photo-empty {
  position: relative;
  height: 300px;
  background-color: #0000000f;
  background-position: center;
  background-size: cover;
  background-image: url('images/no-adv.png');
}

.adv-photo-date {
  color: #020F26;
  font-size: 12px;
  line-height: 12px;
  font-weight: 600;
  padding: 10px;
  background-color: white;
  border-radius: 100px;
  position: absolute;
  bottom: 16px;
  right: 16px;
}

.adv-title {
  margin-top: 24px;
  color: #020F26;
  font-size: 16px;
  font-weight: 600;
}

.adv-status {
  margin-top: 8px;
  color: #020F26;
  font-size: 16px;
  line-height: 19px;
  font-weight: 400;
}

.adv-description {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 400;
  color: #8F99AC;
  margin-bottom: 24px;
}

.adv-owner {
  display: flex;
  align-items: center;
  margin-top: auto;
  padding: 0 20px;
  box-sizing: border-box;
  width: 362px;
  height: 44px;
  background-color: white;
  border-radius: 100px;

}

.adv-owner-title {
  flex: 1;
  color: #020F26;
  font-weight: 600;
  font-size: 16px;
}

.adv-owner-email {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background-image: url('images/email.svg');
  background-repeat: no-repeat;
  background-size: 24px 24px;
  margin-left: 4px;
  cursor: pointer;
}

.adv-owner-phone {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background-image: url('images/phone.svg');
  background-repeat: no-repeat;
  background-size: 24px 24px;
  margin-left: 4px;
  cursor: pointer;
}


/* Adv info */

.adv-info-wrapper {
  display: flex;
  background-image: url('images/adv-info.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 220px;
}

.adv-info {
  max-width: 1000px;
  width: 100%;
  margin: auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
}

.adv-info-title {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
}

.adv-info-button {
  width: 190px;
  height: 60px;
  line-height: 60px;
  margin-left: 42px;
  padding: 0 32px;
  color: #3F7EF3;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  background-color: #fff;
  border-radius: 100px;
  cursor: pointer;
}

/* Adv hero */
.adv-hero-wrapper {
  background-image: url('images/adv-hero.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 468px;
  padding: 100px 0;
  box-sizing: border-box;
}

.adv-hero {
  display: flex;
  justify-content: space-between;
  width: 1520px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.adv-hero-left{
  max-width: 667px;
}

.adv-hero-right{
  max-width: 491px;
}

.adv-hero-title {
  color: #fff;
  font-size: 46px;
  font-weight: 600;
  text-transform: uppercase;
}

.adv-hero-subtitle {
  margin-top: 48px;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: underline;
}

.adv-hero-description {
  margin-top: 100px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
}

.adv-hero-button {
  margin-top: 48px;
  width: 190px;
  height: 60px;
  line-height: 60px;
  padding: 0 32px;
  color: #3F7EF3;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  background-color: #fff;
  border-radius: 100px;
  box-sizing: border-box;
  cursor: pointer;
}

.adv-pagination {
  display: flex;
  justify-content: center;
  margin-top: 64px;
  padding-bottom: 64px;
}
.adv-pagination-item {
  width: 32px;
  height: 32px;
  line-height: 32px;
  border-radius: 100px;
  background-color: white;
  text-align: center;
  cursor: pointer;
}

.adv-pagination-item-active {
  background-color: #020F26;
  color: #fff;
}





/* Tablet */
@media (max-width: 1200px) {
  .wrapper {
    width: 100%;
  }

  .adv-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .adv-owner {
    width: 100%;
  }

  .adv-hero-wrapper {
    height: auto;
    padding: 48px 0;
  }

  .adv-hero {
    flex-direction: column;
    gap: 32px;
  }

  .adv-hero-left,
  .adv-hero-right {
    max-width: 100%;
  }

  .adv-hero-title {
    font-size: 32px;
  }

  .adv-hero-subtitle {
    margin-top: 24px;
    font-size: 20px;
  }

  .adv-hero-description {
    margin-top: 48px;
  }

  .adv-hero {
    padding: 80px;
  }

  .adv-hero-button {
    margin-top: 30px;
  }

  .adv-hero-description {
    margin-top: 20px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .adv-list {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .adv-photo {
    height: 220px;
  }

  .adv-title {
    font-size: 15px;
    margin-top: 16px;
  }

  .adv-owner {
    width: 100%;
    margin-top: 16px;
  }

  .adv-info {
    flex-direction: column;
  }

  .adv-info-title {
    text-align: center;
  }

  .adv-info-button {
    margin-top: 40px;
    text-align: center;
  }

  .adv-hero {
    padding: 16px;
  }

}