/* StatesDivorceGuide.com — Editorial Design */

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.075rem;
  line-height: 1.75;
  color: #333;
  background: #fdfdfd;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #6b4c8a; }
a:hover { color: #4a3460; }

/* -------- Top Nav -------- */
.site-nav {
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.site-nav .logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  text-decoration: none;
}
.site-nav .nav-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-nav .nav-links a {
  font-size: 0.9rem;
  color: #555;
  text-decoration: none;
  font-weight: 500;
}
.site-nav .nav-links a:hover { color: #6b4c8a; }

/* -------- Breadcrumbs -------- */
.breadcrumbs {
  max-width: 760px;
  margin: 1rem auto 0;
  padding: 0 1.25rem;
  font-size: 0.82rem;
  color: #888;
}
.breadcrumbs a { color: #888; text-decoration: none; }
.breadcrumbs a:hover { color: #333; text-decoration: underline; }
.breadcrumbs .sep { margin: 0 0.35rem; }

/* -------- Featured Image -------- */
.featured-img {
  max-width: 760px;
  margin: 1.5rem auto 0;
  padding: 0 1.25rem;
}
.featured-img img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 4px;
}
.featured-img .caption {
  font-size: 0.78rem;
  color: #999;
  margin-top: 0.4rem;
}

/* -------- Article Header -------- */
.article-header {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 0;
}
.article-header h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.1rem;
  line-height: 1.25;
  color: #1a1a1a;
  margin: 0 0 0.6rem;
  font-weight: 700;
}
.article-header .byline {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.3rem;
}
.article-header .byline strong { color: #555; font-weight: 600; }

/* -------- Quick Facts -------- */
.quick-facts {
  max-width: 760px;
  margin: 1.5rem auto;
  padding: 0 1.25rem;
}
.quick-facts-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0;
  border: 1px solid #ddd;
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
}
.fact {
  padding: 1rem;
  text-align: center;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.fact:last-child { border-right: 0; }
.fact-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.fact-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #222;
}

/* -------- Stats (existing class) -------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0;
  border: 1px solid #ddd;
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
  margin: 1.5rem 0;
}
.stat-card {
  padding: 1rem;
  text-align: center;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
  background: transparent;
  border-radius: 0;
}
.stat-card:last-child { border-right: 0; }
.stat-card .number {
  font-size: 1.25rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.2rem;
}
.stat-card .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
  font-weight: 600;
}

/* -------- Article Body -------- */
.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
}
.article-body p { margin: 0 0 1.25rem; }
.article-body h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.55rem;
  color: #1a1a1a;
  margin: 2.5rem 0 0.8rem;
  line-height: 1.3;
}
.article-body h3 {
  font-size: 1.2rem;
  color: #333;
  margin: 2rem 0 0.6rem;
  font-weight: 600;
}
.article-body h4 {
  font-size: 1.1rem;
  color: #333;
  margin: 1.5rem 0 0.5rem;
  font-weight: 600;
}
.article-body ul, .article-body ol {
  margin: 0 0 1.25rem 1.5rem;
}
.article-body li { margin-bottom: 0.4rem; }
.article-body strong { color: #222; }

/* -------- Images in content -------- */
.article-body .content-image {
  width: 100%;
  max-width: 100%;
  margin: 1.5rem 0;
  border-radius: 3px;
}
.article-body .image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.article-body .image-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 3px;
}

/* -------- Info / Warning / Success Boxes -------- */
.info-box, .warning-box, .success-box {
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 3px;
  font-size: 0.97rem;
}
.info-box {
  background: #f0f0f6;
  border-left: 3px solid #6b4c8a;
}
.warning-box {
  background: #fdf6ec;
  border-left: 3px solid #c2850c;
}
.success-box {
  background: #f0f6f3;
  border-left: 3px solid #1a6847;
}

/* -------- Tables -------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
th, td {
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}
th {
  background: #f7f6f3;
  font-weight: 600;
  color: #333;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
tr:hover td { background: #fafaf8; }

/* -------- FAQ -------- */
.faq-item {
  border-bottom: 1px solid #eee;
  padding: 1rem 0;
}
.faq-item:last-child { border-bottom: 0; }
.faq-question {
  font-weight: 600;
  color: #222;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}
.faq-answer { color: #555; }

/* -------- Related Resources -------- */
.related {
  background: #f7f6f3;
  border: 1px solid #e8e5df;
  border-radius: 3px;
  padding: 1.5rem;
  margin-top: 2.5rem;
}
.related h3 {
  margin-top: 0;
  font-family: Georgia, 'Times New Roman', serif;
}
.related ul { margin: 0; padding-left: 1.25rem; }
.related li { margin-bottom: 0.4rem; }

/* -------- Footer -------- */
footer {
  background: #2b2b2b;
  color: #aaa;
  padding: 2rem 1.25rem;
  text-align: center;
  margin-top: 3rem;
  font-size: 0.88rem;
}
footer a { color: #ccc; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer .footer-links { margin-bottom: 0.8rem; }
footer .footer-links a { margin: 0 0.5rem; }

/* -------- Homepage -------- */
.hero {
  background: #f7f6f3;
  padding: 3rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid #e8e5df;
}
.hero h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.4rem;
  color: #1a1a1a;
  margin-bottom: 0.8rem;
}
.hero .tagline {
  font-size: 1.1rem;
  color: #555;
  max-width: 680px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}
.home-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}
.section-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.6rem;
  color: #1a1a1a;
  margin: 2.5rem 0 0.5rem;
}
.section-subtitle {
  color: #777;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.state-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.state-grid a {
  display: block;
  padding: 0.6rem 0.75rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 2px;
  text-decoration: none;
  color: #333;
  font-size: 0.92rem;
  transition: background 0.15s;
}
.state-grid a:hover { background: #f7f6f3; color: #6b4c8a; }
.state-grid .fee {
  float: right;
  font-weight: 600;
  color: #6b4c8a;
  font-size: 0.85rem;
}

/* -------- Mobile -------- */
@media (max-width: 640px) {
  .article-header h1 { font-size: 1.65rem; }
  .featured-img img { height: 200px; }
  .quick-facts-inner, .stats { grid-template-columns: 1fr 1fr; }
  .article-body .image-grid { grid-template-columns: 1fr; }
  .article-body .image-grid img { height: 180px; }
  .site-nav { padding: 0.7rem 1rem; }
  .hero h1 { font-size: 1.8rem; }
}
