/* Consistent spacing for the public Retra Health collection. */
.health-layout {
  --health-card-space: 28px;
  --health-grid-gap: 24px;
}
.health-layout :is(.section,.share-section) { padding-block:64px; }
.health-layout .section.white + .section.white,
.health-layout .share-section.white + .share-section.white { padding-top:0; }
.health-layout .launch-flow { padding-block:28px; }
.health-layout :is(.grid,.script-grid,.tool-grid,.follow-grid,.post-grid,.share-treatment-grid,.share-grid,.share-steps,.share-flow,.share-diagrams,.announcement-pillars,.announcement-treatments) { gap:var(--health-grid-gap); }
.health-layout :is(.card,.script-card,.tool-card,.guide,.share-card,.share-treatment,.share-panel,.share-diagram,.share-point,.share-flow article,.share-steps li,.announcement-pillars article,.announcement-treatment) {
  padding:var(--health-card-space);
  min-width:0;
}
.health-layout :is(.card,.script-card,.tool-card,.guide,.share-card,.share-treatment,.share-panel,.share-diagram,.share-point,.share-flow article,.share-steps li,.announcement-pillars article,.announcement-treatment) > h3:first-child { margin-top:0; }
.health-layout :is(.card,.script-card,.tool-card,.guide,.share-card,.share-treatment,.share-panel,.share-diagram,.share-point,.share-flow article,.share-steps li,.announcement-pillars article,.announcement-treatment) h3 { line-height:1.3; margin-bottom:12px; }
.health-layout :is(.card,.script-card,.tool-card,.guide,.share-card,.share-treatment,.share-panel,.share-diagram,.share-point,.share-flow article,.share-steps li,.announcement-pillars article,.announcement-treatment) p { line-height:1.65; }
.health-layout .lead { margin-block:0 28px; }
.health-layout :is(.actions,.share-actions) { align-items:center; gap:12px 18px; }
.health-layout :is(p,blockquote,ul,ol,.share-note,.share-callout) + :is(.actions,.share-actions) { margin-top:24px; }
.health-layout .share-note + .text-link { display:inline-block; margin-top:20px; }
.health-layout :is(.btn,.copy-button) { max-width:100%; white-space:normal; min-height:44px; text-align:center; }
.health-layout :is(.grid,.tool-grid,.follow-grid,.share-treatment-grid,.share-steps,.share-flow,.share-diagrams) { margin-top:28px; }
.health-layout #get-started .card { display:flex; flex-direction:column; }
.health-layout #get-started .card > p { flex:1; margin-bottom:24px; }
.health-layout #get-started .card > :is(.text-link,.actions):last-child { margin-top:auto; }
.health-layout .deck-card { display:flex; flex-direction:column; align-items:flex-start; }
.health-layout .deck-card img { margin-bottom:20px; }
.health-layout .deck-card h3 { margin-top:16px; }
.health-layout .deck-card .text-link { margin-top:auto; }
.health-layout .tool-card h3 { margin-top:20px; }
.health-layout .tool-card p { margin-bottom:24px; }
.health-layout .tool-card .btn { margin-bottom:14px; }
.health-layout .script-card .message-text { margin:4px 0 24px; }
.health-layout .follow-grid .message-text { margin-bottom:24px; }
.health-layout .post-content { padding:var(--health-card-space); }
.health-layout .post-content p { margin-bottom:24px; }
.health-layout .post-actions { gap:12px 16px; }
.health-layout .post-actions .download-link { display:inline-flex; align-items:center; min-height:44px; }
.health-layout .filter-row { padding-bottom:20px; }
.health-layout .sort-wrap .actions { margin-top:22px; }
.health-layout .load-note:empty { display:none; }
.health-layout .share-diagram { display:flex; flex-direction:column; }
.health-layout .share-diagram > p { margin:0 0 24px; }
.health-layout .share-diagram > .share-callout { margin-top:auto; }
.health-layout .share-subtle { margin-top:24px; }
.health-layout .share-next { padding:40px; }
.health-layout .share-next h2 { margin:12px 0 18px; }
.health-layout .share-next > .message-text {
  margin:28px 0 0;
  padding:22px 24px;
  max-width:none;
  color:#fff;
  line-height:1.7;
  border:1px solid #6181ae;
  border-radius:12px;
  background:#ffffff0d;
}
.health-layout .share-next .btn { margin-top:24px; }
.health-layout .share-copy-status:empty { display:none; }
.health-layout .share-header nav { flex-wrap:wrap; gap:12px 24px; }
.health-layout .share-header nav a { white-space:normal; }
.health-layout .announcement-note { margin-top:28px; }
.health-layout :is(section[id],article[id]) { scroll-margin-top:110px; }
/* Download previews retain the complete source artwork. */
.health-layout .health-download-card { padding:0; overflow:hidden; display:flex; flex-direction:column; }
.health-download-card > a { display:block; background:#edf5fc; padding:20px; border-bottom:1px solid #d8e6f2; }
.health-download-card img { display:block; width:100%; height:310px; object-fit:contain; }
.health-download-copy { padding:28px; display:flex; flex-direction:column; flex:1; }
.health-download-copy h3 { margin-top:18px; }
.health-download-copy p { flex:1; margin-bottom:24px; }
.health-download-copy .actions { margin-top:auto; }
.health-download-copy .tag { align-self:flex-start; font-size:.75rem; }
.health-accelerator-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(240px,.75fr); gap:56px; align-items:center; }
.health-bonus-terms { padding-left:22px; margin:24px 0 28px; color:#485573; }
.health-bonus-terms li + li { margin-top:10px; }
.health-bonus-flyer { display:block; max-width:360px; margin-left:auto; border:1px solid #d5e4f1; border-radius:16px; overflow:hidden; box-shadow:0 12px 36px #12376b12; }
.health-bonus-flyer img { display:block; width:100%; height:auto; }
@media(max-width:1000px) {
  .health-layout { --health-card-space:24px; --health-grid-gap:20px; }
  .health-layout .health-download-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .health-layout .health-download-copy { padding:24px; }
}
@media(max-width:680px) {
  .health-layout { --health-card-space:24px; --health-grid-gap:20px; }
  .health-layout :is(.section,.share-section) { padding-block:44px; }
  .health-layout .launch-flow { padding-block:24px; }
  .health-layout :is(.grid.three,.share-treatment-grid,.health-care-steps,.health-download-grid) { grid-template-columns:minmax(0,1fr); }
  .health-layout .share-next { padding:28px 24px; }
  .health-layout .share-next > .message-text { padding:20px; margin-top:24px; }
  .health-layout :is(.share-actions,.actions) { gap:12px 16px; }
  .health-layout .health-download-card { max-width:520px; }
  .health-download-card img { height:300px; }
  .health-accelerator-grid { grid-template-columns:minmax(0,1fr); gap:28px; }
  .health-bonus-flyer { margin-left:0; }
  .health-layout .share-header nav { overflow:visible; }
}
