/* Screens no smaller than a widescreen desktop */

/****************************************
* Container
****************************************/

.container--widescreen {
  margin: 0 auto;
  max-width: 1400px;
}

@media(min-width: 1600px) {
  .container--widescreen {
    max-width: 1450px;
  }
}

@media(min-width: 1800px) {
  .container--widescreen {
    max-width: 1550px;
  }
}

/****************************************
* Grid
****************************************/

.grid[class*="col-2"]:not([class*="col-2-1"]) > div:first-of-type [class*="padding"] {
  margin:0 0 0 auto;
  max-width:900px;
}
.grid[class*="col-2"]:not([class*="col-2-1"]) > div:last-of-type [class*="padding"] {
  margin:0 auto 0 0;
  max-width:900px;
}

/****************************************
* Header
****************************************/

header > .flex {
  max-width: 980px;
}

/****************************************
* Navigation
****************************************/

nav ul {
  gap: 2.5rem;
}

nav a,
nav a.button {
  font-size: 18px;
}

/****************************************
* Agent Cards
****************************************/

@media(min-width: 1600px) {
  .agents {
    max-width: 1450px;
  }
}

@media(min-width: 1800px) {
  .agents {
    max-width: 1550px;
  }
}

/****************************************
* Agent details page
****************************************/

.agent-details .grid.col-1-2--tablet {
  grid-template-columns: 400px 1fr;
}

.agent-details img {
  max-width: 400px;
}

.agent-details .bio-contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 6rem;
}

.agent-details .bio-contact > div:first-of-type {
  grid-column: span 2;
}

.agent-details .bio-contact > div:last-of-type {
  position: relative;
}

.agent-details .bio-contact > div:last-of-type::before {
  content: '';
  position: absolute;
  top: 0;
  left: -3rem;
  width: 1px;
  height: 100%;
  background-color: #efefef;
}

.agent-info {
  min-height: 400px;
}

/****************************************
* Search Page
****************************************/

.property-search form,
.property-search form > .flex {
  grid-gap: 1rem;
}

/****************************************
* Billboard
****************************************/

.billboard {
  height: 750px;
}

/****************************************
* Banner
****************************************/

.banner {
  gap: 4rem;
  padding: 2rem 4rem;
}

.banner p {
  font-size: 26px;
}

/****************************************
* Category cards
****************************************/

.categories .card p {
  font-size: 18px;
}

/****************************************
* Video placeholder
****************************************/

.videos > button p {
  font-size: calc(20px + (22 - 20) * (100vw - 1400px) / (1600 - 1400));
}

/****************************************
* Footer
****************************************/

footer .grid.col-4--widescreen {
  grid-template-columns: auto auto auto auto 1fr;
  gap: 4rem;
}