/* Neurodiversity Journal — shared styles, matches site brand fonts/colors */
:root {
  --nj-accent: #4f9e8a;
  --nj-accent-dark: #3c7c6c;
  --nj-text: #2b2823;
  --nj-bg: #faf9f7;
  --nj-card-bg: #ffffff;
  --nj-border: #e7e4de;
}
.nj-wrap {
  background: var(--nj-bg);
  color: var(--nj-text);
  min-height: 100vh;
}
.nj-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  font-family: 'Lato', Arial, sans-serif;
  line-height: 1.7;
  font-size: 1.05rem;
}
.nj-container h1, .nj-container h2, .nj-container h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--nj-text);
  line-height: 1.25;
}
.nj-container h1 { font-size: 2rem; margin-bottom: 4px; }
.nj-container h2 { font-size: 1.4rem; margin-top: 2.2em; border-bottom: 2px solid var(--nj-accent); padding-bottom: 6px; }
.nj-container h3 { font-size: 1.15rem; margin-top: 1.8em; color: var(--nj-accent-dark); }
.nj-container p { margin: 1em 0; }
.nj-container ul { padding-left: 1.4em; margin: 1em 0; }
.nj-container li { margin: 0.4em 0; }
.nj-meta {
  font-size: 0.9rem;
  color: #7a756c;
  margin-bottom: 2em;
}
.nj-breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 1.5em;
}
.nj-breadcrumb a { color: var(--nj-accent-dark); text-decoration: none; }
.nj-breadcrumb a:hover { text-decoration: underline; }
.nj-container a { color: var(--nj-accent-dark); }
blockquote {
  border-left: 4px solid var(--nj-accent);
  margin: 2em 0;
  padding: 0.5em 1.5em;
  font-style: italic;
  font-size: 1.2rem;
  background: var(--nj-card-bg);
}
blockquote cite {
  display: block;
  margin-top: 0.6em;
  font-style: normal;
  font-size: 0.95rem;
  color: #7a756c;
}
.callout {
  background: var(--nj-card-bg);
  border: 1px solid var(--nj-border);
  border-left: 4px solid var(--nj-accent);
  border-radius: 6px;
  padding: 1.2em 1.5em;
  margin: 2em 0;
}
.callout h2 { margin-top: 0; border-bottom: none; padding-bottom: 0; }
.faq-callout h3.faq-q { font-size: 1.05rem; margin-top: 1.2em; margin-bottom: 0.3em; color: var(--nj-text); }
.faq-callout p.faq-a { margin-top: 0; }
.references { font-size: 0.92rem; color: #55514a; margin: 2.5em 0; }
.references h2 { border-bottom: none; }
.related-articles { margin: 2.5em 0; }
.related-list { list-style: none; padding-left: 0; }
.related-list li a {
  display: inline-block;
  padding: 6px 0;
  font-weight: 600;
}
aside.perspective {
  background: #f1f7f5;
  border-radius: 6px;
  padding: 1.4em 1.6em;
  margin: 2.5em 0;
  font-style: italic;
}
.perspective-label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--nj-accent-dark);
  margin-bottom: 0.8em;
}
.nj-hero {
  background: linear-gradient(135deg, #eef6f4 0%, #f7f2ea 100%);
  border-bottom: 1px solid var(--nj-border);
  text-align: center;
  padding: 3.5em 24px 3em;
}
.nj-hero h1 {
  font-size: 2.4rem;
  margin: 0 0 0.4em;
}
.nj-hero p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.15rem;
  color: #55514a;
}
.nj-btn {
  display: inline-block;
  background: var(--nj-accent);
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(79,158,138,0.3);
}
.nj-btn:hover { background: var(--nj-accent-dark); }
.nj-section { padding: 3em 0; }
.nj-section-alt { background: #f4f2ee; }
.nj-section-inner { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.nj-section h2 { text-align: center; margin-top: 0; border-bottom: none; font-size: 1.8rem; }
.nj-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2em;
  margin-top: 2em;
}
.nj-service-card {
  background: #fff;
  border: 1px solid var(--nj-border);
  border-radius: 10px;
  padding: 1.6em;
  box-shadow: 0 2px 8px rgba(43,40,35,0.05);
  text-decoration: none;
  color: var(--nj-text);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nj-service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(43,40,35,0.1);
  border-color: var(--nj-accent);
}
.nj-service-card h3 {
  margin: 0 0 0.5em;
  font-size: 1.1rem;
  color: var(--nj-text);
}
.nj-service-card p { margin: 0; color: #55514a; font-size: 0.95rem; }
.nj-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2em;
  margin: 2em 0;
}
.nj-info-card {
  background: #fff;
  border: 1px solid var(--nj-border);
  border-left: 4px solid var(--nj-accent);
  border-radius: 8px;
  padding: 1.2em 1.4em;
}
.nj-info-card h3 {
  margin: 0 0 0.3em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.nj-info-card p { margin: 0; color: #55514a; font-size: 0.95rem; }
.nj-note {
  background: #f1f7f5;
  border-radius: 8px;
  padding: 1.2em 1.4em;
  margin: 2em 0;
  font-size: 0.95rem;
}
.nj-cta {
  margin-top: 3em;
  padding: 1.5em;
  background: var(--nj-accent);
  color: #fff;
  border-radius: 8px;
  text-align: center;
}
.nj-cta a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}
.nj-header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--nj-border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(43,40,35,0.06);
}
.nj-header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.nj-header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--nj-text);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}
.nj-header-logo img { height: 40px; width: auto; }
.nj-header-nav {
  display: flex;
  gap: 1.3em;
  flex-wrap: wrap;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 0.95rem;
}
.nj-header-nav a {
  color: var(--nj-text);
  text-decoration: none;
  font-weight: 600;
}
.nj-header-nav a:hover { color: var(--nj-accent-dark); }
.nj-header-nav a.current { color: var(--nj-accent-dark); border-bottom: 2px solid var(--nj-accent); }
.nj-menu-toggle-checkbox { display: none; }
.nj-menu-toggle-label {
  display: none;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  padding: 4px 8px;
  color: var(--nj-text);
}
@media (max-width: 720px) {
  .nj-menu-toggle-label { display: block; }
  .nj-header-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    order: 3;
  }
  .nj-header-nav a {
    padding: 10px 0;
    border-bottom: 1px solid var(--nj-border);
  }
  .nj-menu-toggle-checkbox:checked ~ .nj-header-nav { display: flex; }
  .nj-header-inner { position: relative; }
}
.nj-footer {
  background: #2b2823;
  color: #e7e4de;
  margin-top: 3em;
}
.nj-footer-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5em 24px;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 0.92rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: space-between;
}
.nj-footer h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.95rem;
  color: #fff;
  margin: 0 0 0.8em;
}
.nj-footer a { color: #cfd0cb; text-decoration: none; }
.nj-footer a:hover { color: #fff; }
.nj-footer ul { list-style: none; padding: 0; margin: 0; }
.nj-footer li { margin: 0.4em 0; }
.nj-footer-bottom {
  border-top: 1px solid #454138;
  text-align: center;
  padding: 1.2em 24px;
  font-size: 0.85rem;
  color: #a8a59d;
}
.nj-form label { display: block; font-weight: 600; margin: 1em 0 0.3em; font-family: 'Montserrat', Arial, sans-serif; }
.nj-form input, .nj-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--nj-border);
  border-radius: 6px;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  box-sizing: border-box;
}
.nj-form textarea { min-height: 140px; resize: vertical; }
.nj-form button {
  margin-top: 1.5em;
  background: var(--nj-accent);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}
.nj-form button:hover { background: var(--nj-accent-dark); }
.nj-cards {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
  margin-top: 2em;
}
.nj-card {
  background: var(--nj-card-bg);
  border: 1px solid var(--nj-border);
  border-radius: 8px;
  padding: 1.5em;
  display: block;
  text-decoration: none;
  color: var(--nj-text);
}
.nj-card:hover { border-color: var(--nj-accent); }
.nj-card h2 { margin: 0 0 0.3em; border: none; padding: 0; font-size: 1.25rem; }
.nj-card p { margin: 0; color: #55514a; }
.nj-card .nj-read-time { color: var(--nj-accent-dark); font-size: 0.85rem; font-weight: 600; margin-top: 0.6em; display: block; }
