/* monizhealth-style.css v2 — medical-lane overlay on dmmz-style.css v1.2.1
 * Follows the davidmoniz-web-design skill exactly:
 *  - Chrome (header/nav/footer) = dark navy brand (from dmmz base)
 *  - Design pages (About, The Vault) = full dark app-landing: hero + feature grid + sections
 *  - Reading pages (Medical Review Policy, Contact) = clean white reading card
 */
:root {
  --mh-medical: #1a3a5c;
  --mh-medical-light: #2b6cb0;
}

/* ══ Nav CTA: The Vault (instead of newsletter) ══ */
.main-navigation .main-nav ul li a[href*="physicians-vault"] {
  background: var(--dm-accent) !important;
  color: #ffffff !important;
  border-radius: var(--dm-radius-sm);
  padding: 10px 18px !important;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(43,108,176,0.28);
}
.main-navigation .main-nav ul li a[href*="physicians-vault"]:hover {
  background: var(--dm-accent-light) !important;
  color: #ffffff !important;
}
@media (max-width: 768px) {
  .main-navigation .main-nav ul li a[href*="physicians-vault"] { width: 100%; text-align: center; }
}

/* ══ Default reading surface: WHITE CARD (reading pages: 21 Contact, 24 Policy + published posts) ══ */
.entry-content {
  background: #ffffff;
  color: #1a1a1a;
  border-radius: var(--dm-radius);
  padding: 44px 52px;
  margin: 1.5em auto 3em;
  box-shadow: var(--dm-shadow-sm);
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: #1a3a5c !important;
  font-family: var(--dm-font-head);
}
.entry-content h1 { font-size: 1.9rem; }
.entry-content h2 {
  font-size: 1.5rem;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0.4em;
  margin-top: 1.6em;
}
.entry-content h3 { font-size: 1.25rem; margin-top: 1.4em; }
.entry-content p { color: #2d3748; line-height: 1.75; }
.entry-content a { color: var(--mh-medical-light); text-decoration: underline; }
.entry-content a:hover { color: var(--mh-medical); }
.entry-content ul { color: #2d3748; line-height: 1.7; padding-left: 1.4em; }
.entry-content li { margin-bottom: 0.4em; }
.entry-content blockquote {
  border-left: 4px solid var(--mh-medical);
  background: #f4f7fb;
  padding: 16px 22px;
  color: #2d3748;
  font-style: italic;
  border-radius: 0 10px 10px 0;
}
.entry-content img { border-radius: 10px; max-width: 100%; height: auto; }

/* ── Dark design pages: About (20) + Physicians Vault (28) — full dark app-landing ──
   These pages lead with .dm-hero / .dm-feature-grid — no white card, straight dark chrome. */
.page-id-20 .entry-content,
.page-id-28 .entry-content {
  background: transparent;
  color: var(--dm-text);
  box-shadow: none;
  border-radius: 0;
  padding: 2vh 24px 6vh;
  max-width: 1080px;
  margin: 0 auto;
}
.page-id-20 .entry-content h1,
.page-id-20 .entry-content h2,
.page-id-20 .entry-content h3,
.page-id-28 .entry-content h1,
.page-id-28 .entry-content h2,
.page-id-28 .entry-content h3 {
  color: var(--dm-text) !important;
}
.page-id-20 .entry-content p,
.page-id-28 .entry-content p {
  color: var(--dm-muted-light);
}
.page-id-20 .entry-content a:not(.dm-button):not(.dm-button-secondary),
.page-id-28 .entry-content a:not(.dm-button):not(.dm-button-secondary) {
  color: var(--dm-accent-light);
  text-decoration: none;
}
.page-id-20 .entry-content a:not(.dm-button):hover,
.page-id-28 .entry-content a:not(.dm-button):hover {
  text-decoration: underline;
}
.page-id-20 .dm-card,
.page-id-28 .dm-card {
  color: var(--dm-text);
}
.page-id-20 .dm-card p,
.page-id-28 .dm-card p {
  color: var(--dm-muted-light) !important;
}
.page-id-20 .dm-card h3,
.page-id-28 .dm-card h3 {
  color: var(--dm-text) !important;
}

/* ══ Component extras (missing from base dmmz v1.2.1) ══ */
.dm-hero-avatar {
  display: block;
  width: 132px;
  height: 132px;
  margin: 0 auto 1.6em;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--dm-border);
  box-shadow: var(--dm-shadow-sm);
}
.dm-cred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 1.6em 0 2.4em;
}
.dm-cred-grid > div {
  background: transparent;
}
.dm-cred-grid strong {
  display: block;
  font-family: var(--dm-font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dm-text);
  margin-bottom: 0.7em;
}
.dm-cred-grid ul {
  margin: 0;
  padding-left: 1.1em;
}
.dm-cred-grid li {
  color: var(--dm-muted-light) !important;
  margin-bottom: 0.45em;
}
.dm-callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--dm-surface);
  border: 1px solid var(--dm-border);
  border-left: 4px solid var(--dm-accent-light);
  border-radius: var(--dm-radius-sm);
  padding: 22px 24px;
  margin: 1.6em 0;
}
.dm-callout-emoji { font-size: 1.5rem; line-height: 1.3; }
.dm-callout-text { color: var(--dm-muted-light) !important; line-height: 1.7; }
.dm-callout-text b { color: var(--dm-text); }
.dm-meta { color: #718096; font-size: 0.9rem; margin-bottom: 2em; }

/* ── MailerLite subscribe form (About page, dark panel) ── */
#stay-informed.dm-signup-panel {
  margin-top: 4vh;
  margin-bottom: 2vh;
}
.dm-subscribe-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 520px;
  margin: 0 auto;
}
.dm-subscribe-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  background: var(--dm-surface-2);
  border: 1px solid var(--dm-border);
  color: var(--dm-text);
  border-radius: var(--dm-radius-sm);
  padding: 12px 16px;
  font-family: var(--dm-font-body);
  font-size: 1rem;
  outline: none;
}
.dm-subscribe-form input[type="email"]:focus {
  border-color: var(--dm-accent-light);
  box-shadow: 0 0 0 3px rgba(66,153,225,0.15);
}
.dm-subscribe-form input[type="email"]::placeholder { color: var(--dm-muted); }
.dm-subscribe-note {
  color: var(--dm-muted);
  font-size: 0.88rem;
  margin-top: 1.2em;
}
.dm-subscribe-ok,
.dm-subscribe-err {
  max-width: 520px;
  margin: 0.8em auto 0;
  border-radius: var(--dm-radius-sm);
  padding: 10px 14px;
  font-size: 0.92rem;
}
.dm-subscribe-ok { background: rgba(72,187,120,0.12); border: 1px solid rgba(72,187,120,0.4); color: #9ae6b4; }
.dm-subscribe-err { background: rgba(245,101,101,0.12); border: 1px solid rgba(245,101,101,0.4); color: #feb2b2; }

/* ── Contact page (21) — centered avatar + panel ── */
.dm-contact-wrap {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 1em 0;
}
.dm-contact-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e2e8f0;
  box-shadow: var(--dm-shadow-sm);
  margin: 0 auto 1.1em;
  display: block;
}
.dm-contact-intro {
  font-size: 1.2rem !important;
  font-weight: 600;
  color: #1a3a5c !important;
}
.dm-contact-wrap ul {
  list-style: none;
  padding: 0 !important;
  margin: 0 0 1.6em;
}
.dm-contact-wrap ul li {
  margin-bottom: 0.6em;
}

/* ══ Footer ══ */
.site-info {
  border-top: 1px solid var(--dm-border) !important;
}
.site-info p {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.86rem;
  color: var(--dm-muted);
}

@media (max-width: 900px) {
  .dm-cred-grid, .dm-feature-grid { grid-template-columns: 1fr; }
}
