/* NEO Rental Agent blog shell — matches the main site header, footer, fonts, and colors. */

:root {
  --navy: #1a2a4a;
  --navy-dark: #0f1a2e;
  --navy-light: #2a3f6a;
  --orange: #F7931A;
  --orange-dark: #d97e15;
  --cream: #faf9f7;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-400: #a3a3a3;
  --gray-600: #525252;
  --gray-800: #262626;
}

body.neo-blog-shell {
  font-family: 'DM Sans', sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--cream);
  padding-top: 88px;
}

body.neo-blog-shell h1,
body.neo-blog-shell h2,
body.neo-blog-shell h3,
body.neo-blog-shell h4,
body.neo-blog-shell .wp-block-post-title,
body.neo-blog-shell .wp-block-query-title,
body.neo-blog-shell .wp-block-site-title {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
}

body.neo-blog-shell .entry-content a,
body.neo-blog-shell .wp-block-post-content a,
body.neo-blog-shell .wp-block-post-excerpt a {
  color: var(--navy);
  text-decoration: underline;
}

body.neo-blog-shell .entry-content a:hover,
body.neo-blog-shell .wp-block-post-content a:hover {
  color: var(--orange-dark);
}

/* Hide the default Twenty Twenty-Five header/footer and WordPress credit. */
body.neo-blog-shell .wp-site-blocks > header,
body.neo-blog-shell .wp-site-blocks > footer,
body.neo-blog-shell .wp-block-template-part {
  display: none !important;
}

body.neo-blog-shell .skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 10000;
}

body.neo-blog-shell .skip-link:focus {
  position: fixed;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  overflow: visible;
  background: var(--navy);
  color: white;
  padding: 12px 24px;
}

.neo-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease;
}

.neo-site-header.scrolled {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.neo-site-header .header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.neo-site-header .logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.neo-site-header .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
}

.neo-site-header nav {
  display: flex;
  gap: 1.35rem;
  align-items: center;
}

.neo-site-header nav a {
  text-decoration: none;
  color: var(--gray-600);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
  white-space: nowrap;
}

.neo-site-header nav a:hover {
  color: var(--navy);
}

.neo-site-header nav a.active {
  color: var(--navy);
  font-weight: 600;
}

.neo-site-header .nav-cta,
.neo-site-header .mobile-nav .nav-cta {
  background: var(--orange);
  color: white !important;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.neo-site-header .nav-cta:hover,
.neo-site-header .mobile-nav .nav-cta:hover {
  background: var(--orange-dark) !important;
}

.neo-site-header .nav-phone {
  color: var(--navy) !important;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.neo-site-header .header-tools {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.neo-site-header .mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.neo-site-header .mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

.neo-site-header .mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 1rem 2rem 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 999;
}

.neo-site-header .mobile-nav.active {
  display: block;
}

.neo-site-header .mobile-nav a {
  display: block;
  padding: 1rem 0;
  color: var(--gray-600);
  font-weight: 500;
  border-bottom: 1px solid var(--gray-100);
  text-decoration: none;
}

.neo-site-header .mobile-nav a:hover {
  color: var(--navy);
}

.neo-site-header .mobile-nav .nav-cta {
  display: inline-block;
  margin-top: 1rem;
  border-bottom: none;
}

.neo-site-footer {
  background: var(--navy-dark);
  color: var(--gray-400);
  padding: 4rem 2rem 2rem;
  margin-top: 3rem;
}

.neo-site-footer a {
  color: var(--gray-400);
  text-decoration: none;
}

.neo-site-footer a:hover {
  color: var(--orange);
}

.neo-site-footer .footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.neo-site-footer .footer-brand h3 {
  font-family: 'DM Serif Display', serif;
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.neo-site-footer .footer-brand p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.neo-site-footer .footer-contact-item {
  margin-bottom: 0.5rem;
}

.neo-site-footer .footer-column h4 {
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.neo-site-footer .footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.neo-site-footer .footer-column li {
  margin-bottom: 0.75rem;
}

.neo-site-footer .footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.neo-cta {
  background: var(--navy);
  color: #fff;
  padding: 1.75rem 2rem;
  border-radius: 8px;
  margin: 2.5rem 0 0;
}

.neo-cta h2,
.neo-cta h3 {
  color: #fff !important;
  margin-top: 0;
}

.neo-cta p:last-child {
  margin-bottom: 0;
}

.neo-cta a {
  color: #fff !important;
  text-decoration: underline;
}

.neo-disclaimer {
  font-size: 0.95rem;
  color: var(--gray-600);
  border-left: 3px solid var(--orange);
  padding: 0.25rem 0 0.25rem 1rem;
  margin: 1.5rem 0;
}

body.neo-blog-shell .wp-block-post-author-name,
body.neo-blog-shell .wp-block-post-date,
body.neo-blog-shell .wp-block-post-terms {
  color: var(--gray-600);
  font-size: 0.95rem;
}

@media (max-width: 1100px) {
  .neo-site-header nav {
    gap: 0.9rem;
  }
  .neo-site-header nav a {
    font-size: 0.88rem;
  }
}

@media (max-width: 968px) {
  .neo-site-header nav {
    display: none;
  }
  .neo-site-header .header-tools,
  .neo-site-header .mobile-menu-btn {
    display: flex;
  }
  .neo-site-header .mobile-menu-btn {
    display: block;
  }
  .neo-site-footer .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  body.neo-blog-shell {
    padding-top: 76px;
  }
  .neo-site-header .header-inner {
    padding: 0.85rem 1rem;
  }
  .neo-site-footer .footer-content {
    grid-template-columns: 1fr;
  }
  .neo-site-footer .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
