
/* Doctor Robert — static staging polish (medical / calm) */
:root {
  --dr-ink: #1a2b3c;
  --dr-muted: #5a6b7d;
  --dr-accent: #1a6b7c;
  --dr-accent-2: #2a9aad;
  --dr-teal-soft: #e6f4f6;
  --dr-surface: #f5f8fa;
  --dr-line: #d8e2e8;
  --dr-white: #ffffff;
  --dr-radius: 14px;
  --dr-max: 1080px;
  --dr-shadow: 0 10px 30px rgba(26, 43, 60, 0.08);
}

html { scroll-behavior: smooth; }
body {
  color: var(--dr-ink);
  background: var(--dr-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Soften WP/Astra chrome */
#wpadminbar, .ast-above-header, .ast-below-header-bar,
.widget:empty, .ast-breadcrumbs-wrapper:empty {
  display: none !important;
}
.ast-site-identity .site-description { display: none !important; }

/* Sticky header */
.main-header-bar-wrap,
.ast-primary-header-bar,
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.96) !important;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--dr-line);
  box-shadow: 0 1px 0 rgba(26,43,60,0.04);
}
.main-header-bar { padding: 0.35rem 0 !important; }

.site-branding,
.ast-site-identity {
  display: flex !important;
  align-items: center;
  gap: 0.75rem;
}
.site-title a {
  color: var(--dr-ink) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  text-decoration: none !important;
  font-size: 1.35rem !important;
}
.site-title a::before {
  content: "";
  display: inline-block;
  width: 36px;
  height: 36px;
  margin-right: 0.55rem;
  vertical-align: middle;
  border-radius: 50%;
  background: url("/wp-content/uploads/2021/02/cropped-Doctor-Rob.google-news-logo-192x192.png") center/cover no-repeat;
  box-shadow: 0 0 0 2px var(--dr-teal-soft);
}

.main-header-menu,
.ast-nav-menu {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.15rem;
  align-items: center;
}
.main-header-menu > .menu-item > .menu-link,
.ast-nav-menu .menu-link {
  color: var(--dr-ink) !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  padding: 0.55rem 0.95rem !important;
  border-radius: 999px !important;
  transition: background .15s ease, color .15s ease;
}
.main-header-menu > .menu-item > .menu-link:hover,
.main-header-menu > .current-menu-item > .menu-link,
.ast-nav-menu .menu-link:hover {
  background: var(--dr-teal-soft) !important;
  color: var(--dr-accent) !important;
}

/* Content column */
.site-content,
#content,
.ast-container {
  max-width: var(--dr-max);
}
#primary, .content-area, .entry-content {
  max-width: var(--dr-max);
}
.entry-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--dr-ink);
}
.entry-content > p,
.fl-rich-text p {
  margin-bottom: 1.1rem;
  line-height: 1.75;
}
.entry-title {
  letter-spacing: -0.02em;
  color: var(--dr-ink);
  margin-bottom: 1rem;
}
.entry-content img,
.fl-module img {
  border-radius: 10px;
  max-width: 100%;
  height: auto;
}

/* Buttons / CTAs */
.dr-btn,
.ast-button,
.wp-block-button__link,
button[type="submit"],
input[type="submit"],
.fl-button {
  display: inline-block;
  background: var(--dr-accent) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 0.8rem 1.35rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(26,107,124,0.25);
  transition: transform .15s ease, background .15s ease;
}
.dr-btn:hover,
.ast-button:hover,
.wp-block-button__link:hover {
  background: var(--dr-accent-2) !important;
  transform: translateY(-1px);
}
.dr-btn-ghost {
  background: transparent !important;
  color: var(--dr-accent) !important;
  box-shadow: none !important;
  border: 2px solid var(--dr-accent) !important;
}
a { color: var(--dr-accent); }
a:hover { color: var(--dr-accent-2); }

/* Hero */
.dr-hero {
  background: linear-gradient(135deg, #0f3d48 0%, #1a6b7c 55%, #2a9aad 100%);
  color: #fff;
  border-radius: 0 0 24px 24px;
  margin: 0 0 2rem;
  overflow: hidden;
}
.dr-hero-inner {
  max-width: var(--dr-max);
  margin: 0 auto;
  padding: 2.75rem 1.5rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}
.dr-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  opacity: 0.85;
  margin: 0 0 0.75rem;
  font-weight: 600;
}
.dr-hero h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  color: #fff !important;
}
.dr-hero-lead {
  font-size: 1.08rem;
  line-height: 1.65;
  opacity: 0.95;
  margin: 0 0 1.5rem;
  max-width: 38rem;
}
.dr-hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.dr-hero-cta .dr-btn { background: #fff !important; color: var(--dr-accent) !important; box-shadow: none; }
.dr-hero-cta .dr-btn-ghost { border-color: #fff !important; color: #fff !important; background: transparent !important; }
.dr-hero-media {
  border-radius: var(--dr-radius);
  overflow: hidden;
  box-shadow: var(--dr-shadow);
  border: 3px solid rgba(255,255,255,0.25);
}
.dr-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
}

/* Blog cards */
.dr-blog-section {
  max-width: var(--dr-max);
  margin: 0 auto 2.5rem;
  padding: 0 1.25rem;
}
.dr-blog-section h2 {
  font-size: 1.65rem;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
  color: var(--dr-ink);
}
.dr-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.dr-card {
  background: var(--dr-white);
  border: 1px solid var(--dr-line);
  border-radius: var(--dr-radius);
  overflow: hidden;
  box-shadow: var(--dr-shadow);
  transition: transform .15s ease, box-shadow .15s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit !important;
}
.dr-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(26,43,60,0.12);
}
.dr-card-img {
  aspect-ratio: 16/10;
  background: var(--dr-teal-soft);
  overflow: hidden;
}
.dr-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 !important;
}
.dr-card-body { padding: 1rem 1.1rem 1.2rem; }
.dr-card-body h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0 0 0.4rem;
  color: var(--dr-ink);
}
.dr-card-body p {
  margin: 0;
  color: var(--dr-muted);
  font-size: 0.9rem;
}

/* About / doctors split */
.dr-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.75rem;
  align-items: start;
  margin: 0 0 1.75rem;
}
.dr-split-media {
  border-radius: var(--dr-radius);
  overflow: hidden;
  box-shadow: var(--dr-shadow);
  border: 1px solid var(--dr-line);
  position: sticky;
  top: 5.5rem;
}
.dr-split-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0 !important;
}
.dr-split-copy .dr-eyebrow {
  color: var(--dr-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  margin: 0 0 0.5rem;
}

/* Contact */
.dr-static-note {
  background: #fff8e8;
  border: 1px solid #f0d9a0;
  color: #5c4813;
  border-radius: var(--dr-radius);
  padding: 1rem 1.15rem;
  margin: 1rem 0 1.5rem;
  line-height: 1.5;
  font-size: 0.98rem;
}
.dr-static-note strong { color: #3f320d; }
.dr-contact-card {
  background: var(--dr-surface);
  border: 1px solid var(--dr-line);
  border-radius: var(--dr-radius);
  padding: 1.35rem 1.5rem;
  margin: 0 0 1.75rem;
}
.dr-contact-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  color: var(--dr-accent);
}
.dr-contact-card p { margin: 0.45rem 0; color: var(--dr-ink); }
.dr-contact-card a { font-weight: 600; }

/* Blog archive cards */
.blog .ast-article-post,
.archive .ast-article-post,
.blog .post,
.archive .post {
  border: 1px solid var(--dr-line);
  border-radius: var(--dr-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--dr-shadow);
  margin-bottom: 1.5rem !important;
  padding: 0 !important;
}
.blog .post-thumb img,
.archive .post-thumb img,
.blog .post-thumb-img-content img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 0 !important;
}
.blog .entry-title a,
.archive .entry-title a {
  color: var(--dr-ink) !important;
  text-decoration: none !important;
}
.blog .entry-title a:hover { color: var(--dr-accent) !important; }

/* Forms soft-disable */
form.dr-disabled,
.entry-content form,
.gform_wrapper,
.wpforms-form {
  opacity: 0.88;
  pointer-events: none;
  filter: grayscale(0.05);
}
.entry-content form {
  background: var(--dr-surface);
  border: 1px solid var(--dr-line);
  border-radius: var(--dr-radius);
  padding: 1.25rem;
}

/* Footer */
.site-footer,
.ast-footer-overlay,
footer#colophon {
  background: #12333c !important;
  color: #c5d8de !important;
  margin-top: 2.5rem;
  padding: 2rem 0 1.5rem !important;
}
.site-footer a,
.ast-footer-overlay a,
footer#colophon a {
  color: #e8f4f6 !important;
}
.site-footer .widget-title { color: #fff !important; }

/* Prose wrap on home after hero */
.dr-prose-wrap {
  max-width: var(--dr-max);
  margin: 0 auto 2rem;
  padding: 0 1.25rem 1rem;
}
.dr-prose-wrap .fl-rich-text {
  background: var(--dr-surface);
  border: 1px solid var(--dr-line);
  border-radius: var(--dr-radius);
  padding: 1.5rem 1.6rem;
}

p:empty { display: none; }

@media (max-width: 900px) {
  .dr-hero-inner,
  .dr-split,
  .dr-cards {
    grid-template-columns: 1fr;
  }
  .dr-split-media { position: static; }
  .dr-hero-media img { max-height: 260px; }
  .main-header-menu > .menu-item > .menu-link {
    padding: 0.45rem 0.7rem !important;
    font-size: 0.82rem !important;
  }
}
