/* Shared navigation and compact home introduction. */
.topbar { height: auto; min-height: 64px; gap: 20px; padding-block: 10px; }
.topbar .brand { flex-shrink: 0; }
.nav-links { gap: 18px; flex-shrink: 0; }
.nav-links li { display: flex; align-items: center; gap: 18px; }
.site-search { position: relative; flex: 1 1 520px; max-width: 520px; min-width: 160px; }
.site-search input { display: block; width: 100%; min-width: 0; height: 36px; border: 1px solid #aeb5bd; border-radius: 4px; padding: 7px 12px; background: #fff; color: var(--tad-ink); font: 400 12px/1.5 Inter, sans-serif; }
.site-search input::placeholder { color: #555d66; opacity: 1; }
.site-search input:focus-visible { outline: 2px solid var(--tad-blue); outline-offset: 2px; }
.search-results { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; width: max(100%, 300px); max-width: min(420px, 90vw); max-height: min(440px, 65dvh); overflow-y: auto; padding: 6px; background: #fff; border: 1px solid var(--tad-border); border-radius: 4px; list-style: none; box-shadow: 0 8px 24px rgb(20 30 45 / 12%); scrollbar-color: #66717e #f3f5f7; }
.search-results[hidden] { display: none; }
.search-results a { display: block; padding: 10px; color: var(--tad-ink); text-decoration: none; font-size: 13px; line-height: 1.5; }
.search-results [aria-selected="true"], .search-results a:hover { background: #edf3f8; }
.search-results .search-empty { padding: 12px 10px; color: #555d66; font-size: 13px; }
.search-label, .search-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.doc-card { position: relative; }
.doc-card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.doc-card .service-detail-link { position: relative; z-index: 1; }
.doc-card:has(a:hover) { border-color: var(--tad-blue); }
.doc-card:has(a:focus-visible) { outline: 3px solid var(--tad-blue); outline-offset: 3px; }
.home-hero { padding: 28px 24px; }
.home-hero .hero-eyebrow { margin-bottom: 6px; font-size: 11px; letter-spacing: 1px; }
.home-hero h1 { margin-bottom: 10px; font-size: 42px; line-height: 1.1; }
.home-hero h1 br { display: none; }
.home-hero .hero-desc { max-width: 680px; margin-bottom: 16px; line-height: 1.6; }
.home-hero .hero-btns { margin-bottom: 0; gap: 10px; }
.home-hero .hero-btns a { padding: 9px 16px; font-size: 13px; }
.birth-contents { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.birth-contents a { display: block; margin: 0; padding: 3px 0; line-height: 1.6; }
.birth-contents p { margin: 14px 0 0; }
/* Keep grid children from pushing the contact form beyond a narrow screen. */
.cta-in > * { min-width: 0; }
@media (max-width: 1100px) {
  .topbar { gap: 12px; padding-inline: 20px; }
  .topbar .nav-links { display: flex; gap: 0; }
  .topbar .nav-links > li:not(:has(.nav-cta)) { display: none; }
  .topbar .nav-cta { white-space: nowrap; padding: 9px 12px; font-size: 12px !important; }
  .topbar .mobile-menu { display: block; }
  .site-search { margin-left: auto; }
}
@media (max-width: 600px) {
  .topbar { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; padding: 8px 12px; }
  .site-search { grid-column: 1 / -1; grid-row: 2; width: 100%; max-width: none; min-width: 0; margin: 0; }
  .search-results { width: 100%; max-width: none; }
  .topbar .nav-links { grid-column: 2; grid-row: 1; }
  .topbar .nav-cta { padding: 9px 10px; font-size: 11px !important; }
  .topbar .mobile-menu { grid-column: 3; grid-row: 1; }
  .topbar .mobile-menu summary { padding: 8px 4px; font-size: 12px; }
  .home-hero { padding: 22px 20px; }
  .home-hero h1 { font-size: 32px; }
  .home-hero h1 br { display: initial; }
  .home-hero .hero-desc { font-size: 13px; line-height: 1.55; margin-bottom: 14px; }
  .home-hero .hero-btns a { padding: 9px 13px; font-size: 12px; }
  .birth-contents { gap: 8px; }
}
