/* Guide to Surrogacy — Clean Medical Authority Theme */
/* Color: Deep navy + soft teal + white */

:root {
  --navy: #1B2A4A;
  --teal: #4ECDC4;
  --teal-dark: #3BA99C;
  --white: #ffffff;
  --gray-50: #F8FAFB;
  --gray-100: #F0F4F7;
  --gray-200: #E2E8F0;
  --gray-600: #4A5568;
  --gray-800: #2D3748;
  --text: #1a202c;
  --text-light: #4a5568;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

/* Header */
.site-header {
  background: var(--navy);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  font-family: 'Source Serif 4', serif;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--teal); }

/* Main content */
.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
}

/* Article */
.article-content {
  min-width: 0;
}

.article-content h1 {
  font-family: 'Source Serif 4', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.article-content h2 {
  font-family: 'Source Serif 4', serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gray-200);
}

.article-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-content p {
  margin-bottom: 1.2rem;
  color: var(--text-light);
}

.article-content strong {
  color: var(--text);
  font-weight: 600;
}

.article-content ul, .article-content ol {
  margin-bottom: 1.2rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.article-content blockquote {
  border-left: 4px solid var(--teal);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--gray-50);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.article-content th {
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
}

.article-content td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.article-content tr:nth-child(even) {
  background: var(--gray-50);
}

.article-content a {
  color: var(--teal-dark);
  text-decoration: underline;
}

.article-content hr {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 2.5rem 0;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 5rem;
  height: fit-content;
}

.cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, #2a3f6a 100%);
  color: var(--white);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.cta-box h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  font-family: 'Source Serif 4', serif;
}

.cta-box p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 1.25rem;
}

.cta-button {
  display: inline-block;
  background: var(--teal);
  color: var(--navy);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.cta-button:hover { background: #5CE0D6; }

.author-box {
  background: var(--gray-50);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
}

.author-box img {
  border-radius: 50%;
  margin-bottom: 0.75rem;
}

.author-box h4 {
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.author-box p {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Footer */
.site-footer {
  background: var(--gray-100);
  padding: 3rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.disclaimer {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--white);
  border-radius: 8px;
  border-left: 3px solid var(--teal);
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-nav a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.85rem;
}

.copyright {
  font-size: 0.8rem;
  color: var(--gray-600);
}

/* Responsive */
@media (max-width: 900px) {
  .content-wrapper {
    grid-template-columns: 1fr;
  }
  .nav-links { display: none; }
  .article-content h1 { font-size: 1.8rem; }
}
