/* --------------------------------------------------------------
General
-------------------------------------------------------------- */
.section-wrapper-80 {
  padding: 80px 0;
}

.section-wrapper-135 {
  padding: 135px 0;
}

.rounded-image-wrapper {
  border-radius: 16px;
  overflow: hidden;
}

.rounded-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section {
  overflow: hidden;
}

section:target {
  scroll-margin-top: 104px;
}

.section-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section-content-wrapper.section-center {
  justify-content: center;
}

.section-title {
  font-family: var(--font-aktiv-grotesk);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: normal;
  margin: 0;
}

.section-content p:last-child {
  margin-bottom: 0;
}

body.home .site-header {
  position: fixed;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.3s ease-out, visibility 0s linear 0.3s;
}

body.home .site-header.visible {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.3s ease-out, visibility 0s linear 0s;
}

@media (max-width: 768px) {
  section:target {
    scroll-margin-top: 98px;
  }

  .section-wrapper-80 {
    padding: 56px 0;
  }

  .section-wrapper-135 {
    padding: 80px 0;
  }

  .section-title {
    font-size: 30px;
  }

  .section-content {
    font-size: 14px;
  }
}
/* --------------------------------------------------------------
Title Banner
-------------------------------------------------------------- */
#title-banner {
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: visible;
}

#title-banner + * {
  padding: 220px 0 80px;
}

#title-banner .container {
  display: flex;
  justify-content: center;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -140px;
}

#title-banner .title-banner-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  background-color: var(--neutral-light-grey);
  border-radius: 16px;
  max-width: 780px;
  padding: 56px;
  text-align: center;
}

#title-banner .title-banner-wrapper .title-banner-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--font-aktiv-grotesk);
  font-weight: 600;
  letter-spacing: normal;
}

#title-banner .title-banner-wrapper .title-banner-header .title {
  font-size: 32px;
  margin-bottom: 0;
}

#title-banner .title-banner-wrapper .description {
  color: var(--neutral-grey);
}

@media (max-width: 768px) {
  #title-banner + * {
    padding: 186px 0 56px;
  }

  #title-banner .container {
    bottom: -130px;
  }

  #title-banner .title-banner-wrapper {
    padding: 32px 24px;
  }

  #title-banner .title-banner-wrapper .title-banner-header .sub-title {
    font-size: 12px;
  }

  #title-banner .title-banner-wrapper .title-banner-header .title {
    font-size: 30px;
  }

  #title-banner .title-banner-wrapper .description {
    font-size: 14px;
  }
}

/* --------------------------------------------------------------
Diagonal Wrapper
-------------------------------------------------------------- */
.diagonal-wrapper {
  transform: skewY(-10deg);
  transform-origin: right;
  margin-bottom: 65px;
  position: relative;
}

.diagonal-wrapper::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  height: 90%;
  width: 90%;
  background-color: var(--primary-subtle-blue);
  z-index: -1;
  border-radius: 16px 24px 16px 24px;
  transition: bottom 0.3s ease-out, right 0.3s ease-out, opacity 0.3s ease-out;
  opacity: 0;
}

.diagonal-wrapper:hover::before {
  bottom: -10px;
  right: -10px;
  transition: bottom 0.3s linear, right 0.3s linear, opacity 0.3s linear;
  opacity: 1;
}

.diagonal-wrapper .diagonal-wrapper-inner {
  background-color: #f4f4f4;
  border-radius: 16px;
  overflow: hidden;
}

.diagonal-wrapper .diagonal-inner {
  transform: skewY(10deg);
  transform-origin: right;
}
.diagonal-wrapper .dc-image {
  height: 285px;
}
.diagonal-wrapper .dc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.diagonal-wrapper .dc-title {
  font-family: var(--font-aktiv-grotesk);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: normal;
  padding: 24px;
}

/* --------------------------------------------------------------
Component 2 Cols
-------------------------------------------------------------- */
.component-2-cols {
  display: grid;
  grid-template-columns: 640px 1fr;
  gap: 120px;
}

@media (max-width: 1280px) {
  .component-2-cols {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

@media (max-width: 768px) {
  .component-2-cols {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --------------------------------------------------------------
Buyer Agent Services
-------------------------------------------------------------- */
#landing-services .landing-services-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 65px;
  column-gap: 40px;
}

#landing-services .landing-services-wrapper .diagonal-wrapper {
  width: calc((100% - 80px) / 3);
}

@media (max-width: 1024px) {
  #landing-services .landing-services-wrapper .diagonal-wrapper {
    width: calc((100% - 40px) / 2);
  }
}

@media (max-width: 640px) {
  #landing-services .landing-services-wrapper {
    row-gap: 24px;
  }

  #landing-services .landing-services-wrapper .diagonal-wrapper {
    width: 100%;
  }
}

/* --------------------------------------------------------------
Landing - Callout Section
-------------------------------------------------------------- */
#landing-callout {
  background-color: var(--primary-subtle-blue);
  color: var(--white);
}

#landing-callout ul {
  margin-bottom: 0;
}

#landing-callout .rounded-image-wrapper {
  height: 470px;
}

@media (max-width: 768px) {
  #landing-callout .rounded-image-wrapper {
    height: 400px;
    order: 1;
  }
}

/* --------------------------------------------------------------
Landing - Feature Section
-------------------------------------------------------------- */
#landing-feature {
  background-color: var(--primary-subtle-blue);
  color: var(--white);
  background-size: cover;
  background-position: center;
}

#landing-feature .container {
  min-height: 540px;
  display: flex;
  align-items: end;
  justify-content: end;
}

#landing-feature .section-content-wrapper {
  padding: 40px;
  border-radius: 16px;
  background-color: var(--white);
  color: var(--primary-dark-blue);
  max-width: 530px;
}

#landing-feature .section-content-wrapper .section-content {
  color: var(--neutral-grey);
}

@media (max-width: 768px) {
  #landing-feature .container {
    min-height: 588px;
  }

  #landing-feature .section-content-wrapper {
    padding: 32px;
    max-width: none;
  }
}

/* --------------------------------------------------------------
Accreditations
-------------------------------------------------------------- */
#accreditations {
  background-color: var(--primary-navy-blue);
  color: var(--white);
}

#accreditations ul {
  margin-bottom: 0;
}

#accreditations .rounded-image-wrapper {
  height: 520px;
}

@media (max-width: 768px) {
  #accreditations .rounded-image-wrapper {
    height: 400px;
    order: 1;
  }
}

/* --------------------------------------------------------------
Latest News
-------------------------------------------------------------- */
#latest-news .container {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

#latest-news .latest-news-container {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
  margin: 0 auto;
}

#latest-news .latest-news-carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

#latest-news .latest-news-carousel .carousel-item {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--neutral-light-grey);
  border: 1px solid var(--neutral-light-grey);
}

#latest-news .latest-news-carousel .carousel-item .ci-image {
  height: 216px;
}

#latest-news .latest-news-carousel .carousel-item .ci-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#latest-news .latest-news-carousel .carousel-item .ci-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  font-family: var(--font-aktiv-grotesk);
  letter-spacing: normal;
}

#latest-news .latest-news-carousel .carousel-item .ci-content .ci-title {
  font-size: 20px;
  font-weight: 600;
}

#latest-news .latest-news-carousel .carousel-item .ci-content .ci-author {
  font-size: 14px;
  color: var(--neutral-grey);
}

@media (max-width: 1280px) {
  #latest-news .slick-list {
    overflow: visible;
  }

  #latest-news .latest-news-carousel .slick-slider {
    padding-right: 40px;
  }
}

@media (max-width: 768px) {
  #latest-news .container {
    gap: 40px;
  }

  #latest-news .latest-news-container {
    gap: 20px;
  }

  #latest-news .latest-news-carousel {
    gap: 40px;
  }
}

/* --------------------------------------------------------------
Work With Us
-------------------------------------------------------------- */
#work-with-us {
  background-color: var(--primary-dark-blue);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

#work-with-us .work-with-us-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 850px;
  background-color: var(--white);
  margin: 0 auto;
  padding: 64px;
  border-radius: 16px;
  text-align: center;
}

#work-with-us .work-with-us-container .section-footer {
  margin-top: 40px;
}

@media (max-width: 768px) {
  #work-with-us .work-with-us-container {
    padding: 40px 24px;
  }

  #work-with-us .work-with-us-container .section-footer {
    margin-top: 16px;
  }
}

/* --------------------------------------------------------------
Conclusion
-------------------------------------------------------------- */
#conclusion {
}

#conclusion .con-container {
  display: grid;
  grid-template-columns: 1fr 585px;
  gap: 80px;
}

#conclusion .con-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
#conclusion .con-title {
  font-family: var(--font-aktiv-grotesk);
  font-size: 32px;
  font-weight: 600;
  color: var(--primary-dark-blue);
}
#conclusion .con-description p {
  color: var(--neutral-grey);
  letter-spacing: normal;
}
#conclusion .con-image {
  height: 500px;
  border-radius: 16px;
  overflow: hidden;
}

#conclusion .con-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1280px) {
  #conclusion .con-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  #conclusion .con-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #conclusion .con-title {
    font-size: 30px;
  }

  #conclusion .con-image {
    height: 300px;
  }
}
/* --------------------------------------------------------------
Entry Header
-------------------------------------------------------------- */
.et-header-container {
  background-color: var(--primary-navy-blue);
  color: var(--white);
  font-family: var(--font-aktiv-grotesk);
  position: relative;
  background-image: url('../images/entry-header-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.et-header-container .container {
  position: relative;
  z-index: 1;
}

.et-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

body.single .et-header {
  padding: 114px 0 64px;
}

.et-header .et-breadcrumbs p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.et-header .et-breadcrumbs p .last {
  overflow: hidden;
  text-overflow: ellipsis;
}

.et-header .et-breadcrumbs .separator {
  width: 20px;
  height: 20px;
  font-size: 0;
}

.et-header .et-breadcrumbs .separator:before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('data:image/svg+xml;base64,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gyIDkuNzYwNjRDMTQuMzU5NyA5LjgzNjUyIDE0LjM3NTggOS45MTc4NSAxNC4zNzU4IDkuOTk5OThDMTQuMzc1OCAxMC4wODIxIDE0LjM1OTcgMTAuMTYzNCAxNC4zMjgyIDEwLjIzOTNDMTQuMjk2NyAxMC4zMTUyIDE0LjI1MDYgMTAuMzg0MSAxNC4xOTI1IDEwLjQ0MjJaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K');
  background-repeat: no-repeat;
  background-size: contain;
}

.et-header .et-breadcrumbs .last {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.et-header .et-title {
  max-width: 720px;
}

.et-header .et-title h1 {
  font-size: 40px;
  font-weight: 600;
  margin: 0;
  line-height: normal;
}

.et-header .et-date-socials {
  font-family: var(--font-helvetica-neue);
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
}

.et-header .et-date-socials .socials {
  display: flex;
  gap: 8px;
}

@media only screen and (max-width: 768px) {
  .et-header {
    padding: 108px 0;
  }

  body.single .et-header {
    padding: 104px 0 64px;
  }

  .et-header .et-breadcrumbs {
    font-size: 14px;
  }

  .et-header .et-title h1 {
    font-size: 30px;
  }
}

/* --------------------------------------------------------------
Entry Content
-------------------------------------------------------------- */
.et-content-container {
  padding: 64px 0;
}

@media only screen and (max-width: 768px) {
  .et-content-container {
    padding: 40px 0;
  }
}

/* --------------------------------------------------------------
No Results Found
-------------------------------------------------------------- */
#no-results {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 56px;
}

#no-results .nr-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

#no-results .nr-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#no-results .nr-footer {
  margin-bottom: 35px;
}

#no-results .nr-title {
  font-family: var(--font-aktiv-grotesk);
  font-size: 24px;
  font-weight: 600;
  text-transform: capitalize;
}

#no-results .nr-description {
  font-family: var(--font-helvetica-neue);
  color: var(--neutral-grey);
}

/* --------------------------------------------------------------
Articles
-------------------------------------------------------------- */
.articles-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 64px;
  column-gap: 40px;
}

.articles-container .post {
  background-color: var(--neutral-light-grey);
  color: var(--primary-dark-blue);
  border-radius: 8px;
  overflow: hidden;
}

.articles-container .article-image {
  height: 216px;
}

.articles-container .article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.articles-container .article-content {
  font-family: var(--font-aktiv-grotesk);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
}

.articles-container .article-title {
  font-size: 20px;
  font-weight: 600;
  line-height: normal;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.articles-container .article-author {
  font-size: 14px;
  color: var(--neutral-grey);
}

.articles-container .article-date {
  font-family: var(--font-helvetica-neue);
  font-size: 14px;
  color: var(--neutral-grey);
  margin-top: 16px;
}

.articles-container .article-excerpt {
  font-family: var(--font-helvetica-neue);
  color: var(--neutral-grey);
}

.articles-footer {
  text-align: center;
  margin-top: 65px;
}

.articles-container .post.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 620px;
  background-color: transparent;
  border-radius: 0;
}

.articles-container .post.featured .article-image {
  height: 500px;
  border-radius: 16px;
  overflow: hidden;
}

.articles-container .post.featured .article-content-inner {
  max-width: 520px;
}

.articles-container .post.featured .article-content {
  justify-content: center;
  gap: 40px;
  padding: 0;
}

.articles-container .post.featured .article-title {
  font-size: 32px;
  font-weight: 700;
}

.articles-container .post.featured .article-excerpt {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  margin-top: 24px;
}

@media only screen and (max-width: 1280px) {
  .articles-container .post.featured {
    grid-template-columns: 1fr 1fr;
  }
}

@media only screen and (max-width: 1024px) {
  .articles-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (max-width: 768px) {
  .articles-container {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }

  .articles-footer {
    margin-top: 40px;
  }

  .articles-container .post.featured .article-image {
    height: 300px;
  }

  .articles-container .post.featured .article-title {
    font-size: 30px;
  }

  .articles-container .post.featured .article-excerpt {
    font-size: 14px;
  }

  .articles-container .post.featured {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media only screen and (max-width: 480px) {
  .articles-container {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* --------------------------------------------------------------
Content: Post - Page
-------------------------------------------------------------- */
.et-content-container.post {
  letter-spacing: normal;
  color: var(--neutral-grey);
}

.et-content-container.post p {
  font-size: 16px;
}

.et-content-container.post .wp-caption {
  margin: 2.5em 0;
}

.et-content-container.post .wp-caption img {
  border-radius: 16px;
}

.et-content-container.post .wp-caption .wp-caption-text {
  font-size: 14px;
  border-left: 2px solid var(--neutral-grey);
  margin-top: 16px;
  padding: 3px 8px;
  line-height: normal;
}

.et-content-container.post blockquote {
  margin: 1.6em 0 1.6em 0;
  padding: 0;
  border: 0;
}

.et-content-container.post blockquote p {
  font-family: var(--font-aktiv-grotesk);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: normal;
}

@media only screen and (max-width: 768px) {
  .et-content-container.post p {
    font-size: 14px;
  }

  .et-content-container.post blockquote {
    font-size: 18px;
  }
}
