/* Shared styles for The Healthcare Growth Playbook */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #E9A23B; outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: 16px; top: -60px; background: #12241F; color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 10; text-decoration: none; font-family: 'Instrument Sans', system-ui, sans-serif; }
.skip-link:focus { top: 12px; color: #fff; }

/* FAQ accordion (Work With Me) */
.faq { border-top: 1px solid #D9DED9; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; min-height: 44px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon::before { content: '+'; font-size: 24px; color: #1D4A3F; font-weight: 400; }
.faq[open] .faq-icon::before { content: '−'; }
.faq p { margin: 0; padding: 0 0 24px; color: #3F4E49; }

/* Contact topic pills */
.pill { position: relative; display: inline-flex; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span { font-size: 15px; font-weight: 600; min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; border: 1.5px solid #9AA8A3; color: #12241F; }
.pill input:checked + span { background: #12241F; color: #fff; border-color: #12241F; }
.pill input:focus-visible + span { outline: 3px solid #E9A23B; outline-offset: 2px; }

input:focus, textarea:focus { outline: 3px solid #E9A23B; outline-offset: 1px; border-color: #1D4A3F !important; }

/* Phones */
@media (max-width: 720px) {
  body { font-size: 16px; }
  header nav { gap: 6px 18px !important; font-size: 15px !important; }
  section > div[style*="padding: 48px"], section > div[style*="padding: 40px"] { padding: 28px !important; }
  div[style*="padding: 40px"] { padding: 24px !important; }
  li[style*="grid-template-columns: 1"] { grid-template-columns: minmax(0, 1fr) !important; gap: 6px !important; }
}

/* Blog post cards */
.post-card { text-decoration: none; color: #12241F; background: #FFFFFF; border: 1px solid #D9DED9; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.post-card:hover { border-color: #1D4A3F; }
.card-thumb { aspect-ratio: 16 / 9; background: #DDE3DF; overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-thumb-empty { background: #1D4A3F; display: flex; align-items: flex-end; gap: 8px; padding: 24px; box-sizing: border-box; }
.card-thumb-empty span { display: block; width: 28px; border-radius: 5px; background: #3E6A5E; }
.card-thumb-empty span:nth-child(1) { height: 30%; } .card-thumb-empty span:nth-child(2) { height: 50%; }
.card-thumb-empty span:nth-child(3) { height: 70%; } .card-thumb-empty span:nth-child(4) { height: 90%; background: #E9A23B; }
.post-card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card-meta { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: #4E5D58; }
.post-card-cat { font-weight: 600; color: #1D4A3F; text-transform: uppercase; letter-spacing: 0.08em; }
.post-card h3 { margin: 0; font-family: 'Bricolage Grotesque', sans-serif; font-size: 23px; line-height: 1.2; font-weight: 700; }
.post-card p { margin: 0; color: #4E5D58; font-size: 16px; }
.post-card-date { margin-top: auto; padding-top: 8px; font-size: 14px; color: #4E5D58; }

/* Blog post pages */
.post-figure { margin: 8px 0; }
.post-figure img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid #D9DED9; }
.post-body { display: flex; flex-direction: column; gap: 22px; font-size: 19px; line-height: 1.7; }
.post-body p, .post-body ul, .post-body ol { margin: 0; }
.post-body ul, .post-body ol { padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }
.post-body h2 { margin: 16px 0 0; font-family: 'Bricolage Grotesque', sans-serif; font-size: 30px; line-height: 1.15; }
.post-body blockquote { margin: 8px 0; padding: 8px 0 8px 24px; border-left: 4px solid #E9A23B; font-family: 'Bricolage Grotesque', sans-serif; font-size: 26px; line-height: 1.3; font-weight: 500; }
.post-body blockquote p { margin: 0; }
.post-source { margin: 8px 0 0; padding: 18px 20px; background: #E3E9E5; border-radius: 14px; font-size: 16px; }
.post-share { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; padding-top: 20px; border-top: 1px solid #D9DED9; font-size: 16px; color: #4E5D58; }
.post-share a { font-weight: 600; }
@media (max-width: 720px) {
  .post-body { font-size: 17px; }
  .post-body h2 { font-size: 25px; }
  .post-body blockquote { font-size: 21px; }
}
