#homeheader .flickity-page-dots {
  bottom: 10px !important;
}

#homeheader .flickity-page-dots .dot.is-selected {
  background: #fff !important;
}

#homeheader .flickity-page-dots .dot {
  background: rgba(226, 227, 228, 0.8);
}

.projectslider {
  max-height: 700px;
}

.headline {
  display: flex;
  /* overriding main.min.css */
  flex-direction: row !important;
  justify-content: space-between;
  align-items: center !important;
  flex-wrap: wrap;
  gap: var(--gap-small);
  padding-bottom: var(--gap-small) !important;
}

.headline a {
  background-color: transparent;
}

.container-fluid {
  height: 75%;
}

.headline a {
  background-color: transparent;
}

.container-fluid {
  height: unset;
}

/* Flickity Previous/Next Buttons  */
#homeheader .flickity-prev-next-button {
  display: none;
}

.carousel {
  background: #fafafa;
}

.home .flickity-button {
  background-color: transparent;
}

.home .flickity-button.next {
  right: -35px;
}

.home .flickity-button.previous {
  left: -35px;
}

.home .flickity-button:hover {
  border: 1px solid black;
}

.home .flickity-button:focus {
  box-shadow: none;
}

#featured svg,
#tenant svg {
  width: 26px;
  fill: var(--clr-accent);
}

.carousel-cell {
  width: 100%;
  height: 75vh;
  margin-right: 10px;
}

.carousel-cell-image {
  display: block;
  max-height: 100%;
  margin: 0 auto;
  max-width: 100%;
  opacity: 0;
  -webkit-transition: opacity 0.4s;
  transition: opacity 0.4s;
}

/* fade in lazy loaded image */
.carousel-cell-image.flickity-lazyloaded,
.carousel-cell-image.flickity-lazyerror {
  opacity: 1;
}

.hero {
  /* The hero image specifier */
  height: 75vh;
  object-fit: cover;
}

.hero img {
  height: 75vh;
  filter: brightness(75%);
}

.content-container {
  height: 100%;
  width: 90%;
  position: absolute;
  top: 0;
  left: 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5vw;
  pointer-events: none;
}

.content-container a,
.content-container button,
.content-container input {
  pointer-events: all;
}

section#homeheader h1 {
  max-width: 620px;
  margin-bottom: 40px;
}

.home-title h1,
.home-subtitle h2 {
  color: #ffffff;
  max-width: 620px;
}

.home-title h1 {
  font-size: 32px;
  font-weight: 700;
}

.home-subtitle h2 {
  font-size: 24px;
  font-weight: 700;
}

.input-wrapper .search-form {
  width: 100%;
  position: relative;

  display: flex;
  flex-direction: row;
  position: relative;
  margin-top: 20px;
}

.home .content-container .search-form input {
  padding: 12px 25px !important;
  padding-right: 40px !important;
  border-radius: 3px;

  background-color: #ffffff;
  border: none;
  color: #000000;
}

.search-form .search_btn {
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  padding: 0 15px;

  border: none;
  cursor: pointer;
  background-color: transparent;
}

.home-propertieslink {
  display: block;
  width: 50%;
  padding-top: 20px;
  padding-left: 10px;
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: underline;
}

.home-propertieslink:hover {
  text-decoration: none !important;
}

.content-container .search-form {
  max-width: 670px;
  position: relative;
}

.category-nav {
  display: flex;
  flex-direction: column;
  padding: 0;
  padding-left: 10px;
  padding-bottom: 10px;
}

.category-item {
  color: #ffffff !important;
  display: flex;
  flex-direction: row;
  font-weight: 700;
  text-transform: uppercase;
  align-items: center;
}

.category-item:last-child {
  border-bottom: none;
}

.category-item:hover,
.category-item:visited {
  text-decoration: underline;
}

.category-item svg {
  height: 30px;
  padding: 0 10px;
}

#featured .wr-btn.border-1.active {
  margin-top: 10px;
  max-width: fit-content !important;
}

@media only screen and (min-width: 400px) {
  .category-nav {
    padding-bottom: 20px;
  }
}

@media only screen and (min-width: 768px) {
  .carousel-cell {
    height: 80vh;
  }

  .hero {
    height: 80vh;
  }

  .hero img {
    height: 80vh;
  }

  .main-carousel {
    margin-top: 105px;
  }

  .category-nav {
    left: 5%;
  }

  .category-item svg {
    height: 30px;
    padding: 0 20px 0 10px;
  }

  .home-title h1 {
    font-size: 48px;
  }

  .home-subtitle h2 {
    font-size: 36px;
  }

  .home-propertieslink {
    width: 40%;
  }
}

/**NEWSLETTER FORM**/
.newsletter-wrapper {
  display: flex;
}

.newsletter-wrapper::before {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -8%;
  left: -38%;
  width: 85%;
  height: 85%;
  background-image: url("../images/logomark-fff.svg");
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.newsletter-section {
  flex: 1;
}

.newsletter-section.copy {
  padding-right: 40px;
}

.form-section {
  display: flex;
  flex-direction: row;
}

.newsletter-form {
  max-width: 600px;
  margin: auto;
}

.form-section {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.newsletter-form {
  max-width: 600px;
  margin: auto;
}

.form-section {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.input-group {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  width: 100%;
  /* Full width for mobile */
}

.input-group label {
  margin-right: 10px;
  min-width: 150px;
  /* Adjust as needed */
  text-transform: uppercase;
  font-weight: 500;
}

.input-group input {
  flex-grow: 1;
  padding: 0;
  letter-spacing: 0;
  border-bottom: 1px solid #676767;
}

input::placeholder {
  opacity: 0.75;
  font-style: italic;
}

.required {
  color: red;
}

.radio-list span {
  margin-right: 10px;
  font-size: 14px;
}

.newsletter-button {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 5px 15px;
  background-color: transparent;
  color: black;
  border: 1px solid black;
  font-size: 14px;
  cursor: pointer !important;
  text-align: left;
  box-sizing: border-box;
  font-weight: 700;
}

.newsletter-button span {
  display: flex;
  align-items: center;
}

.newsletter-button .arrow {
  margin-left: auto;
  color: red;
  font-size: 20px;
  margin-left: 40px;
}

.button-container {
  display: flex;
  justify-content: flex-end;
  /* Aligns button to the right */
}

.mc4wp-response {
  max-width: 600px;
  margin: 20px auto;
}

@media (max-height: 550px) {
  #homeheader,
  #homeheader > div.main-carousel div,
  #homeheader > div img {
    min-height: 500px;
  }
}

@media (max-width: 600px) {
  .newsletter-wrapper {
    flex-direction: column;
  }

  .form-section {
    margin-bottom: 0;
  }

  .button-container {
    justify-content: start;
  }
}

@media (max-width: 767px) {
  div.gallery-cell .project {
    margin: 0;
  }
}

@media (min-width: 600px) {
  .input-group {
    width: 48%;
    /* Two inputs per line */
    margin-right: 4%;
  }

  .input-group.full {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .input-group:nth-child(2n) {
    margin-right: 0;
  }
}

@media screen and (min-width: 1024px) {
  .home-subtitle h2 {
    font-size: 48px;
  }

  .content-container > div:first-child {
    margin-top: 50px;
    /* padding: 0 3vw; */
  }

  .category-nav {
    flex-direction: row;
    justify-content: space-between;
    gap: 4%;
    padding: 0;
  }

  .category-item {
    border-bottom: none;
    border-left: 1px solid #ffffff;
    font-size: 14px;
    padding-left: 20px;
  }

  .category-item .arrow {
    padding: 0 20px 0 10px;
  }

  .separator {
    padding-right: 10px;
  }

  .home-propertieslink {
    padding-left: 0;
  }
}

@media screen and (max-width: 1024px) {
  .category-nav {
    max-width: max-content;
  }

  .category-nav > *:not(a:last-child) {
    border-bottom: 1px solid white;
  }

  .category-nav > * {
    padding: 10px 0;
  }
}

@media screen and (min-width: 1200px) {
  .category-item {
    font-size: 16px;
  }

  .category-item .arrow {
    padding: 0 40px 0 15px;
  }

  .separator {
    padding-right: 15px;
  }
}
