/* Screens no smaller than a desktop */

/****************************************
* Typography
****************************************/

.divider {
  border-right: 1px solid #dfdfdf;
}

.accent h2 {
  font-size: 20px;
}

.billboard-inside p {
  font-size: 20px;
}

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

.grid.visible--desktop {
  display: grid !important;
}

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

header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 100;
  box-shadow: 1px 1px 8px rgba(0, 0, 0, .5);
  width: 100%;
  /* padding: 1rem 0 0 0; */
  min-height: 181px;
}

header > .flex {
  padding: 2rem;
  max-width: 912px;
}

header .flex {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.anchor::before {
  display: block;
  content: '';
  background-color: transparent;
  height: 181px; /* height of header */
  margin: -181px 0 0; /* height of header */
  visibility: hidden;
}

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

nav {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  border: none;
  width: auto;
  height: 100%;
  max-height: 100%;
  padding: 0 2rem;
  overflow-y: visible;
  z-index: 300;
}

nav ul {
  display: flex;
  gap: 2.5rem;
  margin: 0;
}

nav li {
  margin: 0;
  border-bottom: none;
  width: auto;
  padding: 1px;
}

nav li + li {
  margin-top: 0;
}

nav li + li::before {
  display: none;
}

nav a {
  margin: auto 1rem;
  background-color: transparent;
  padding: 1rem 0;
  font-size: 16px;
}

nav a.button {
  margin: 0;
}

nav a:not(.button) {
  margin: auto 0;
}

/****************************************
* Phone dropdown
****************************************/

.phone-menu > button::before {
  top: calc(100% - 5px);
  border-width: 16px;
}

.phone-menu .dropdown {
  top: calc(100% + 25px);
  right: unset;
  transform: translateX(-50%);
}

@media(min-width: 1200px) {
  .phone-menu .dropdown {
    left: 50%;
  }
}

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

.billboard {
  height: 600px;
}

.billboard .content {
    max-width: 850px;
}

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

.banner {
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  text-align: left;
  padding: 2rem;
  margin: 2rem auto;
}

.banner h2 {
  font-size: 80px;
}

.banner p {
  font-size: 24px;
  margin-bottom: 0;
}

/****************************************
* Property Page
****************************************/

.property-details > .grid > div:first-child {
  padding-bottom: 250px; /* half the height of the map */
}

.property-details > .grid > div:last-child {
  padding-bottom: unset;
}

.map-wrapper {
  height: 100%;
}

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

footer .grid.col-4--widescreen {
  gap: 4rem;
}

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

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

.video .placeholder button {
  width: 60px;
  height: 60px;
}

.video .placeholder svg {
  width: 30px;
  height: 30px;
}