/**
 * Long-form article / guide pages (homes-for-sale-windsor-va, why-new-construction, etc.)
 * Loaded from /assets/ so URLs work from any path depth.
 */

/* Guide/article internal pages — fluid type + mobile spacing */
h1 {
  font-size: clamp(1.5rem, 4.5vw, 2.375rem);
  margin-bottom: 1rem;
  line-height: 1.25;
}

h2 {
  font-size: clamp(1.2rem, 3.5vw, 1.6rem);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
}

p {
  font-size: clamp(1rem, 2.8vw, 1.0625rem);
  color: #64748b;
  margin-top: 0.7rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
  word-break: break-word;
}

ul {
  list-style-type: disc;
  margin-left: 1rem;
  padding-left: 1.25rem;
  color: #64748b;
}

@media (max-width: 480px) {
  ul {
    margin-left: 0.75rem;
    padding-left: 1rem;
  }
}

.hero {
  text-align: center;
  padding: 2rem 1rem;
  background: #f7f7f8;
}

@media (min-width: 640px) {
  .hero {
    padding: 3.75rem 1.25rem;
  }
}

.hero h1 {
  font-size: clamp(1.5rem, 5vw, 2.625rem);
}

.cta {
  margin-top: 2rem;
  padding: 1.5rem 1rem;
  background: hsl(217 74% 31%);
  color: #fff;
  text-align: center;
}

@media (min-width: 640px) {
  .cta {
    margin-top: 3.75rem;
    padding: 2.5rem;
  }
}

.cta h2 {
  color: #e1e7ef;
}

.cta a {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.875rem 1.5rem;
  min-height: 44px;
  line-height: 1.25;
  background: #fff;
  color: hsl(217 74% 31%);
  text-decoration: none;
  border-radius: 0.375rem;
  font-weight: 600;
  -webkit-tap-highlight-color: transparent;
}

.cta a:hover {
  opacity: 0.95;
}

.custom-link {
  color: #ea580c;
  text-decoration: none;
  position: relative;
  transition: 0.3s ease;
  font-weight: 700;
}

.custom-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 0.125rem;
  background: #ea580c;
  left: 0;
  bottom: -0.125rem;
  transition: 0.3s;
}

.custom-link:hover {
  color: #c2410c;
  cursor: pointer;
}

.custom-link:hover::after {
  width: 100%;
}

h3 a img {
  transition: 0.3s ease;
}

h3 a:hover img {
  opacity: 0.8;
  transform: scale(1.05);
}
