/* Shared styles for static content pages (test landing pages, guides, blog).
   Loaded after /css/styles.css, which supplies the nav, footer and design tokens. */

.blog-nav { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 2rem; height: 60px; }
.blog-back { font-family: 'Outfit', sans-serif; font-size: 0.85rem; color: #1a7f74; text-decoration: none; font-weight: 500; }
.blog-back:hover { text-decoration: underline; }

.article-container { max-width: 680px; margin: 0 auto; padding: 2rem 1.5rem; }
.article-header { margin-bottom: 2rem; padding-top: 2rem; }
.article-tag { font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; font-weight: 500; color: #1a7f74; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.8rem; }
.article-header h1 { font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 900; color: #1a2236; line-height: 1.2; margin-bottom: 0.8rem; }
.article-meta { font-size: 0.8rem; color: #9ca3af; }

.article-body { font-family: 'Outfit', sans-serif; font-size: 1rem; line-height: 1.8; color: #374151; }
.article-body h2 { font-family: 'Fraunces', serif; font-size: 1.4rem; font-weight: 700; color: #1a2236; margin-top: 2.5rem; margin-bottom: 0.8rem; }
.article-body h3 { font-family: 'Fraunces', serif; font-size: 1.15rem; font-weight: 600; color: #1a2236; margin-top: 2rem; margin-bottom: 0.6rem; }
.article-body p { margin-bottom: 1.2rem; }
.article-body ul, .article-body ol { margin-bottom: 1.2rem; padding-left: 1.5rem; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 0.5rem; }
.article-body strong { color: #1a2236; }
.article-body a { color: #1a7f74; }
.article-body blockquote { border-left: 3px solid #1a7f74; padding-left: 1.2rem; margin: 1.5rem 0; font-style: italic; color: #4b5563; }

.article-cta { background: #1a2236; color: white; border-radius: 16px; padding: 2rem; text-align: center; margin-top: 3rem; }
.article-cta h3 { font-family: 'Fraunces', serif; color: white; margin-bottom: 0.5rem; font-size: 1.2rem; margin-top: 0; }
.article-cta p { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-bottom: 1rem; }
.article-cta a { display: inline-block; background: #1a7f74; color: white; padding: 0.7rem 2rem; border-radius: 100px; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.article-cta a:hover { background: #158a7d; }
.author-bio { margin-top: 2.5rem; padding: 1.5rem; background: #f4f2ee; border-radius: 12px; border: 1px solid #e2ddd6; font-size: 0.92rem; line-height: 1.65; color: #4b5563; }
.author-bio a { color: #1a7f74; text-decoration: none; font-weight: 500; margin-left: 0.35rem; }
.author-bio a:hover { text-decoration: underline; }
.article-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #e2ddd6; }
.article-nav a { font-size: 0.85rem; color: #1a7f74; text-decoration: none; }
.article-nav a:hover { text-decoration: underline; }

.table-scroll { overflow-x: auto; margin-bottom: 1.5rem; -webkit-overflow-scrolling: touch; }
.article-body table { width: 100%; border-collapse: collapse; margin-bottom: 0; font-size: 0.9rem; }
.article-body th { background: #f4f2ee; text-align: left; padding: 0.7rem 1rem; font-weight: 600; color: #1a2236; border-bottom: 2px solid #e2ddd6; white-space: nowrap; }
.article-body td { padding: 0.6rem 1rem; border-bottom: 1px solid #e2ddd6; }
.article-body tr:hover { background: #faf9f7; }

/* Guide feature image */
.guide-feature { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; border: 1px solid #e2ddd6; margin-bottom: 2rem; background: #f4f2ee; display: block; }

/* ── Test landing pages ─────────────────────────────────────────────────── */
.test-hero { background: #f4f2ee; border: 1px solid #e2ddd6; border-radius: 18px; padding: 2rem 1.6rem; margin-bottom: 2.4rem; }
.test-hero h1 { font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 900; color: #1a2236; line-height: 1.15; margin: 0.6rem 0 0.7rem; }
.test-hero .lede { font-family: 'Outfit', sans-serif; font-size: 1.02rem; line-height: 1.65; color: #4b5563; margin-bottom: 1.4rem; }
.test-facts { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.4rem; padding: 0; list-style: none; }
.test-facts li { font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; letter-spacing: 0.03em; text-transform: uppercase; color: #1a7f74; background: rgba(26,127,116,0.09); border-radius: 100px; padding: 0.38rem 0.8rem; }
.btn-start { display: inline-block; background: #1a7f74; color: #fff; font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1rem; padding: 0.9rem 2.2rem; border-radius: 100px; text-decoration: none; }
.btn-start:hover { background: #158a7d; }
.start-note { font-size: 0.78rem; color: #9ca3af; margin: 0.7rem 0 0; }

.sample-q { background: #fff; border: 1px solid #e2ddd6; border-radius: 14px; padding: 1.4rem 1.5rem; margin-bottom: 1.4rem; }
.sample-q .q-text { font-family: 'Outfit', sans-serif; font-weight: 600; color: #1a2236; margin-bottom: 0.9rem; }
.sample-q ol { margin: 0 0 0.6rem; padding-left: 1.5rem; list-style: upper-alpha; }
.sample-q details { margin-top: 0.9rem; border-top: 1px solid #f0ece5; padding-top: 0.8rem; }
.sample-q summary { cursor: pointer; color: #1a7f74; font-weight: 600; font-size: 0.9rem; }
.sample-q details p { margin: 0.7rem 0 0; font-size: 0.92rem; }

.faq-list { margin-top: 1rem; }
.faq-list details { border-bottom: 1px solid #e2ddd6; padding: 0.9rem 0; }
.faq-list summary { cursor: pointer; font-family: 'Outfit', sans-serif; font-weight: 600; color: #1a2236; font-size: 0.98rem; }
.faq-list details p { margin: 0.7rem 0 0; font-size: 0.95rem; }

/* .article-body ul sets list-style/padding, so these need to out-specify it. */
.link-grid, .article-body ul.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.7rem; margin-top: 1rem; margin-bottom: 1.2rem; padding-left: 0; list-style: none; }
.link-grid li, .article-body ul.link-grid li { margin: 0; list-style: none; }
.test-facts, .article-body ul.test-facts { padding-left: 0; list-style: none; }
.link-grid a { display: block; border: 1px solid #e2ddd6; border-radius: 12px; padding: 0.85rem 1rem; text-decoration: none; background: #fff; height: 100%; }
.link-grid a:hover { border-color: #1a7f74; }
.link-grid .lg-title { font-family: 'Outfit', sans-serif; font-weight: 600; color: #1a2236; font-size: 0.92rem; display: block; margin-bottom: 0.2rem; }
.link-grid .lg-sub { font-size: 0.8rem; color: #6b7280; display: block; line-height: 1.45; }

@media (max-width: 520px) {
  .article-header h1, .test-hero h1 { font-size: 1.6rem; }
  .article-container { padding: 1.5rem 1.1rem; }
  .test-hero { padding: 1.5rem 1.2rem; }
  .btn-start { display: block; text-align: center; }
}
