.site-layout {
  min-height: 100vh;
  background-color: #fff;
  color: #111;
  font-family: Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
#root {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

.nav-header {
  position: static;
  background-color: #fff;
  box-shadow: 0 0 8px rgb(0 0 0 / 50%);
}

.nav-box {
  position: relative;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0.5rem 1rem 0.75rem;
}

.nav-img-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-width: 0;
}

.nav-name-img-box {
  display: flex;
  flex-direction: column;
  width: min(20%, 220px);
}

.nav-logo-img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.nav-logo-link {
  display: block;
  width: 55%;
  max-width: 100%;
  cursor: default;
}

.presented-by {
  width: 70%;
  height: auto;
  margin-top: 10px;
  object-fit: contain;
}

.name-img-logo {
  width: 100%;
  height: auto;
}

.damon-picture {
  width: clamp(60px, 9%, 112px);
  height: auto;
  max-width: 100%;
  flex: 0 0 auto;
  border-radius: 15%;
  object-fit: cover;
}

.nav-toggle {
  display: none;
  border: none;
  background: none;
}

.nav-link-box {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 0.75rem;
  width: min(1100px, 100%);
  margin: 0.5rem auto 0;
}

.nav-link {
  padding: 0.4rem 0.5rem;
  color: #111;
  font-weight: 500;
  text-decoration: none;
}

.nav-link--active {
  color: #1f4ea5;
  font-weight: 700;
}

.site-layout__content {
  /* width: min(1200px, 100%); */
  /* margin: 0 auto; */
  /* padding: 1rem; */
  width: 100%;
}

.site-layout__loading {
  padding: 1rem;
}

@media (max-width: 1200px) {
  .nav-img-box {
    gap: 0.6rem;
  }

  .damon-picture {
    width: clamp(56px, 8.2%, 98px);
  }
}

@media (max-width: 1024px) {
  .nav-img-box {
    gap: 0.55rem;
  }

  .nav-logo-img {
    width: 100%;
  }

  .nav-logo-link {
    width: 54%;
  }

  .nav-name-img-box {
    width: min(22%, 200px);
  }

  .damon-picture {
    width: clamp(52px, 8%, 90px);
  }
}

@media (max-width: 768px) {
  .nav-box {
    padding: 0.5rem 0.75rem 0.75rem;
  }

  .nav-img-box {
    justify-content: flex-start;
    padding-top: 0.2rem;
    padding-left: 2.45rem;
    gap: 0.45rem;
  }

  .nav-logo-link {
    width: 54%;
    min-width: 130px;
  }

  .nav-name-img-box {
    width: 33%;
    min-width: 70px;
  }

  .damon-picture {
    width: clamp(44px, 14vw, 60px);
  }

  .nav-toggle {
    position: absolute;
    top: 0.9rem;
    left: 0.75rem;
    z-index: 200;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 1.5rem;
    padding: 0;
    cursor: pointer;
  }

  .hamburger-bar {
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: #333;
    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
  }

  .nav-toggle.open .hamburger-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle.open .hamburger-bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open .hamburger-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-link-box {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 150;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0;
    background: #fff;
    box-shadow: 0 4px 12px rgb(0 0 0 / 12%);
  }

  .nav-link-box.open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 0.85rem 1rem;
    text-align: center;
  }

  .site-layout__content {
    padding: 0.75rem;
  }
}

@media (max-width: 600px) {
  .nav-box {
    padding: 0.5rem 0.55rem 0.7rem;
  }

  .nav-img-box {
    padding-left: 2.3rem;
    gap: 0.35rem;
  }

  .nav-logo-link {
    min-width: 118px;
  }

  .nav-name-img-box {
    min-width: 62px;
  }
}

@media (max-width: 480px) {
  .nav-img-box {
    padding-left: 2.15rem;
    gap: 0.3rem;
  }

  .nav-logo-link {
    min-width: 106px;
  }

  .nav-name-img-box {
    min-width: 56px;
  }

  .damon-picture {
    width: clamp(40px, 14vw, 52px);
  }
}


.footer {
  background: #e9edf1;
  font-family: 'Lato', system-ui, sans-serif;
  color: #1f2933;
  padding: 3rem 2rem 2rem;
}

.footer-underline {
  display: block;
  width: 100%;
  height: 4px;
  background: #9ea3a8;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.25rem;
  max-width: 1600px;
  margin: 0 auto;
}

.footer-menu {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.footer-menu + .footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 0.75rem;
}

.footer-menu-item {
  display: inline-flex;
  align-items: center;
}

.footer-menu .nav-link {
  width: auto;
  text-align: left;
}

.footer-logo {
  margin-top: 1rem;
}

.footer-broker-logo {
  width: 300px;
  max-width: 100%;
  height: auto;
}

.ryon-group-logo img {
  width: 300px;
  max-width: 100%;
  height: auto;
}

.broker-address {
  font-size: 1rem;
  line-height: 1.5;
}

.footer-realtor-logos {
  display: flex;
  gap: 1.2rem;
  margin-top: 1rem;
  align-items: center;
}

.footer-equal-housing-logo {
  width: 110px;
  height: 110px;
}

.footer-mls-logo {
  width: 110px;
  height: auto;
}

.footer-disc {
  margin-top: 1.5rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-disc a {
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 600;
  color: #4c5762;
}

.footer-disc a:hover {
  color: #000;
}

.footer-disc-statement {
  max-width: 1600px;
  margin: 0 auto 60px;
}

.footer-disc-statement p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: #3f4851;
  margin: 20px;
}

@media (max-width: 700px) {
  .footer-menu .nav-link {
    width: auto;
    padding: 0.4rem 0.5rem;
    text-align: left;
  }

  .footer-menu + .footer-menu {
    gap: 1.25rem;
  }

  .footer-realtor-logos {
    flex-wrap: wrap;
  }

  .footer-disc {
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: 2rem 1rem 1.25rem;
  }

  .footer-disc-statement p {
    margin: 16px 12px;
  }
}


.blog-index {
  max-width: 900px;
  margin: 0 auto;
}

.blog-index__filters {
  margin: 1rem 0 1.25rem;
  padding: 0.75rem;
  border: 1px solid #dce3e8;
  border-radius: 10px;
  background: #f8fafb;
}

.blog-index__filter-group + .blog-index__filter-group {
  margin-top: 0.85rem;
}

.blog-index__filter-label {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  color: #44515a;
}

.blog-index__filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-index__filter-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid #c5d0d8;
  border-radius: 999px;
  background: #fff;
  color: #26343d;
  padding: 0.45rem 0.85rem;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
}

.blog-index__filter-chip.is-active {
  border-color: #2e5f7a;
  background: #2e5f7a;
  color: #fff;
}

@media (max-width: 640px) {
  .blog-index__filters {
    padding: 0.65rem;
  }

  .blog-index__filter-chip {
    font-size: 0.85rem;
    padding: 0.4rem 0.7rem;
  }
}


.post-card {
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 16px;
  background: #fff;
}

.post-card__meta {
  margin: 0 0 6px;
  color: #666;
}

.post-card__category {
  font-weight: 600;
  color: #314047;
}

.post-card__title {
  margin: 0 0 10px;
}

.post-card__title a {
  color: inherit;
  text-decoration: none;
}

.post-card__title a:hover {
  text-decoration: underline;
}

.post-card__summary {
  margin: 0;
  color: #2f3a41;
  line-height: 1.6;
}


.blog-post {
  max-width: 900px;
  margin: 0 auto;
}

.blog-post__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1rem 0 1rem;
  padding: 0;
  font-size: 0.95rem;
}

.blog-post__breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
}

.blog-post__header {
  margin-bottom: 1rem;
}

.blog-post__author {
  margin: 0 0 0.35rem;
  color: #314047;
  font-size: 0.95rem;
  font-weight: 600;
}

.blog-post__meta {
  margin: 0;
  color: #5f6b73;
  font-size: 0.95rem;
}

.blog-post__figure {
  margin: 0 0 1rem;
}

.blog-post__hero-image {
  width: 100%;
  max-width: 900px;
  border-radius: 8px;
}

.blog-post__caption {
  margin-top: 0.4rem;
  color: #495861;
  font-size: 0.9rem;
}

.blog-post__lede {
  font-size: 1.1rem;
  line-height: 1.5;
  color: #212b31;
}

.blog-post__toc ul,
.blog-post__sources ul,
.blog-post__related ul {
  margin: 0.4rem 0 1rem;
  padding-left: 1.2rem;
}

.blog-post__content {
  line-height: 1.7;
}

.blog-post__faq,
.blog-post__related {
  margin-top: 1.5rem;
}

.blog-post__closing-cta {
  margin-top: 1.5rem;
  padding: 0.95rem 1rem;
  border: 1px solid #d8e2e8;
  border-radius: 10px;
  background: #f8fafc;
}

.blog-post__closing-cta p {
  margin: 0;
  color: #273842;
}

.blog-post__closing-cta a {
  color: #17415e;
  font-weight: 700;
}

.blog-post__faq-item {
  margin-bottom: 1rem;
}

.blog-post__faq-item p {
  margin: 0;
}

.blog-post__faq-item h3 {
  margin-bottom: 0.25rem;
}


/* Static blog pages */
.site-layout__content {
  padding: 1rem;
}

.blog-post__content img {
  max-width: 100%;
  height: auto;
}
